summaryrefslogtreecommitdiff
path: root/devel/c-unit/files/patch-c-unit-Sources-Automated-Automated.c
blob: bac82171db8c11a1549d9352cfabe4f16f4746b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- CUnit/Sources/Automated/Automated.c.orig	2009-06-11 03:50:52.000000000 +0900
+++ CUnit/Sources/Automated/Automated.c	2012-04-14 02:08:39.000000000 +0900
@@ -227,13 +227,13 @@
     if (bJUnitXmlOutput == CU_TRUE) {
         fprintf(f_pTestResultFile,
             "<?xml version=\"1.0\" ?> \n"
-            "<?xml-stylesheet type=\"text/xsl\" href=\"CUnit-Run.xsl\" ?> \n"
+            "<?xml-stylesheet type=\"text/xsl\" href=\"/usr/local/share/CUnit/CUnit-Run.xsl\" ?> \n"
             "  <cunit_testsuites> \n");
     } else {
         fprintf(f_pTestResultFile,
             "<?xml version=\"1.0\" ?> \n"
-            "<?xml-stylesheet type=\"text/xsl\" href=\"CUnit-Run.xsl\" ?> \n"
-            "<!DOCTYPE CUNIT_TEST_RUN_REPORT SYSTEM \"CUnit-Run.dtd\"> \n"
+            "<?xml-stylesheet type=\"text/xsl\" href=\"/usr/local/share/CUnit/CUnit-Run.xsl\" ?> \n"
+            "<!DOCTYPE CUNIT_TEST_RUN_REPORT SYSTEM \"/usr/local/share/CUnit/CUnit-Run.dtd\"> \n"
             "<CUNIT_TEST_RUN_REPORT> \n"
             "  <CUNIT_HEADER/> \n");
     }
@@ -616,8 +616,8 @@
         
         fprintf(pTestListFile,
             "<?xml version=\"1.0\" ?> \n"
-            "<?xml-stylesheet type=\"text/xsl\" href=\"CUnit-List.xsl\" ?> \n"
-            "<!DOCTYPE CUNIT_TEST_LIST_REPORT SYSTEM \"CUnit-List.dtd\"> \n"
+            "<?xml-stylesheet type=\"text/xsl\" href=\"/usr/local/share/CUnit/CUnit-List.xsl\" ?> \n"
+            "<!DOCTYPE CUNIT_TEST_LIST_REPORT SYSTEM \"/usr/local/share/CUnit/CUnit-List.dtd\"> \n"
             "<CUNIT_TEST_LIST_REPORT> \n"
             "  <CUNIT_HEADER/> \n"
             "  <CUNIT_LIST_TOTAL_SUMMARY> \n");