[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fix test target name in python/GNUmakefile (issue 575790044 by addre
From: |
hanwenn |
Subject: |
Re: Fix test target name in python/GNUmakefile (issue 575790044 by address@hidden) |
Date: |
Sat, 07 Mar 2020 13:24:48 -0800 |
Reviewers: hahnjo, Dan Eble,
Message:
On 2020/03/07 19:23:13, Dan Eble wrote:
> On 2020/03/07 18:59:54, hahnjo wrote:
> > I think this is wrong. Instead 'make test' should recurse into the
> > subdirectories.
>
> Agreed. That would be here in the top-level GNUMakefile.in:
>
> test: test-pre
> @echo 'To begin investigating regression-test crashes, use'
> @echo
> @echo ' grep sourcefilename `grep -L systems.texi
> out/lybook-testdb/*/*log|sed s/log/ly/g`'
> @echo
> $(MAKE) -C input/regression out=test lysdoc-gittxt lysdoc-test
> $(MAKE) -C input/regression/midi out=test lysdoc-test
> $(MAKE) -C input/regression/musicxml out=test lysdoc-test
> $(MAKE) -C input/regression/abc2ly out=test lysdoc-test
> $(MAKE) -C input/regression/lilypond-book out=test local-test
The target is called check. See here
https://github.com/lilypond/lilypond/blob/825dd87d0b1b58e56d7c66ef1fc1dd672d913c84/stepmake/stepmake/generic-targets.make#L141
it was called like that because the GNU standards at
https://www.gnu.org/prep/standards/standards.html say
‘check’
Perform self-tests (if any). The user must build the program before
running the tests, but need not install the program; you should write
the self-tests so that they work when the program is built but not
installed.
I don't care much what we call this, and we can certainly change this,
but it's historically been called check.
Description:
Fix test target name in python/GNUmakefile
Please review this at https://codereview.appspot.com/575790044/
Affected files (+1, -1 lines):
M python/GNUmakefile
Index: python/GNUmakefile
diff --git a/python/GNUmakefile b/python/GNUmakefile
index
d2f61eaccfc54131722b401fc9c66f9eb260b706..cbf6e168048f4e5906d2497a04c179f7ff59f518
100644
--- a/python/GNUmakefile
+++ b/python/GNUmakefile
@@ -16,5 +16,5 @@ default: $(outdir)/relocate-preamble.py
$(outdir)/relocate-preamble.py: $(depth)/VERSION
-local-test:
+local-check:
$(PYTHON) book_base_test.py
- Fix test target name in python/GNUmakefile (issue 575790044 by address@hidden), jonas . hahnfeld, 2020/03/07
- Re: Fix test target name in python/GNUmakefile (issue 575790044 by address@hidden), nine . fierce . ballads, 2020/03/07
- Re: Fix test target name in python/GNUmakefile (issue 575790044 by address@hidden),
hanwenn <=
- Re: Fix test target name in python/GNUmakefile (issue 575790044 by address@hidden), jonas . hahnfeld, 2020/03/07
- Re: Fix test target name in python/GNUmakefile (issue 575790044 by address@hidden), nine . fierce . ballads, 2020/03/07
- Re: Fix test target name in python/GNUmakefile (issue 575790044 by address@hidden), hanwenn, 2020/03/07
- Re: Fix test target name in python/GNUmakefile (issue 575790044 by address@hidden), jonas . hahnfeld, 2020/03/08