Win32 portability in Repository tests.
authorstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 25 Jul 2002 01:54:05 +0000 (01:54 +0000)
committerstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 25 Jul 2002 01:54:05 +0000 (01:54 +0000)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@421 fdb21ef1-2011-0410-befe-b5e4ea1792b1

test/Repository/Program.py
test/Repository/include.py

index 854ede288d81250a876de7754b442dc6c1e9e55f..c3eff535a9cfac9745f1767224ff24177b18693c 100644 (file)
@@ -42,7 +42,7 @@ work_foo = test.workpath('work', 'foo' + _exe)
 work_foo_c = test.workpath('work', 'foo.c')
 
 test.write(['work', 'SConstruct'], r"""
-Repository('%s')
+Repository(r'%s')
 env = Environment()
 env.Program(target= 'foo', source = Split('aaa.c bbb.c foo.c'))
 """ % repository)
index 1538e1ac9390b7f52a72ac151afbf5842d9e64b5..28bc7cee16ec66e43b786197187fa3b387196683 100644 (file)
@@ -41,7 +41,7 @@ work_foo = test.workpath('work', 'foo' + _exe)
 work_foo_h = test.workpath('work', 'foo.h')
 
 test.write(['work', 'SConstruct'], """
-Repository('%s')
+Repository(r'%s')
 env = Environment(CPPPATH = ['.'])
 env.Program(target = 'foo', source = 'foo.c')
 """ % repository)