aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-11-09 11:59:40 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-11-09 11:59:40 -0800
commit4a6f0f850e66d6f7141fffaaac16eabf62b1baf7 (patch)
treeab9763b75c6492b8c3ab24a5e5ea416c93f9fbb0
parent9682ed71fa4141da25ae14d3c4c51ceb311dc56d (diff)
adjust clear() to work with other.test_emcc even in EMCC_DEBUG=1 EM_SAVE_DIR=1 mode; fixes #684
-rwxr-xr-xtests/runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 3efb55b3..8e92e0f3 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -332,7 +332,7 @@ process(sys.argv[1])
for name in os.listdir(self.get_dir()):
try_delete(os.path.join(self.get_dir(), name) if not in_curr else name)
emcc_debug = os.environ.get('EMCC_DEBUG')
- if emcc_debug:
+ if emcc_debug and not in_curr:
for name in os.listdir(EMSCRIPTEN_TEMP_DIR):
try_delete(os.path.join(EMSCRIPTEN_TEMP_DIR, name))