1EXTRA_DIST = $(TESTS) basic schema generate.res \
2	streamline.res rcl_test.json.xz
3
4TESTS = basic.test \
5		generate.test \
6		schema.test \
7		msgpack.test \
8		speed.test \
9		msgpack.test
10TESTS_ENVIRONMENT = $(SH) \
11			TEST_DIR=$(top_srcdir)/tests \
12			TEST_OUT_DIR=$(top_builddir)/tests \
13			TEST_BINARY_DIR=$(top_builddir)/tests
14
15common_test_cflags = -I$(top_srcdir)/include \
16					-I$(top_srcdir)/src \
17					-I$(top_srcdir)/uthash
18common_test_ldadd = $(top_builddir)/src/libucl.la
19
20test_basic_SOURCES = test_basic.c
21test_basic_LDADD = $(common_test_ldadd)
22test_basic_CFLAGS = $(common_test_cflags)
23
24test_speed_SOURCES = test_speed.c
25test_speed_LDADD = $(common_test_ldadd)
26test_speed_CFLAGS = $(common_test_cflags)
27
28test_generate_SOURCES = test_generate.c
29test_generate_LDADD = $(common_test_ldadd)
30test_generate_CFLAGS = $(common_test_cflags)
31
32test_schema_SOURCES = test_schema.c
33test_schema_LDADD = $(common_test_ldadd)
34test_schema_CFLAGS = $(common_test_cflags)
35
36test_streamline_SOURCES = test_streamline.c
37test_streamline_LDADD = $(common_test_ldadd)
38test_streamline_CFLAGS = $(common_test_cflags)
39
40test_msgpack_SOURCES = test_msgpack.c
41test_msgpack_LDADD = $(common_test_ldadd)
42test_msgpack_CFLAGS = $(common_test_cflags)
43
44check_PROGRAMS = test_basic test_speed test_generate test_schema test_streamline \
45	test_msgpack