misc, test: Some quality of life improvements
Add a fold in github actions output around the ragel build. Run the commit-message test locally, so that error can be detected before pushing to CI. We also now accept two-letter topics. Some minor improvement in the testing scripts.
This commit is contained in:
committed by
James Shubin
parent
29ec867ac7
commit
edcb04d1a9
3
test.sh
3
test.sh
@@ -31,7 +31,8 @@ function run-testsuite() {
|
||||
# if not running all tests or if this test is not explicitly selected, skip it
|
||||
if test -z "$testsuite" || test "test-$testsuite" = "$testname"; then
|
||||
fold_start "$testname"
|
||||
"$@" || failures=$([ -n "$failures" ] && echo "$failures\\n$@" || echo "$@")
|
||||
description="$testname ($@)"
|
||||
"$@" || failures=$([ -n "$failures" ] && echo "$failures\\n$description" || echo "$description")
|
||||
fold_end "$testname"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user