summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xauto_update_tests.py4
-rwxr-xr-xcheck.py5
2 files changed, 0 insertions, 9 deletions
diff --git a/auto_update_tests.py b/auto_update_tests.py
index 5cfff9c0e..2f8138749 100755
--- a/auto_update_tests.py
+++ b/auto_update_tests.py
@@ -15,7 +15,6 @@
# limitations under the License.
import os
-import shutil
import subprocess
import sys
from collections import OrderedDict
@@ -150,9 +149,6 @@ def update_example_tests():
o.write(actual)
finally:
os.remove(output_file)
- if sys.platform == 'darwin':
- # Also removes debug directory produced on Mac OS
- shutil.rmtree(output_file + '.dSYM')
def update_wasm_dis_tests():
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)