2014-11-29 00:33:10 +00:00
|
|
|
EXTRA_DIST = $(TESTS) basic schema generate.res streamline.res rcl_test.json.xz
|
2014-03-22 17:22:29 +00:00
|
|
|
|
|
|
|
TESTS = basic.test \
|
|
|
|
generate.test \
|
|
|
|
schema.test \
|
2014-07-18 06:49:18 +00:00
|
|
|
speed.test \
|
|
|
|
streamline.test
|
2014-03-22 17:22:29 +00:00
|
|
|
TESTS_ENVIRONMENT = $(SH) \
|
|
|
|
TEST_DIR=$(top_srcdir)/tests \
|
|
|
|
TEST_OUT_DIR=$(top_builddir)/tests \
|
|
|
|
TEST_BINARY_DIR=$(top_builddir)/tests
|
|
|
|
|
|
|
|
common_test_cflags = -I$(top_srcdir)/include \
|
|
|
|
-I$(top_srcdir)/src \
|
|
|
|
-I$(top_srcdir)/uthash
|
|
|
|
common_test_ldadd = $(top_builddir)/src/libucl.la
|
|
|
|
|
|
|
|
test_basic_SOURCES = test_basic.c
|
|
|
|
test_basic_LDADD = $(common_test_ldadd)
|
|
|
|
test_basic_CFLAGS = $(common_test_cflags)
|
|
|
|
|
|
|
|
test_speed_SOURCES = test_speed.c
|
|
|
|
test_speed_LDADD = $(common_test_ldadd)
|
|
|
|
test_speed_CFLAGS = $(common_test_cflags)
|
|
|
|
|
|
|
|
test_generate_SOURCES = test_generate.c
|
|
|
|
test_generate_LDADD = $(common_test_ldadd)
|
|
|
|
test_generate_CFLAGS = $(common_test_cflags)
|
|
|
|
|
|
|
|
test_schema_SOURCES = test_schema.c
|
|
|
|
test_schema_LDADD = $(common_test_ldadd)
|
|
|
|
test_schema_CFLAGS = $(common_test_cflags)
|
|
|
|
|
2014-07-18 06:49:18 +00:00
|
|
|
test_streamline_SOURCES = test_streamline.c
|
|
|
|
test_streamline_LDADD = $(common_test_ldadd)
|
|
|
|
test_streamline_CFLAGS = $(common_test_cflags)
|
|
|
|
|
|
|
|
check_PROGRAMS = test_basic test_speed test_generate test_schema test_streamline
|