From fa926617fe74bc344fa04a51f19d76c3023c260f Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Sat, 2 Feb 2019 14:20:27 -0500 Subject: [PATCH] Add grep patterns for checking skipped tests It is useful to check the output of the test suite for skipped tests. This reveals tests which may have missing BuildRequires or other issues. Doing so can be tedious due to the many legitimate tests we skip. Keep a list of patterns matching tests we skip intentionally. To use this list to process a build.log, run something like the following: $ egrep '# SKIP|skipped:' build.log | egrep -v -f git.skip-test-patterns There should be no output. Any output should be checked and the tests fixed or added to the skip patterns file. --- git.skip-test-patterns | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 git.skip-test-patterns diff --git a/git.skip-test-patterns b/git.skip-test-patterns new file mode 100644 index 0000000..429977f --- /dev/null +++ b/git.skip-test-patterns @@ -0,0 +1,21 @@ +filesystem does not corrupt utf-8 +GIT_SKIP_TESTS +missing AUTOIDENT +missing CASE_INSENSITIVE_FS +missing CLONE_2GB +missing DONTHAVEIT +missing EXPENSIVE +missing !?LAZY_(TRUE|FALSE) +missing MINGW +missing NATIVE_CRLF +missing !PCRE +missing !PTHREADS +missing RFC1991 +missing TAR_NEEDS_PAX_FALLBACK +skipping case insensitive tests +skipping git p4 tests +skipping remote-svn tests, python not available +skipping svn-info test +skipping Windows-(only path|specific) tests +Test requiring writable / skipped +used to test external credential helpers