Commit b35c72db authored by Ben Wagner's avatar Ben Wagner
Browse files

Always run-test-conf, but skip if not built.

The test-conf test requires libjson-c to be available in order to be
built. However, there has been no user indication that additional tests
could be built if the json-c development files were available.

Continue to not build test-conf if json-c is not available, but do run
the test harness. The test harness is updated to SKIP the test if the
test-conf binary is unavailable.
parent 5cd11d19
Pipeline #244542 passed with stage
in 7 minutes and 12 seconds
......@@ -101,8 +101,8 @@ if ENABLE_JSONC
check_PROGRAMS += test-conf
test_conf_CFLAGS = $(JSONC_CFLAGS)
test_conf_LDADD = $(top_builddir)/src/ $(JSONC_LIBS)
check_PROGRAMS += test-bz106618
test_bz106618_LDADD = $(top_builddir)/src/
......@@ -33,6 +33,12 @@ BUILDTESTDIR=${builddir-"$MyPWD"}
if [ ! -f ${RUNNER} ]; then
echo "${RUNNER} not found!\n"
echo "Building this test requires libjson-c development files to be available."
exit 77 # SKIP
for i in \
60-generic.conf \
90-synthetic.conf \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment