]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Find test case files in out-of-source-dir builds as well
authorJoel Rosdahl <joel@rosdahl.net>
Sat, 22 Sep 2012 12:31:55 +0000 (14:31 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 22 Sep 2012 12:31:55 +0000 (14:31 +0200)
configure.ac

index 3c546929d321ae69b16bd94eb44f53d8af35b21a..b9c0ba70a7df29671ecf9538d5b9b2073b3d7209 100644 (file)
@@ -156,7 +156,7 @@ elif test ! -f $srcdir/version.c; then
 fi
 
 dnl Find test suite files.
-test_suites=`ls test/test_*.c | grep -Ev 'BASE|BACKUP|LOCAL|REMOTE' | xargs echo`
+test_suites=`ls $srcdir/test/test_*.c | egrep -v 'BASE|BACKUP|LOCAL|REMOTE' | xargs echo`
 
 AC_CONFIG_FILES([Makefile])
 AC_OUTPUT