From eaac540dd208601921ed2ca33448003a697ff557 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine@gmail.com" Date: Tue, 6 Mar 2012 06:37:54 +0000 Subject: tests: Added BadaSDK to tests, changed report coloring to mark cells that compiled successfully but skipped execution git-svn-id: http://pugixml.googlecode.com/svn/trunk@841 99668b35-9821-0410-8761-19e4c4f06640 --- tests/autotest-report.pl | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'tests/autotest-report.pl') diff --git a/tests/autotest-report.pl b/tests/autotest-report.pl index 4b4bd8a..360fa84 100644 --- a/tests/autotest-report.pl +++ b/tests/autotest-report.pl @@ -34,6 +34,8 @@ sub prettytoolset return "Sony PlayStation3 GCC" if ($toolset =~ /^ps3_gcc/); return "Sony PlayStation3 SNC" if ($toolset =~ /^ps3_snc/); + return "BadaSDK (GCC)" if ($toolset =~ /^bada$/); + $toolset; } @@ -54,6 +56,8 @@ sub prettyplatform return "x360" if ($toolset =~ /^xbox360/); return "ps3" if ($toolset =~ /^ps3/); + return "arm" if ($toolset =~ /^bada/); + return "win64" if ($platform =~ /MSWin32-x64/); return "win32" if ($platform =~ /MSWin32/); @@ -93,11 +97,15 @@ while (<>) if ($info =~ /^prepare/) { - $results{$fulltool}{$fullconf}{result} = 1; + $results{$fulltool}{$fullconf}{result} = ""; } elsif ($info =~ /^success/) { - $results{$fulltool}{$fullconf}{result} = 0; + $results{$fulltool}{$fullconf}{result} = "success"; + } + elsif ($info =~ /^skiprun/) + { + $results{$fulltool}{$fullconf}{result} = "skiprun"; } elsif ($info =~ /^coverage (\S+)/) { @@ -178,7 +186,7 @@ foreach $tool (@toolsetarray) { print " "; } - elsif ($$info{result} == 0) + elsif ($$info{result} eq "success") { my $coverage = $$info{coverage}; @@ -191,6 +199,10 @@ foreach $tool (@toolsetarray) print ""; } + elsif ($$info{result} eq "skiprun") + { + print "pass" + } else { print "fail" -- cgit v1.2.3