equal
deleted
inserted
replaced
32 //char* xmlfile = "helloworld"; |
32 //char* xmlfile = "helloworld"; |
33 |
33 |
34 |
34 |
35 void create_xml(int result) |
35 void create_xml(int result) |
36 { |
36 { |
37 |
|
38 if(result) |
37 if(result) |
39 { |
|
40 assert_failed = 1; |
38 assert_failed = 1; |
41 } |
39 |
42 |
|
43 testResultXml(xmlfile); |
40 testResultXml(xmlfile); |
44 close_log_file(); |
41 close_log_file(); |
45 |
|
46 if(result) |
|
47 { |
|
48 exit (-1); |
|
49 } |
|
50 |
|
51 } |
42 } |
52 |
43 |
53 /* |
44 /* |
54 * Global objects are usually a bad thing. For the purpose of this |
45 * Global objects are usually a bad thing. For the purpose of this |
55 * example, we will use them, however. |
46 * example, we will use them, however. |