Skip to content

Commit

Permalink
Minor non-code mod.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidSagan committed Aug 8, 2024
1 parent dc762ca commit 6f59e11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
1 change: 1 addition & 0 deletions regression_tests/python_test
9 changes: 2 additions & 7 deletions regression_tests/scripts/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import sys
import time
import math
from shutil import which

num_tests = 0
num_failures = 0
Expand Down Expand Up @@ -146,12 +145,8 @@ def print_help():

# run.py
if os.path.exists('run.py'):
if which('python3'):
print_all (' Found run.py. Running this script with python3.')
os.system('python3 run.py ' + bin_dir)
else:
print_all (' Found run.py. Running this script with python(2.#).')
os.system('python run.py ' + bin_dir)
print_all (' Found run.py. Running this script with python3.')
os.system('python3 run.py ' + bin_dir)

else:
program = bin_dir + program
Expand Down

0 comments on commit 6f59e11

Please sign in to comment.