summaryrefslogtreecommitdiffstats
path: root/runtest.py
diff options
context:
space:
mode:
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):