add: tester: valgrind test

This commit is contained in:
2025-12-17 06:56:48 -06:00
parent f45128e380
commit cefd7e7c1f
5 changed files with 36 additions and 10 deletions

View File

@@ -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()