summaryrefslogtreecommitdiffstats
path: root/test/SConstruct.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2001-09-21 02:20:19 (GMT)
committerSteven Knight <knight@baldmt.com>2001-09-21 02:20:19 (GMT)
commit635256859678b6b862b89d4c5ce890b4923e8394 (patch)
tree401e130d6aefcd0ec0390497fe1bc8d58dd02b37 /test/SConstruct.py
parentc8bbea81460524f6469fa4b6afc2be5a6f338edc (diff)
downloadSCons-635256859678b6b862b89d4c5ce890b4923e8394.zip
SCons-635256859678b6b862b89d4c5ce890b4923e8394.tar.gz
SCons-635256859678b6b862b89d4c5ce890b4923e8394.tar.bz2
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 34710a3..8837b62 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', """