summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/autotest-local.pl7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/autotest-local.pl b/tests/autotest-local.pl
index c655403..ebe785d 100644
--- a/tests/autotest-local.pl
+++ b/tests/autotest-local.pl
@@ -15,8 +15,13 @@ sub permute
@result;
}
+sub gcctoolset
+{
+ return 'gcc' . `gcc -dumpversion`;
+}
+
$fast = (shift eq 'fast');
-@toolsets = ($^O =~ /win/i) ? (bcc, cw, dmc, ic8, mingw34, mingw44, mingw45, msvc6, msvc7, msvc71, msvc8, msvc8_x64, msvc9, msvc9_x64, msvc10, msvc10_x64) : (gcc);
+@toolsets = ($^O =~ /win/i) ? (bcc, cw, dmc, ic8, mingw34, mingw44, mingw45, msvc6, msvc7, msvc71, msvc8, msvc8_x64, msvc9, msvc9_x64, msvc10, msvc10_x64) : (&gcctoolset());
@configurations = (debug, release);
@defines = (PUGIXML_NO_XPATH, PUGIXML_NO_EXCEPTIONS, PUGIXML_NO_STL, PUGIXML_WCHAR_MODE);