Add benchmark awareness to pipeline.

This commit is contained in:
2025-02-17 13:29:19 +01:00
parent 6185599b70
commit 7cce64c10f
2 changed files with 71 additions and 18 deletions

15
verify_rvb.awk Normal file
View File

@@ -0,0 +1,15 @@
BEGIN {
bench_success_flag = 0
}
/^BENCHMARK-SUCESS-STATE/ { bench_success_flag = 1; system("pkill -f -SIGTERM qemu-system-riscv64")}
{print $0}
END {
printf "Benchmark execution has finished.\n";
if (bench_success_flag)
exit 0;
else
exit 1;
}