summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@datawire.io>2022-08-14 20:52:33 -0600
committerLuke Shumaker <lukeshu@datawire.io>2022-08-17 00:48:19 -0600
commit3ae8e37b8ca2b9a7769d659e134ee2711dc94b89 (patch)
tree35d23ddd779820dea1e239e96d5613c2d874a2b7 /Makefile
parent6b11bd03dd572a4c1b5bb2a72da5a556c7998c56 (diff)
Borrow more test files [ci-skip]
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 652906d..a36a8f1 100644
--- a/Makefile
+++ b/Makefile
@@ -56,7 +56,7 @@ go-mod-tidy/tools/%: tools/src/%/go.mod
# utilities for managing borrowed tests
borrowed.patch: stock patched
- diff -ru $^ > $@ || true
+ diff -ruN $^ > $@ || true
stock: FORCE
rm -rf $@ $@.tmp
mkdir $@.tmp
@@ -64,6 +64,7 @@ stock: FORCE
set -e; for file in "$$(go env GOROOT)"/src/encoding/json/{*_test.go,tags.go}; do \
cp "$$file" $@.tmp/borrowed_$${file##*/}; \
done
+ rm -f $@.tmp/borrowed_fold_test.go
mv $@.tmp $@
patched: FORCE
rm -rf $@ $@.tmp