Test new tester script.

This commit is contained in:
Christoffer Lerno
2025-02-19 02:23:51 +01:00
committed by Christoffer Lerno
parent d9e5926d57
commit d6485ca08b
5 changed files with 113 additions and 70 deletions

View File

@@ -61,7 +61,7 @@ in llvmPackages.stdenv.mkDerivation (finalAttrs: {
checkPhase = ''
runHook preCheck
( cd ../resources/testproject; ../../build/c3c build --trust=full )
( cd ../test; python src/tester.py ../build/c3c test_suite )
( cd ../test; ../build/c3c compile-run -O1 src/test_suite_runner.c3 --enable-new-generics -- ../build/c3c test_suite )
runHook postCheck
'';