blob: 1547da0b75a275b09631f87534c4c60a0e58f055 [file] [log] [blame]
Lev Walkincb523912017-09-30 19:33:23 -07001@CODE_COVERAGE_RULES@
2
3dist_check_SCRIPTS = check-bundles.sh
4
5#Filter out the coverage options from CFLAGS as we don't need
6#code coverage data for the tests executables
7CFLAGS = $(filter-out $(CODE_COVERAGE_CFLAGS), @CFLAGS@)
8
Lev Walkind0d63922017-10-10 01:27:37 -07009# Override single test fuzzing time using "make check FUZZ_TIME=1"
10FUZZ_TIME=10
11
Lev Walkin360b2052017-10-01 14:18:36 -070012TESTS_ENVIRONMENT= \
13 CC="${CC}" \
Lev Walkinf58f1fc2017-10-06 00:30:50 -070014 MAKE="${MAKE}" \
Lev Walkin360b2052017-10-01 14:18:36 -070015 CFLAGS="${TESTSUITE_CFLAGS} ${CFLAGS}" \
Lev Walkin60d62672017-10-08 03:16:10 -070016 CFLAGS_M32="${CFLAGS_M32}" \
Lev Walkin360b2052017-10-01 14:18:36 -070017 LDFLAGS="${LDFLAGS}" \
18 LIBFUZZER_CFLAGS="${LIBFUZZER_CFLAGS}" \
Lev Walkind0d63922017-10-10 01:27:37 -070019 FUZZ_TIME="${FUZZ_TIME}" \
Lev Walkin360b2052017-10-01 14:18:36 -070020 ASAN_ENV_FLAGS="@ASAN_ENV_FLAGS@" \
21 srcdir=${srcdir} \
22 abs_top_srcdir=${abs_top_srcdir} \
Lev Walkin40b8a7a2017-10-08 22:36:29 -070023 abs_top_builddir=${abs_top_builddir} \
24 ${srcdir}/check-bundles.sh
Lev Walkin360b2052017-10-01 14:18:36 -070025
Lev Walkin40b8a7a2017-10-08 22:36:29 -070026TESTS =
Lev Walkin40bb23c2017-10-09 07:17:48 +000027TESTS += bundles/01-BOOLEAN-bundle.txt
28TESTS += bundles/02-INTEGER-bundle.txt
29TESTS += bundles/03-ENUMERATED-bundle.txt
30TESTS += bundles/04-REAL-bundle.txt
31TESTS += bundles/05-BIT-STRING-bundle.txt
32TESTS += bundles/06-OCTET-STRING-bundle.txt
33TESTS += bundles/07-VisibleString-bundle.txt
Lev Walkincb523912017-09-30 19:33:23 -070034
Lev Walkin40b8a7a2017-10-08 22:36:29 -070035EXTRA_DIST = \
36 random-test-driver.c \
37 $(srcdir)/bundles/README \
38 $(srcdir)/bundles/*.txt
Lev Walkincb523912017-09-30 19:33:23 -070039
40clean-local:
Lev Walkin40b8a7a2017-10-08 22:36:29 -070041 rm -rf .tmp.*