diff options
Diffstat (limited to 'scripts/run_all_tests')
-rwxr-xr-x | scripts/run_all_tests | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/scripts/run_all_tests b/scripts/run_all_tests index a73ca23..3282475 100755 --- a/scripts/run_all_tests +++ b/scripts/run_all_tests @@ -16,10 +16,22 @@ set -eu -o pipefail -readonly TESTS=(src/builtin_test src/language_test src/parser_driver_test) +readonly TESTS=( + goldfishterm/internal/string_capability_test + goldfishterm/terminfo_test + src/builtin_test + src/language_test + src/parser_driver_test +) +readonly MANUAL_TESTS=(goldfishterm/terminfo_system_test) cd "$(dirname "$(realpath "$0")")/.." -ninja "${TESTS[@]}" +ninja "${TESTS[@]}" "${MANUAL_TESTS[@]}" for test in "${TESTS[@]}"; do "./$test" done + +echo >&2 'Running terminfo system test; failed terminals are:' +if find /usr/share/terminfo -type f -exec basename '{}' ';' | goldfishterm/terminfo_system_test; then + echo >&2 'No failed terminals!' +fi |