summaryrefslogtreecommitdiff
path: root/tests/autotest-report.pl
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-07-15 09:29:32 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-07-15 09:29:32 +0000
commit2dec6dd505897498b8ea50043190961159f0b407 (patch)
tree67e1b443b22b4f32727f8fa928ae9f0d7bd32890 /tests/autotest-report.pl
parentfc88f09ac1259a31f6da930ed9b885c0c83c38d1 (diff)
tests: Added Xbox360 and PS3 toolset support
git-svn-id: http://pugixml.googlecode.com/svn/trunk@602 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/autotest-report.pl')
-rw-r--r--tests/autotest-report.pl11
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/autotest-report.pl b/tests/autotest-report.pl
index 3a70b15..a01a907 100644
--- a/tests/autotest-report.pl
+++ b/tests/autotest-report.pl
@@ -27,12 +27,16 @@ sub prettytoolset
return "Microsoft Visual C++ $1.0" . prettysuffix($2) if ($toolset =~ /^msvc(\d+)(.*)$/);
return "GNU C++ Compiler $1" . prettysuffix($2) if ($toolset =~ /^gcc([\d.]*)(.*)$/);
+ return "Microsoft Xbox360 Compiler" if ($toolset =~ /^xbox360/);
+ return "Sony PlayStation3 GCC" if ($toolset =~ /^ps3_gcc/);
+ return "Sony PlayStation3 SNC" if ($toolset =~ /^ps3_snc/);
+
$toolset;
}
sub prettyplatform
{
- my $platform = shift;
+ my ($platform, $toolset) = @_;
return "solaris" if ($platform =~ /solaris/);
@@ -44,6 +48,9 @@ sub prettyplatform
return "fbsd64" if ($platform =~ /64-freebsd/);
return "fbsd32" if ($platform =~ /86-freebsd/);
+ return "x360" if ($toolset =~ /^xbox360/);
+ return "ps3" if ($toolset =~ /^ps3/);
+
return "win64" if ($platform =~ /MSWin32-x64/);
return "win32" if ($platform =~ /MSWin32/);
@@ -70,7 +77,7 @@ while (<>)
{
my ($platform, $toolset, $configuration, $defineset, $info) = ($1, $2, $3, $4, $5);
- my $fulltool = &prettyplatform($platform) . ' ' . &prettytoolset($toolset);
+ my $fulltool = &prettyplatform($platform, $toolset) . ' ' . &prettytoolset($toolset);
my $fullconf = "$configuration $defineset";
if ($info =~ /^prepare/)