summaryrefslogtreecommitdiffstats
path: root/runtest.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-10-03 23:08:24 (GMT)
committerSteven Knight <knight@baldmt.com>2005-10-03 23:08:24 (GMT)
commit357bb311e8ebe13ae5ec43e6fb2cb91aa16b8a15 (patch)
tree77acfc03c7fb062b25c4b64a49453dd0be8abf5e /runtest.py
parent1529ef17c861d83e5643e53640fd7971cf7456ef (diff)
downloadSCons-357bb311e8ebe13ae5ec43e6fb2cb91aa16b8a15.zip
SCons-357bb311e8ebe13ae5ec43e6fb2cb91aa16b8a15.tar.gz
SCons-357bb311e8ebe13ae5ec43e6fb2cb91aa16b8a15.tar.bz2
Add a self-contained test for not rebuilding generated header files. (Patrick Mezard) Fix a runtest.py issue.
Diffstat (limited to 'runtest.py')
-rw-r--r--runtest.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtest.py b/runtest.py
index b409ce5..be94a35 100644
--- a/runtest.py
+++ b/runtest.py
@@ -478,7 +478,10 @@ if old_pythonpath:
os.pathsep + \
old_pythonpath
-os.chdir(scons_script_dir)
+try:
+ os.chdir(scons_script_dir)
+except OSError:
+ pass
class Unbuffered:
def __init__(self, file):