mirror of
https://github.com/troglobit/finit.git
synced 2026-10-14 10:19:36 +00:00
test: locate the fuzz sweep in the build tree
fuzz-msg-parse.sh looked for its driver next to the script, which only
holds when srcdir and builddir are the same. Every VPATH build skipped
the sweep, claiming D-Bus was off:
SKIP: fuzz-msg-parse.sh
distcheck, and with it the release job, is a VPATH build. Use
top_builddir, which the test environment already exports.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 file changed
+1
-1
@@ -10,7 +10,7 @@
|
||||
set -eu
|
||||
|
||||
TEST_DIR=$(dirname "$0")
|
||||
DRIVER="$TEST_DIR/src/fuzz-msg-parse"
|
||||
DRIVER="${top_builddir:-$TEST_DIR/..}/test/src/fuzz-msg-parse"
|
||||
|
||||
[ -x "$DRIVER" ] || {
|
||||
echo "fuzz-msg-parse not built, D-Bus support is off"
|
||||
|
||||
Reference in new issue
Block a user