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)
commit885a845f447a2ab52a6f9ca8c112aa978701a5ad (patch)
tree77acfc03c7fb062b25c4b64a49453dd0be8abf5e /runtest.py
parentc002befd739ff1f043654c4c503e018a4ede0b60 (diff)
downloadSCons-885a845f447a2ab52a6f9ca8c112aa978701a5ad.zip
SCons-885a845f447a2ab52a6f9ca8c112aa978701a5ad.tar.gz
SCons-885a845f447a2ab52a6f9ca8c112aa978701a5ad.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):