summaryrefslogtreecommitdiffstats
path: root/test/Case.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-08-20 04:13:59 (GMT)
committerSteven Knight <knight@baldmt.com>2005-08-20 04:13:59 (GMT)
commit363f4dd969747edcc783584138a8daf018417a47 (patch)
tree27a3ab63f74f7693bb5954d60dae2cb0a09cb937 /test/Case.py
parentd8075b1a39a6d29bf2724e02a7b27dc35f794b70 (diff)
downloadSCons-363f4dd969747edcc783584138a8daf018417a47.zip
SCons-363f4dd969747edcc783584138a8daf018417a47.tar.gz
SCons-363f4dd969747edcc783584138a8daf018417a47.tar.bz2
Have Visual Studio echo that we're using SCons to build things, to work around a quoting issue. (Shannon Mann)
Diffstat (limited to 'test/Case.py')
-rw-r--r--test/Case.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/Case.py b/test/Case.py
index b6f2a93..dd782ab 100644
--- a/test/Case.py
+++ b/test/Case.py
@@ -64,18 +64,18 @@ void bar() {
""")
if sys.platform in ['cygwin', 'win32']:
- print "Using case-insensitive filesystem, testing for failure"
+ sys.stdout.write("Using case-insensitive filesystem, testing for failure\n")
+ sys.stdout.flush()
test.run(stderr = None, status = None)
test.fail_test(string.split(test.stderr(), '\n')[0] ==
"scons: *** Multiple ways to build the same target were specified for: foo.o")
- test.pass_test()
-
else:
- print "Not using case-insensitive filesystem, testing for success"
+ sys.stdout.write("Not using case-insensitive filesystem, testing for success\n")
+ sys.stdout.flush()
test.run()
test.run(program = test.workpath('main' + _exe), stdout = "foo\nbar\n")
- test.pass_test()
+test.pass_test()