NativeEnumerated.c vars NULL init and check
[com/asn1c.git] / tests / tests-randomized / Makefile.am
1 @CODE_COVERAGE_RULES@
2
3 check_PROGRAMS = test-param-helper
4 dist_check_SCRIPTS = check-bundles.sh
5
6 #Filter out the coverage options from CFLAGS as we don't need
7 #code coverage data for the tests executables
8 CFLAGS = $(filter-out $(CODE_COVERAGE_CFLAGS), @CFLAGS@)
9
10 # Override single test fuzzing time using "make check FUZZ_TIME=1"
11 FUZZ_TIME=10
12
13 TESTS_ENVIRONMENT=                          \
14     CC="${CC}"                              \
15     MAKE="${MAKE}"                          \
16     CFLAGS="${TESTSUITE_CFLAGS} ${CFLAGS}"  \
17     CFLAGS_M32="${CFLAGS_M32}"              \
18     LDFLAGS="${LDFLAGS}"                    \
19     LIBFUZZER_CFLAGS="${LIBFUZZER_CFLAGS}"  \
20     FUZZ_TIME="${FUZZ_TIME}"                \
21     ASAN_ENV_FLAGS="@ASAN_ENV_FLAGS@"       \
22     srcdir=${srcdir}                        \
23     abs_builddir=${abs_builddir}            \
24     abs_top_srcdir=${abs_top_srcdir}        \
25     abs_top_builddir=${abs_top_builddir}    \
26     ${srcdir}/check-bundles.sh
27
28 TESTS =
29 TESTS += bundles/00-NULL-bundle.txt
30 TESTS += bundles/01-BOOLEAN-bundle.txt
31 TESTS += bundles/02-INTEGER-bundle.txt
32 TESTS += bundles/03-ENUMERATED-bundle.txt
33 TESTS += bundles/04-REAL-bundle.txt
34 TESTS += bundles/05-BIT-STRING-bundle.txt
35 TESTS += bundles/06-OCTET-STRING-bundle.txt
36 TESTS += bundles/07-VisibleString-bundle.txt
37 TESTS += bundles/08-OBJECT-IDENTIFIER-bundle.txt
38 TESTS += bundles/09-RELATIVE-OID-bundle.txt
39 TESTS += bundles/10-UTF8String-bundle.txt
40 TESTS += bundles/11-BMPString-bundle.txt
41 TESTS += bundles/12-UniversalString-bundle.txt
42 TESTS += bundles/13-UTCTime-bundle.txt
43 TESTS += bundles/14-GeneralizedTime-bundle.txt
44 TESTS += bundles/15-CHOICE-bundle.txt
45 TESTS += bundles/16-SEQUENCE-bundle.txt
46 TESTS += bundles/17-SEQUENCE-OF-bundle.txt
47 TESTS += bundles/19-SET-OF-bundle.txt
48
49 EXTRA_DIST =                    \
50     random-test-driver.c        \
51     $(srcdir)/bundles/README    \
52     $(srcdir)/bundles/*.txt
53
54 clean-local:
55         rm -rf .tmp.*