From d38d0b294ad22bcbc0874084a77b6d2e0fe25b7e Mon Sep 17 00:00:00 2001 From: Max Graey Date: Tue, 26 May 2020 19:55:30 +0300 Subject: Fix issues with cleanup dSYM in scripts for MacOS (#2871) Remove rmtree call from check.py & auto_update_tests.py --- check.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'check.py') 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) -- cgit v1.2.3