Просмотр исходного кода

More is_test_log_complete test cases

[SVN r36826]
Misha Bergal 19 лет назад
Родитель
Сommit
0adad38d55

+ 1 - 0
tools/regression/xsl_reports/test/test-components/test.py

@@ -59,6 +59,7 @@ def write_file_lines( path, content ):
 def make_test_case( test_case ):
     def test_case_method( self ):
         for test_case_xml in test_case.xml_data_files():
+            print test_case_xml
             result_file_name = os.path.splitext( os.path.basename( test_case_xml ) )[0] + '.xml'
             ( result_file, expected_file ) = [ os.path.join( test_case.path(), x, result_file_name ) for x in ( 'actual', 'expected' ) ]
             print ( result_file, expected_file )

+ 15 - 0
tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/compile-fail.xml

@@ -0,0 +1,15 @@
+<tests>
+<test-log library="mpl" test-name="apply" test-type="compile" test-program="libs/mpl/test/apply.cpp" target-directory="boost/bin.v2/libs/mpl/test/apply.test/gcc-4.1.1_sunos_i86pc/debug/debug-symbols-off" toolset="gcc-4.1.1_sunos_i86pc" show-run-output="false">
+<compile result="fail" timestamp="2007-01-28 11:58:42 UTC">
+
+    "/openpkg/bin/g++"  -ftemplate-depth-128 -O0 -fno-inline -Wall -fPIC  -DBOOST_ALL_NO_LIB=1  -I".." -c -o "/home/cae/boost-regression/RC_1_34_0/results/boost/bin.v2/libs/mpl/test/apply.test/gcc-4.1.1_sunos_i86pc/debug/debug-symbols-off/apply.o" "../libs/mpl/test/apply.cpp"
+
+../boost/mpl/aux_/preprocessed/gcc/template_arity.hpp: In instantiation of 'boost::mpl::aux::template_arity&lt;T1&gt;':
+../libs/mpl/test/apply.cpp:63:   instantiated from here
+../boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:98: internal compiler error: Segmentation Fault
+Please submit a full bug report,
+with preprocessed source if appropriate.
+See &lt;URL:http://www.openpkg.org/&gt; for instructions.
+</compile>
+</test-log>
+</tests>

+ 4 - 0
tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/expected/misfire.xml

@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<tests>
+<result name="config_link_test" target-directory="status/config_link_test.test/borland-5.8.2/debug" result="false"/>
+</tests>

+ 1 - 1
tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/expected/test-case.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
 <tests>
-<result name="" target-directory="libs/config/test/link/borland-5.8.2/debug" result="false"/>
+<result name="" target-directory="libs/config/test/link/borland-5.8.2/debug" result="true"/>
 <result name="config_link_test" target-directory="status/config_link_test.test/borland-5.8.2/debug" result="true"/>
 </tests>

+ 16 - 0
tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/misfire.xml

@@ -0,0 +1,16 @@
+<tests>
+<test-log library="config" test-name="config_link_test" test-type="run" test-program="libs/config/test/link/main.cpp" target-directory="status/config_link_test.test/borland-5.8.2/debug" toolset="borland-5.8.2" show-run-output="false">
+<compile result="succeed" timestamp="xxx">
+"c:/progra~1/borland/bds/4.0/bin/bcc32.exe" -j5 -g255 -q -c -P -Ve -Vx -a8 -b- -v -Od -tWC -tWR -tWC -WM- -DBOOST_ALL_NO_LIB=1 -DBOOST_CONFIG_NO_LIB=1 -DBOOST_DYN_LINK=1 -I".." -I"c:/progra~1/borland/bds/4.0/include/" -o"C:\Users\Misha\Stuff\boost\RC_1_34_0\boost\tools\regression\test\test-cases\borland\actual\status\config_link_test.test\borland-5.8.2\debug\main.obj" "g:\boost\rc-1-34\boost\libs\config\test\link\main.cpp"
+
+g:\boost\rc-1-34\boost\libs\config\test\link\main.cpp:
+</compile>
+<link result="fail" timestamp="xxx">
+set "PATH=c:/progra~1/borland/bds/4.0/bin/;%PATH%"
+       "c:/progra~1/borland/bds/4.0/bin/bcc32.exe" -v -q -v -v -tWD -tWC -tWR -tWC -WM-  -L"c:/progra~1/borland/bds/4.0/lib" -e"C:\Users\Misha\Stuff\boost\RC_1_34_0\boost\tools\regression\test\test-cases\borland\actual\status\config_link_test.test\borland-5.8.2\debug\config_link_test.exe" @"C:\Users\Misha\Stuff\boost\RC_1_34_0\boost\tools\regression\test\test-cases\borland\actual\status\config_link_test.test\borland-5.8.2\debug\config_link_test.exe.rsp"
+
+</link>
+<run result="succeed" timestamp="xxx">
+</run>
+</test-log>
+</tests>

粤ICP备19079148号