]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Ignore git's merge conflict files when finding unit tests
authorJoel Rosdahl <joel@rosdahl.net>
Sat, 28 Jul 2012 15:17:58 +0000 (17:17 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 28 Jul 2012 15:17:58 +0000 (17:17 +0200)
configure.ac

index 35f1d9a0eb1251ff94b329288c68870251d62716..aef2b6d5d32e54f33ef1d85f680b47565ac1876d 100644 (file)
@@ -131,10 +131,7 @@ elif test ! -f $srcdir/version.c; then
 fi
 
 dnl Find test suite files.
-test_suites=""
-for x in $srcdir/test/test_*.c; do
-    test_suites="$test_suites $x"
-done
+test_suites=`ls test/test_*.c | grep -Ev 'BASE|BACKUP|LOCAL|REMOTE' | xargs echo`
 
 AC_CONFIG_FILES([Makefile])
 AC_OUTPUT