Update of /cvsroot/boost/boost/tools/regression/xsl_reports/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv11502
Modified Files:
Tag: RC_1_34_0
generate_test_results.py
Log Message:
Add missing test types + test for it (thanks to Juergen Hunold)
Index: generate_test_results.py
===================================================================
RCS file:
/cvsroot/boost/boost/tools/regression/xsl_reports/test/generate_test_results.py,v
retrieving revision 1.7
retrieving revision 1.7.4.1
diff -u -d -r1.7 -r1.7.4.1
--- generate_test_results.py 9 May 2005 01:36:11 -0000 1.7
+++ generate_test_results.py 17 Nov 2006 21:21:38 -0000 1.7.4.1
@@ -41,6 +41,11 @@
else: return "full"
+def test_type( i ):
+ types = [ "compile", "compile_fail", "link", "link_fail", "run",
"run_fail", "run_pyd" ]
+ return types[ i % len( types) ]
+
+
def make_test_results():
if not os.path.exists( results_directory ):
os.makedirs( results_directory )
@@ -95,14 +100,13 @@
for i_test in range( num_of_tests ):
test_name = "test_%02d_%02d" % ( i_lib, i_test )
test_result = ""
- test_type = "run"
show_run_output = "false"
if num_of_runners - 1 == i_runner and i_test % 2:
continue
if i_runner % 2: test_result = "success"
- else: test_result = "fail"
+ else: test_result = "fail"
if i_runner == 1 and i_toolset == 2 and i_test % 6 == 0:
test_result = "fail"
@@ -120,7 +124,7 @@
, library_idx = i_lib
, toolset_idx = i_toolset
, test_name = test_name
- , test_type = test_type
+ , test_type = test_type( i_test )
, test_result = test_result
, show_run_output =
show_run_output
, variant = variant )
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs