mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-09-03 16:29:25 +02:00
ivtest: vvp_reg.pl sets exit status
If there are any failures, return a non-zero exit status so that invoking scripts can detect that failures happen. This eliminates the need to use regression report reference outputs, and should make it easier to merge PRs that add or impact tests.
This commit is contained in:
@@ -11,10 +11,8 @@ status=0
|
||||
if [ "$OS" = 'Windows_NT' ]; then
|
||||
perl update_msys2_report.pl $version
|
||||
perl vvp_reg.pl || status=1
|
||||
diff --strip-trailing-cr regression_report-msys2-$version.txt regression_report.txt || status=1
|
||||
else
|
||||
perl vvp_reg.pl || status=1
|
||||
diff regression_report-$version.txt regression_report.txt || status=1
|
||||
fi
|
||||
|
||||
perl vpi_reg.pl || status=1
|
||||
|
||||
Reference in New Issue
Block a user