summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
authorMax Graey <maxgraey@gmail.com>2020-05-26 19:55:30 +0300
committerGitHub <noreply@github.com>2020-05-26 09:55:30 -0700
commitd38d0b294ad22bcbc0874084a77b6d2e0fe25b7e (patch)
treeb104d5e50902b74619ef8b7832856e4ef74b5be9 /check.py
parentbb0ff51597f254ab199f8ad5b63de7a4bbca2c17 (diff)
downloadbinaryen-d38d0b294ad22bcbc0874084a77b6d2e0fe25b7e.tar.gz
binaryen-d38d0b294ad22bcbc0874084a77b6d2e0fe25b7e.tar.bz2
binaryen-d38d0b294ad22bcbc0874084a77b6d2e0fe25b7e.zip
Fix issues with cleanup dSYM in scripts for MacOS (#2871)
Remove rmtree call from check.py & auto_update_tests.py
Diffstat (limited to 'check.py')
-rwxr-xr-xcheck.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/check.py b/check.py
index b12d7c2ac..f7f85ea77 100755
--- a/check.py
+++ b/check.py
@@ -16,7 +16,6 @@
import glob
import os
-import shutil
import subprocess
import sys
import unittest
@@ -329,10 +328,6 @@ def run_gcc_tests():
print('run...', output_file)
actual = subprocess.check_output([os.path.abspath(output_file)]).decode('utf-8')
os.remove(output_file)
- if sys.platform == 'darwin' and os.path.exists(output_file + '.dSYM'):
- # Also removes debug directory produced on Mac OS
- shutil.rmtree(output_file + '.dSYM')
-
shared.fail_if_not_identical_to_file(actual, expected)