summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-02-21 17:31:10 (GMT)
committerSteven Knight <knight@baldmt.com>2002-02-21 17:31:10 (GMT)
commit53bf767e4ba2810d5880d319cc9ac2bf4d4f2590 (patch)
tree0d401d4e0051d89b89aab01071a9bd6590ec1362 /test
parent8a409f003098ddf55e86fdfc197c437a144558f5 (diff)
downloadSCons-53bf767e4ba2810d5880d319cc9ac2bf4d4f2590.zip
SCons-53bf767e4ba2810d5880d319cc9ac2bf4d4f2590.tar.gz
SCons-53bf767e4ba2810d5880d319cc9ac2bf4d4f2590.tar.bz2
Fix the --debug=pdb option on Windows.
Diffstat (limited to 'test')
-rw-r--r--test/option--debug.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/option--debug.py b/test/option--debug.py
index 304b8bd..35a3f06 100644
--- a/test/option--debug.py
+++ b/test/option--debug.py
@@ -85,10 +85,14 @@ tree = """
+-foo.h
""" % (foo, obj,obj)
-assert string.find(test.stdout(), tree) != -1
+test.fail_test(string.find(test.stdout(), tree) == -1)
test.run(arguments = "--debug=tree " + foo)
-assert string.find(test.stdout(), tree) != -1
+test.fail_test(string.find(test.stdout(), tree) == -1)
+
+test.run(arguments = "--debug=pdb", stdin = "n\ns\nq\n")
+test.fail_test(string.find(test.stdout(), "(Pdb)") == -1)
+test.fail_test(string.find(test.stdout(), "scons") == -1)
test.pass_test()