A number of test scripts use the '|| exit 1' idiom. This has two issues, first process exit codes are defined to be in the range 0-255. Second, more importantly, the idiom is fragile because it requires that every possible failure point be explicitly coded. This patch removes the idiom in favour of "set -e" as used in the docker scripts as a more robust mechanism to ensure that script failures are always caught and propagated by default.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
packages.mk | Loading commit data... | |
task_build.sh | Loading commit data... | |
task_clean.sh | Loading commit data... | |
task_cpp_unittest.sh | Loading commit data... | |
task_golang.sh | Loading commit data... | |
task_java_unittest.sh | Loading commit data... | |
task_lint.sh | Loading commit data... | |
task_python_docs.sh | Loading commit data... | |
task_python_frontend.sh | Loading commit data... | |
task_python_integration.sh | Loading commit data... | |
task_python_topi.sh | Loading commit data... | |
task_python_unittest.sh | Loading commit data... | |
task_python_vta.sh | Loading commit data... | |
task_rust.sh | Loading commit data... | |
task_verilog_test.sh | Loading commit data... | |
task_web_build.sh | Loading commit data... | |
task_web_test.sh | Loading commit data... |