mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-25 01:55:19 +01:00
depend-cleanup.sh: Handle kqtest being renamed to kqueue_test.
bmake will not think that object files such as read.o are out of date
due to common.h changing since the dependency is only recorded in
.depend.kqtest.read.o in an old object directory.
Reviewed by: markj
Fixes: 68fe988a40
kqueue tests: Simplify the test runner
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D35820
This commit is contained in:
parent
a6c3e5fa39
commit
a985fad6e0
@ -90,3 +90,11 @@ fi
|
||||
if [ "$MACHINE_ARCH" = "amd64" ]; then
|
||||
clean_dep lib/libc bcmp c
|
||||
fi
|
||||
|
||||
# 20220524 68fe988a40ca kqueue_test binary replaced shell script
|
||||
if stat "$OBJTOP"/tests/sys/kqueue/libkqueue/*kqtest* \
|
||||
"$OBJTOP"/tests/sys/kqueue/libkqueue/.depend.kqtest* >/dev/null 2>&1; then
|
||||
echo "Removing old kqtest"
|
||||
rm -f "$OBJTOP"/tests/sys/kqueue/libkqueue/.depend.* \
|
||||
"$OBJTOP"/tests/sys/kqueue/libkqueue/*
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user