-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (22 loc) · 865 Bytes
/
Copy pathMakefile
File metadata and controls
27 lines (22 loc) · 865 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
.PHONY: all clean
all: test-rustc.log.gz test-prevail.log.gz
clean:
env -C ebpf/cgroup-skb-egress-ringbuf cargo clean
make -C kernel/linux mrproper
# https://github.com/L1L1/cardpeek/pull/97
TARFLAGS_REPRO=--sort=name --mtime @1 --clamp-mtime --format=gnu --owner=0 --group=0
test-%.log.gz: test-%.log
cat $< | gzip --to-stdout --best --no-name > $@
test-%.log: Makefile test-%.sh
./test-$*.sh 2>&1 \
| sed 's|$(PWD)|ANONYMOUS|g' \
| sed 's|$(shell realpath --relative-to / $(PWD))|ANONYMOUS|g' \
| sed 's|$(HOME)|ANONYMOUS|g' \
| sed 's|$(shell realpath --relative-to / $(HOME))|ANONYMOUS|g' \
| sed 's|$(shell hostname --long)|ANONYMOUS|g' \
| sed 's|$(USER)|ANONYMOUS|g' \
| sed 's|$(shell id -u)|ANONYMOUS|g' \
| sed 's|$(NAME)|ANONYMOUS|g' \
| sed 's|$(EMAIL)|ANONYMOUS|g' \
| sed 's|$(shell hostname -s)|ANONYMOUS|g' \
| tee $@