From 16932dd9e964fed3f9af91c82bef414454432dee Mon Sep 17 00:00:00 2001 From: Naman Gera Date: Sun, 20 Mar 2022 01:58:44 +0530 Subject: [PATCH] Update run_tests.py --- run_tests.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/run_tests.py b/run_tests.py index 5030514a06..79e44f46ab 100755 --- a/run_tests.py +++ b/run_tests.py @@ -1,17 +1,14 @@ #!/usr/bin/env python import argparse -import hashlib import os -import subprocess import toml -from compiler_tester.tester import (RunException, run, run_test, color, - style, print_check, fg) +from compiler_tester.tester import run_test, color, style, fg def main(): - parser = argparse.ArgumentParser(description="LFortran Test Suite") + parser = argparse.ArgumentParser(description="LPython Test Suite") parser.add_argument("-u", "--update", action="store_true", help="update all reference results") parser.add_argument("-l", "--list", action="store_true", @@ -29,7 +26,7 @@ def main(): verbose = args.verbose no_llvm = args.no_llvm - # So that the tests find the `lfortran` executable + # So that the tests find the `lpython` executable os.environ["PATH"] = os.path.join(os.getcwd(), "src", "bin") \ + os.pathsep + os.environ["PATH"]