summaryrefslogtreecommitdiff
path: root/test/lit/lit.cfg.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit/lit.cfg.py')
-rw-r--r--test/lit/lit.cfg.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lit/lit.cfg.py b/test/lit/lit.cfg.py
index 23b0c3de6..ac89a5991 100644
--- a/test/lit/lit.cfg.py
+++ b/test/lit/lit.cfg.py
@@ -10,6 +10,8 @@ config.test_exec_root = os.path.join(config.binaryen_build_root, 'test')
# Replace all Binaryen tools with their absolute paths
bin_dir = os.path.join(config.binaryen_build_root, 'bin')
+assert(os.path.isdir(bin_dir))
+
for tool_file in os.listdir(bin_dir):
tool_path = config.binaryen_build_root + '/bin/' + tool_file
tool = tool_file[:-4] if tool_file.endswith('.exe') else tool_file