]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 2920: Revert "Archive baselines in LILYPOND_BASELINES directory if specified"
authorDavid Kastrup <dak@gnu.org>
Tue, 23 Oct 2012 10:22:48 +0000 (12:22 +0200)
committerDavid Kastrup <dak@gnu.org>
Fri, 26 Oct 2012 05:00:41 +0000 (07:00 +0200)
This reverts commit 2ab98854c8f67c0edf5bc655a45aa6226e2caca9.

It is likely that this code is no longer being used.

This has been issue 2422 originally.

GNUmakefile.in

index ceeb410a618e67277c398da9827b4d051d0aa6a0..74f255139382183558ed5e908f092cb137d19eb5 100644 (file)
@@ -307,32 +307,9 @@ test:
        $(MAKE) -C input/regression/abc2ly out=test local-test
        $(MAKE) -C input/regression/lilypond-book out=test local-test
 
-ifndef BASELINE_COMMIT
-BASELINE_COMMIT:=HEAD
-endif
-
-ifdef LILYPOND_BASELINES
-BASELINE_ARCHIVE:=$(LILYPOND_BASELINES)/baseline-$(shell git rev-list -1 $(BASELINE_COMMIT)).tar.gz
-
-test-baseline: $(BASELINE_ARCHIVE)
-       tar xzf $(BASELINE_ARCHIVE)
-       $(MAKE) test-snippets-clean
-
-$(BASELINE_ARCHIVE):
-       $(MAKE) test-baseline-create
-       tar czf $(BASELINE_ARCHIVE) input/regression/out-test-baseline \
-               input/regression/midi/out-test-baseline \
-               input/regression/musicxml/out-test-baseline \
-               input/regression/abc2ly/out-test-baseline \
-               input/regression/lilypond-book/out-test-baseline
-else
-test-baseline: test-baseline-create
-       $(MAKE) test-snippets-clean
-endif
-
-test-baseline-create:
+test-baseline:
        @if test -d .git ; then \
-               $(if $(shell git diff $(BASELINE_COMMIT)), echo "commit before base lining" && false,true) ; \
+               $(if $(shell git diff), echo "commit before base lining" && false,true) ; \
        fi
        $(MAKE)
        $(MAKE) test
@@ -341,6 +318,8 @@ test-baseline-create:
        $(MAKE) out=test -C input/regression/musicxml local-test-baseline
        $(MAKE) out=test -C input/regression/abc2ly local-test-baseline
        $(MAKE) out=test -C input/regression/lilypond-book local-test-baseline
+       $(MAKE) test-snippets-clean
+
 
 local-check: test
        rm -rf $(RESULT_DIR)