summaryrefslogtreecommitdiffstats
path: root/test/LIBSUFFIXES.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/LIBSUFFIXES.py')
-rw-r--r--test/LIBSUFFIXES.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/LIBSUFFIXES.py b/test/LIBSUFFIXES.py
index 4e0073e..e61096a 100644
--- a/test/LIBSUFFIXES.py
+++ b/test/LIBSUFFIXES.py
@@ -33,7 +33,7 @@ if sys.platform == 'win32':
else:
lib_ = 'lib'
-test = TestSCons.TestSCons(match=TestSCons.match_re_dotall)
+test = TestSCons.TestSCons()
test.write('SConstruct', """
env = Environment(LIBSUFFIX = '.xxx',
@@ -62,7 +62,9 @@ main(int argc, char *argv[])
}
""")
-test.run(arguments = '.', stderr=TestSCons.noisy_ar)
+test.run(arguments = '.',
+ stderr=TestSCons.noisy_ar,
+ match=TestSCons.match_re_dotall)
test.fail_test(not os.path.exists(test.workpath(lib_ + 'foo.xxx')))