-check_PROGRAMS = \
- loadf_dumpf loads_dumps load_file_dump_file \
- testprogs/test_array testprogs/test_number testprogs/test_object
+SUBDIRS = bin suites
+EXTRA_DIST = scripts run-suites
-AM_CPPFLAGS = -I$(top_srcdir)/src
-AM_CFLAGS = -Wall -Werror
-LDFLAGS = -static # for speed and Valgrind
-LDADD = ../src/libjansson.la
-
-TESTS = test-api test-invalid test-valid
+TESTS = run-suites
+TESTS_ENVIRONMENT = \
+ top_srcdir=$(top_srcdir) \
+ top_builddir=$(top_builddir)
clean-local:
- rm -rf testlogs
+ rm -rf logs