* gotools patch committed: Remove test directories in mostlyclean
@ 2019-02-13 0:10 Ian Lance Taylor
0 siblings, 0 replies; only message in thread
From: Ian Lance Taylor @ 2019-02-13 0:10 UTC (permalink / raw)
To: gcc-patches, gofrontend-dev
[-- Attachment #1: Type: text/plain, Size: 522 bytes --]
This patch fixes the gotools Makefile to remove some more test
directories when running `make mostlyclean`. It also cleans up the
chmod to avoid an error message when the directory does not exist.
This fixes PR 89193. Ran gotools tests, ran various make clean
targets on x86_64-pc-linux-gnu. Committed to mainline.
Ian
2019-02-12 Ian Lance Taylor <iant@golang.org>
PR go/89193
* Makefile.am (mostlyclean-local): Avoid getting an error from
chmod. Remove check-vet-dir and gocache-test.
* Makefile.in: Regenerate.
[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 503 bytes --]
Index: Makefile.am
===================================================================
--- Makefile.am (revision 268829)
+++ Makefile.am (working copy)
@@ -100,8 +100,9 @@ MOSTLYCLEANFILES = \
*.sent
mostlyclean-local:
- -chmod -R u+w check-go-dir
- rm -rf check-go-dir check-runtime-dir cgo-test-dir carchive-test-dir
+ if test -d check-go-dir; then chmod -R u+w check-go-dir; fi
+ rm -rf check-go-dir check-runtime-dir cgo-test-dir carchive-test-dir \
+ check-vet-dir gocache-test
if NATIVE
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-02-13 0:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-13 0:10 gotools patch committed: Remove test directories in mostlyclean Ian Lance Taylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).