From: Guillem Jover Date: Sun, 6 Aug 2023 18:56:10 +0000 (+0200) Subject: [PATCH libaio 06/26] build: Remove all test artifacts on clean X-Git-Tag: archive/raspbian/0.3.113-10+rpi1~1^2~22 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f51503d8176f679fb21e2c4d5f2382a30f05095a;p=libaio.git [PATCH libaio 06/26] build: Remove all test artifacts on clean We create these artifacts when running the test suite, so should remove them when running the clean target. Reported-by: Lucas Nussbaum Signed-off-by: Guillem Jover Gbp-Pq: Name 0006-build-Remove-all-test-artifacts-on-clean.patch --- diff --git a/harness/Makefile b/harness/Makefile index 8cb27fa..ae4e45e 100644 --- a/harness/Makefile +++ b/harness/Makefile @@ -27,7 +27,9 @@ $(PROGS): %.p: %.t $(HARNESS_SRCS) $(CC) $(MK_CPPFLAGS) $(MK_CFLAGS) -DTEST_NAME=\"$<\" -o $@ $(MK_LDFLAGS) clean: - rm -f $(PROGS) *.o runtests.out rofile wofile rwfile + rm -f $(PROGS) *.o runtests.out tempfile testfile + rm -f testdir/rofile testdir/wofile testdir/rwfile + rmdir testdir || true .PHONY: