add: tester: valgrind test
This commit is contained in:
@@ -9,6 +9,7 @@ import parsing
|
||||
import execution
|
||||
|
||||
excutable: str = sys.argv[1]
|
||||
valgrind: bool = bool(sys.argv[2])
|
||||
|
||||
with open('test/tests.json', 'r') as file:
|
||||
tests: dict[str, dict] = json.load(file)
|
||||
@@ -19,5 +20,5 @@ shutil.rmtree("log")
|
||||
|
||||
for category_name, tests in tests.items():
|
||||
print(category_name, end="\n" * 2)
|
||||
tester[category_name](excutable, tests, f"log/{category_name}")
|
||||
tester[category_name](valgrind, excutable, tests, f"log/{category_name}")
|
||||
thread_manager.wait_pool()
|
||||
Reference in New Issue
Block a user