summaryrefslogtreecommitdiff
path: root/tests/tap-negative-numbers.test
Commit message (Collapse)AuthorAgeFilesLines
* tests defs: more namespace-safenessStefano Lattarini2011-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | ($using_tap): Renamed ... ($am_using_tap): ... to this. ($parallel_tests): Renamed ... ($am_parallel_tests): ... to this. ($test_prefer_config_shell): Renamed ... ($am_test_prefer_config_shell): ... to this. ($original_AUTOMAKE): Renamed ... ($am_original_AUTOMAKE): ... to this. ($original_ACLOCAL): Renamed ... ($am_original_ACLOCAL): ... to this. * tests/defs, tests/defs-static.in, tests/gen-testsuite-part, tests/README, and all callers: Adjusted. * tests/Makefile.am (AM_TESTS_ENVIRONMENT): Adjust, and rewrite to make future adjustments easier. * tests/defs (funcs_file_): Renamed ... (am_funcs_file): ... to this. * Makefile.am (sc_tests_obsolete_variables): New maintainer check. (syntax_check_rules): Add it.
* coverage: some more tests on corner cases of TAP supportStefano Lattarini2011-08-201-0/+58
* tests/tap-no-spurious.test: Extend checks verifying that a line matching, say, the regex "^ok[a-zA-Z0-9_]" is *not* considered a TAP result. * tests/tap-no-spurious-numbers.test: New test, checking that our TAP driver doesn't spuriously recognize as TAP result numbers what is not (even if it seems pretty close). * tests/tap-negative-numbers.test: New test, checking that our TAP driver doesn't spuriously recognize negative TAP result numbers, but correctly interprets them as test descriptions instead. * tests/tap-plan-leading-zero.test, tap-numbers-leading-zero.test: New tests, checking how our driver fares in recognizing numbers with leading zeroes in TAP results or TAP plans. * tests/tap-planskip-malformed.test: New test, checking that a malformed TAP plan is not recognized as a valid plan. * tests/tap-plan-whitespace.test: New test, checking that a TAP plan line with trailing whitespace is recognized and handled correctly. * tests/Makefile.am (tap_with_common_setup_tests): Update.