summaryrefslogtreecommitdiff
path: root/test/SConstruct.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2001-09-21 02:20:19 +0000
committerSteven Knight <knight@baldmt.com>2001-09-21 02:20:19 +0000
commit635256859678b6b862b89d4c5ce890b4923e8394 (patch)
tree401e130d6aefcd0ec0390497fe1bc8d58dd02b37 /test/SConstruct.py
parentc8bbea81460524f6469fa4b6afc2be5a6f338edc (diff)
downloadscons-635256859678b6b862b89d4c5ce890b4923e8394.tar.gz
Error message if no SConstruct file.
Diffstat (limited to 'test/SConstruct.py')
-rw-r--r--test/SConstruct.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/SConstruct.py b/test/SConstruct.py
index 34710a32..8837b62d 100644
--- a/test/SConstruct.py
+++ b/test/SConstruct.py
@@ -6,6 +6,12 @@ import TestSCons
test = TestSCons.TestSCons()
+test.run(stdout = "",
+ stderr = """
+SCons error: No SConstruct file found.
+File "\S+scons(\.py)?", line \d+, in main
+""")
+
wpath = test.workpath()
test.write('sconstruct', """