summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-05-06 05:58:31 (GMT)
committerSteven Knight <knight@baldmt.com>2003-05-06 05:58:31 (GMT)
commitaaf2cbb74e00fdc89da432d18e9fe40bb7de3b9d (patch)
treec399116a6a33ae9ad69d04dd43c2f272737c2074 /test
parente591784eb29edfaf2760024f57ee1462f1bae1f3 (diff)
downloadSCons-aaf2cbb74e00fdc89da432d18e9fe40bb7de3b9d.zip
SCons-aaf2cbb74e00fdc89da432d18e9fe40bb7de3b9d.tar.gz
SCons-aaf2cbb74e00fdc89da432d18e9fe40bb7de3b9d.tar.bz2
Refactor to use real Nodes for command-line attributes and eliminate PathList. (Charles Crain)
Diffstat (limited to 'test')
-rw-r--r--test/CacheDir.py2
-rw-r--r--test/scan-once.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/CacheDir.py b/test/CacheDir.py
index 24c7e60..de78e7a 100644
--- a/test/CacheDir.py
+++ b/test/CacheDir.py
@@ -239,7 +239,7 @@ CacheDir(r'%s')
def docopy(target,source,env):
data = source[0].get_contents()
- f = open(target[0].rfile().abspath, "wb")
+ f = open(target[0].rfile().get_abspath(), "wb")
f.write(data)
f.close()
diff --git a/test/scan-once.py b/test/scan-once.py
index ba147cf..f629db6 100644
--- a/test/scan-once.py
+++ b/test/scan-once.py
@@ -332,7 +332,7 @@ Mylib.ExportLib(env, lib_fullname)
#cmd_justlib = "cd %s ; make" % Dir(".")
cmd_generated = "%s $SOURCE" % (sys.executable,)
-cmd_justlib = "%s %s -C ${SOURCE[0].dir}" % (sys.executable, sys.argv[0])
+cmd_justlib = "%s %s -C ${SOURCES[0].dir}" % (sys.executable, sys.argv[0])
##### Deps appear correct ... but wacky scanning?
# Why?