diff options
author | arseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640> | 2012-03-06 09:14:04 +0000 |
---|---|---|
committer | arseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640> | 2012-03-06 09:14:04 +0000 |
commit | 8b8cf7977c8fa9ff6b2cf09bb45f9636f1cafe00 (patch) | |
tree | cdecd6954499947624d3ad829f6d848f1bd380af /tests | |
parent | 7d57b320ade1ebaf6f564419c71bd4774128cded (diff) |
tests: Added Android to testing (STLport variant is only tested without exceptions because of library issues)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@848 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests')
-rw-r--r-- | tests/autotest-local.pl | 5 | ||||
-rw-r--r-- | tests/autotest-report.pl | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/tests/autotest-local.pl b/tests/autotest-local.pl index cf1fd64..03ab955 100644 --- a/tests/autotest-local.pl +++ b/tests/autotest-local.pl @@ -34,7 +34,7 @@ sub getcpucount undef; } -@alltoolsets = ($^O =~ /MSWin/) ? (bcc, cw, dmc, ic8, ic9, ic9_x64, ic10, ic10_x64, ic11, ic11_x64, mingw34, mingw44, mingw45, mingw45_0x, mingw46_x64, msvc6, msvc7, msvc71, msvc8, msvc8_x64, msvc9, msvc9_x64, msvc10, msvc10_x64, msvc10_clr, msvc10_clr_x64, xbox360, ps3_gcc, ps3_snc, msvc8_wince, bada, blackberry) : ($^O =~ /solaris/) ? (suncc, suncc_x64) : &gcctoolset(); +@alltoolsets = ($^O =~ /MSWin/) ? (bcc, cw, dmc, ic8, ic9, ic9_x64, ic10, ic10_x64, ic11, ic11_x64, mingw34, mingw44, mingw45, mingw45_0x, mingw46_x64, msvc6, msvc7, msvc71, msvc8, msvc8_x64, msvc9, msvc9_x64, msvc10, msvc10_x64, msvc10_clr, msvc10_clr_x64, xbox360, ps3_gcc, ps3_snc, msvc8_wince, bada, blackberry, android, android_stlport) : ($^O =~ /solaris/) ? (suncc, suncc_x64) : &gcctoolset(); $fast = scalar grep(/^fast$/, @ARGV); @toolsets = map { /^fast$/ ? () : ($_) } @ARGV; @@ -81,6 +81,9 @@ foreach $toolset (@toolsets) foreach $defineset (@definesets) { + # STLport lacks bad_alloc on Android so skip configurations without PUGIXML_NO_EXCEPTIONS + next if ($toolset eq 'android_stlport' && $defineset !~ /PUGIXML_NO_EXCEPTIONS/); + $cmdline .= ":$defineset" if ($defineset ne ''); # any configuration with prepare but without result is treated as failed diff --git a/tests/autotest-report.pl b/tests/autotest-report.pl index 2b054ee..42f39b8 100644 --- a/tests/autotest-report.pl +++ b/tests/autotest-report.pl @@ -34,6 +34,7 @@ sub prettytoolset return "Sony PlayStation3 GCC" if ($toolset =~ /^ps3_gcc/); return "Sony PlayStation3 SNC" if ($toolset =~ /^ps3_snc/); + return "Android NDK (GCC)" . ($1 eq '_stlport' ? " STLport" : "") if ($toolset =~ /^android(.*)$/); return "bada SDK (GCC)" if ($toolset =~ /^bada$/); return "BlackBerry NDK (GCC)" if ($toolset =~ /^blackberry$/); @@ -57,6 +58,7 @@ sub prettyplatform return "x360" if ($toolset =~ /^xbox360/); return "ps3" if ($toolset =~ /^ps3/); + return "arm" if ($toolset =~ /^android/); return "arm" if ($toolset =~ /^bada/); return "arm" if ($toolset =~ /^blackberry/); |