diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-01-26 12:46:41 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-01-26 12:46:41 +0000 |
commit | 262e515bee254e9ce3d34db033a0f1136db35e26 (patch) | |
tree | d2744ac7af502aa9d1e9224a6a8fda07d4b91726 /src | |
parent | c3ba1bb95670abd4ba64445fa7edaea9cfa9e387 (diff) | |
download | mpd-262e515bee254e9ce3d34db033a0f1136db35e26.tar.gz mpd-262e515bee254e9ce3d34db033a0f1136db35e26.tar.xz mpd-262e515bee254e9ce3d34db033a0f1136db35e26.zip |
Cleanup checking for tests in src/ when building in separate dir
git-svn-id: https://svn.musicpd.org/mpd/trunk@7147 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index ef1c72494..82e46e6ee 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -153,7 +153,8 @@ sparse-check: done TEST_CFLAGS = -DUNIT_TEST -TEST_FILES := $(shell grep UNIT_TEST $(mpd_SOURCES) | \ +TEST_FILES := $(shell grep UNIT_TEST \ + $(addprefix $(srcdir)/, $(mpd_SOURCES)) | \ awk -F: '{print $$1}' | uniq) test: $(addprefix test-, $(subst .c,,$(TEST_FILES))) |