summaryrefslogtreecommitdiffstats
path: root/test/option--U.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-11-22 22:38:22 (GMT)
committerSteven Knight <knight@baldmt.com>2002-11-22 22:38:22 (GMT)
commitc7ac33dc426b2bab7636bbade3c6dbc726eb3a71 (patch)
tree40285c73822414ef23a23bb98a95756e2864cb5c /test/option--U.py
parent8afed5c0a1749053e08465a4c9cf8d05f8fe2340 (diff)
downloadSCons-c7ac33dc426b2bab7636bbade3c6dbc726eb3a71.zip
SCons-c7ac33dc426b2bab7636bbade3c6dbc726eb3a71.tar.gz
SCons-c7ac33dc426b2bab7636bbade3c6dbc726eb3a71.tar.bz2
Make Default(source) and -U fail gracefully. (Anthony Roach)
Diffstat (limited to 'test/option--U.py')
-rw-r--r--test/option--U.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/option--U.py b/test/option--U.py
index 23e82b1..4e8b408 100644
--- a/test/option--U.py
+++ b/test/option--U.py
@@ -143,5 +143,11 @@ Default('.')
test.run(chdir = 'sub4', arguments = '-U')
+test.write('SConstruct', """
+Default('no_a_target.in')
+""")
+
+# The following should result in an error, but because of bug 642327, it doesn't:
+test.run(arguments = '-U')
test.pass_test()