You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
In order to determine if all the tests have passed, one must read through the entire log output and check the individual test suites. The script should clearly indicate at the end whether all tests passed, and return an appropriate exit status for use by our CI system
Some of the shell commands used to check system state can cause the tests to end abruptly due to the use of set -e in config.sh. All failures should be reported through the unit test assert mechanism.
The text was updated successfully, but these errors were encountered:
There are two issues with the way we're using lehmannro/assert.sh:
end_suite calls assert_end via whiteley; this uses a sub-shell to capture output, so the overall status var set by assert_end is not visible to the outer script
Individual test scripts re-source config.sh, which re-sources assert.sh resetting the global test failure status var
set -e
inconfig.sh
. All failures should be reported through the unit testassert
mechanism.The text was updated successfully, but these errors were encountered: