diff options
author | Guido van Rossum <guido@python.org> | 2001-03-01 00:36:53 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-03-01 00:36:53 (GMT) |
commit | cd81ea1708c0a3ac846e1e6f07c38d8d0b0efc22 (patch) | |
tree | 6e63728a4b2ad542b49095960a6d4d4b9a18ced4 /Makefile.pre.in | |
parent | 895e8925d6569a0be13a714f8417c6374fe1031b (diff) | |
download | cpython-cd81ea1708c0a3ac846e1e6f07c38d8d0b0efc22.zip cpython-cd81ea1708c0a3ac846e1e6f07c38d8d0b0efc22.tar.gz cpython-cd81ea1708c0a3ac846e1e6f07c38d8d0b0efc22.tar.bz2 |
Use
find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f
to remove all .py[co] files before testing, rather than just those in
the Lib/test directory. "find" is used all over the Makefile so I
suppose it's safe; how about xargs?
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 94aa576..abf5656 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -461,7 +461,7 @@ TESTOPTS= -l TESTPROG= $(srcdir)/Lib/test/regrtest.py TESTPYTHON= ./$(PYTHON) -tt test: all platform - -rm -f $(srcdir)/Lib/test/*.py[co] + -find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f -PYTHONPATH= $(TESTPYTHON) $(TESTPROG) $(TESTOPTS) PYTHONPATH= $(TESTPYTHON) $(TESTPROG) $(TESTOPTS) @@ -469,7 +469,7 @@ QUICKTESTOPTS= $(TESTOPTS) -x test_thread test_signal test_strftime \ test_unicodedata test_re test_sre test_select test_poll \ test_linuxaudiodev test_sunaudiodev quicktest: all platform - -rm -f $(srcdir)/Lib/test/*.py[co] + -find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f -PYTHONPATH= $(TESTPYTHON) $(TESTPROG) $(QUICKTESTOPTS) PYTHONPATH= $(TESTPYTHON) $(TESTPROG) $(QUICKTESTOPTS) |