summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-01-01 18:02:19 (GMT)
committerSteven Knight <knight@baldmt.com>2003-01-01 18:02:19 (GMT)
commitd88f61db921461663b934595e38a15e2ca09c225 (patch)
treeea3f81da45529588e0d4a0a598a3e568ae20feaf /test
parent2875346f645fe24a249122069b1568fcff032643 (diff)
downloadSCons-d88f61db921461663b934595e38a15e2ca09c225.zip
SCons-d88f61db921461663b934595e38a15e2ca09c225.tar.gz
SCons-d88f61db921461663b934595e38a15e2ca09c225.tar.bz2
Don't duplicate source files in a BuildDir when the -n option is used.
Diffstat (limited to 'test')
-rw-r--r--test/option-n.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/option-n.py b/test/option-n.py
index ee21ae7..274c49b 100644
--- a/test/option-n.py
+++ b/test/option-n.py
@@ -135,12 +135,10 @@ test.write('f3.in', "f3.in again\n")
test.run(arguments = '-n install', stdout = expect)
test.fail_test(not os.path.exists(test.workpath('install', 'f3.in')))
-# This last test (duplicate BuildDir files not getting created when
-# -n is used) still fails, but it's going to take more time to
-# work out the details of the fix. And since it's not a bug that
-# destroys anything, we're going to leave it alone for now.
-#test.run(arguments = '-n build')
-#test.fail_test(os.path.exists(test.workpath('build', 'f4.in')))
+# Make sure duplicate source files in a BuildDir aren't created
+# when the -n option is used.
+test.run(arguments = '-n build')
+test.fail_test(os.path.exists(test.workpath('build', 'f4.in')))
test.pass_test()