diff options
author | Steven Knight <knight@baldmt.com> | 2002-07-14 17:57:51 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-07-14 17:57:51 (GMT) |
commit | 4a6f158a8f3589b43fcda1c5ca50b743661a87f2 (patch) | |
tree | d4f9aaf64bc29cf5c8cc2d9bc8f72716996b4fd7 /test/option--U.py | |
parent | 721c0b5439329cce1a68d44c0e58204a83d9d354 (diff) | |
download | SCons-4a6f158a8f3589b43fcda1c5ca50b743661a87f2.zip SCons-4a6f158a8f3589b43fcda1c5ca50b743661a87f2.tar.gz SCons-4a6f158a8f3589b43fcda1c5ca50b743661a87f2.tar.bz2 |
Still more Win32 portability.
Diffstat (limited to 'test/option--U.py')
-rw-r--r-- | test/option--U.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/option--U.py b/test/option--U.py index 1facab8..013b81f 100644 --- a/test/option--U.py +++ b/test/option--U.py @@ -71,7 +71,7 @@ test.write(['sub2', 'bar.in'], "sub2/bar.in\n") test.write(['sub3', 'baz.in'], "sub3/baz.in\n") test.write('xxx.in', "xxx.in\n") -test.write('SConscript', """assert GetLaunchDir() == '%s'"""%test.workpath('sub1')) +test.write('SConscript', """assert GetLaunchDir() == r'%s'"""%test.workpath('sub1')) test.run(arguments = '-U foo.out', chdir = 'sub1') test.fail_test(not os.path.exists(test.workpath('sub1', 'foo.out'))) @@ -83,7 +83,7 @@ test.fail_test(os.path.exists(test.workpath('sub2/xxx.out'))) test.unlink(['sub1', 'foo.out']) -test.write('SConscript', """assert GetLaunchDir() == '%s'"""%test.workpath('sub1')) +test.write('SConscript', """assert GetLaunchDir() == r'%s'"""%test.workpath('sub1')) test.run(arguments = '-U', chdir = 'sub1') test.fail_test(os.path.exists(test.workpath('sub1', 'foo.out'))) test.fail_test(os.path.exists(test.workpath('sub2', 'bar.out'))) @@ -92,7 +92,7 @@ test.fail_test(os.path.exists(test.workpath('sub3', 'baz.out'))) test.fail_test(os.path.exists(test.workpath('bar.out'))) test.fail_test(os.path.exists(test.workpath('sub2/xxx.out'))) -test.write('SConscript', """assert GetLaunchDir() == '%s'"""%test.workpath('sub2')) +test.write('SConscript', """assert GetLaunchDir() == r'%s'"""%test.workpath('sub2')) test.run(chdir = 'sub2', arguments = '-U') test.fail_test(os.path.exists(test.workpath('sub1', 'foo.out'))) test.fail_test(not os.path.exists(test.workpath('sub2', 'bar.out'))) @@ -105,7 +105,7 @@ test.unlink(['sub2', 'bar.out']) test.unlink(['sub2b', 'bar.out']) test.unlink('bar.out') -test.write('SConscript', """assert GetLaunchDir() == '%s'"""%test.workpath()) +test.write('SConscript', """assert GetLaunchDir() == r'%s'"""%test.workpath()) test.run(arguments='-U') test.fail_test(not os.path.exists(test.workpath('sub1', 'foo.out'))) test.fail_test(os.path.exists(test.workpath('sub2', 'bar.out'))) @@ -118,7 +118,7 @@ test.unlink(['sub1', 'foo.out']) test.unlink(['sub3', 'baz.out']) test.unlink(['sub2', 'xxx.out']) -test.write('SConscript', """assert GetLaunchDir() == '%s'"""%test.workpath('sub3')) +test.write('SConscript', """assert GetLaunchDir() == r'%s'"""%test.workpath('sub3')) test.run(chdir = 'sub3', arguments='-U bar') test.fail_test(os.path.exists(test.workpath('sub1', 'foo.out'))) test.fail_test(not os.path.exists(test.workpath('sub2', 'bar.out'))) |