# HG changeset patch # User reimar # Date 1326014745 0 # Node ID 9441cb91bdddc8ce05a958ba56a843ca3218cc87 # Parent 410531a183516538bde2a2a3a25844d61876b706 Put test-related code in Makefile under ifdef FATE_SAMPLES. Hopefully fixes the compile issues a lot of people experienced (though I could not reproduce). diff -r 410531a18351 -r 9441cb91bddd Makefile --- a/Makefile Fri Jan 06 00:18:56 2012 +0000 +++ b/Makefile Sun Jan 08 09:25:45 2012 +0000 @@ -998,6 +998,8 @@ qt-surge-suite/% real/ra% sipr/% truespeech/% vorbis/% \ vqf/% w64/% wmapro/% wmavoice/% \ +# running wildcard with empty FATE_SAMPLES seems to cause a lot of issues +ifdef FATE_SAMPLES ALLSAMPLES_FULLPATH = $(wildcard $(FATE_SAMPLES)/*/*.*) ALLSAMPLES = $(patsubst $(FATE_SAMPLES)/%,%,$(ALLSAMPLES_FULLPATH)) SAMPLES := $(filter-out $(BROKEN_SAMPLES),$(ALLSAMPLES)) @@ -1008,6 +1010,7 @@ tests/res/%.md5: mplayer$(EXESUF) $(FATE_SAMPLES)/% @tests/faterun.sh $* +endif