~alexei-kornienko/subunit/bug-1271133

« back to all changes in this revision

Viewing changes to c/tests/test_child.c

  • Committer: Robert Collins
  • Date: 2009-05-08 03:53:52 UTC
  • mto: This revision was merged to the branch mainline in revision 65.
  • Revision ID: robertc@robertcollins.net-20090508035352-losuzki136kexhnj
Switch to autoconf.

Show diffs side-by-side

added added

removed removed

Lines of Context:
138
138
}
139
139
 
140
140
 
141
 
START_TEST (error)
 
141
START_TEST (test_error)
142
142
{
143
 
    test_stdout_function("failure: test case [\n"
 
143
    test_stdout_function("error: test case [\n"
144
144
                         "Multiple lines\n"
145
145
                         " of output\n"
146
146
                         "]\n",
148
148
}
149
149
END_TEST
150
150
 
151
 
 
152
 
 
153
 
Suite *
 
151
static Suite *
154
152
child_suite(void)
155
153
{
156
154
    Suite *s = suite_create("subunit_child");
159
157
    tcase_add_test (tc_core, test_start);
160
158
    tcase_add_test (tc_core, test_pass);
161
159
    tcase_add_test (tc_core, test_fail);
 
160
    tcase_add_test (tc_core, test_error);
162
161
    return s;
163
162
}
164
163