diff options
author | Lauro Moura <lauromoura@expertisesolutions.com.br> | 2016-06-03 14:51:59 -0300 |
---|---|---|
committer | Lauro Moura <lauromoura@expertisesolutions.com.br> | 2016-06-03 20:29:13 -0300 |
commit | 1ed4c3c58c199cfe8e5cd7f5294ae833a207855d (patch) | |
tree | 97ee674380ced4e3b2af2d9e03443822d8ff6104 /src/Makefile_Ejson.am | |
parent | b4637e2327847a1ce833952a65a99bcea4e5cad3 (diff) | |
download | efl-1ed4c3c58c199cfe8e5cd7f5294ae833a207855d.tar.gz |
ejson: Add tests for the json model.devs/felipealmeida/ejson-model
Diffstat (limited to 'src/Makefile_Ejson.am')
-rw-r--r-- | src/Makefile_Ejson.am | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/Makefile_Ejson.am b/src/Makefile_Ejson.am index 852bb2a628..7f0b339fcb 100644 --- a/src/Makefile_Ejson.am +++ b/src/Makefile_Ejson.am @@ -33,3 +33,32 @@ lib_ejson_libejson_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl @EJSON_CFLAGS@ @E lib_ejson_libejson_la_LIBADD = @EJSON_LIBS@ @EFL_LIBS@ lib_ejson_libejson_la_DEPENDENCIES = @EJSON_INTERNAL_LIBS@ @EFL_INTERNAL_LIBS@ lib_ejson_libejson_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@ + +if EFL_ENABLE_TESTS + +check_PROGRAMS += tests/ejson/ejson_suite +TESTS += tests/ejson/ejson_suite + +tests_ejson_ejson_suite_SOURCES = \ +tests/ejson/ejson_suite.c \ +tests/ejson/ejson_test_ejson_model.c \ +tests/ejson/ejson_suite.h \ +tests/ejson/ejson_test_ejson_model.h + +tests_ejson_ejson_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl \ +-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/ejson\" \ +-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/ejson\" \ +@CHECK_CFLAGS@ \ +@ECORE_FILE_CFLAGS@ \ +@EJSON_CFLAGS@ @EFL_CFLAGS@ + +tests_ejson_ejson_suite_LDADD = \ +@CHECK_LIBS@ \ +@USE_EJSON_LIBS@ \ +@USE_ECORE_FILE_LIBS@ \ +@USE_EFL_LIBS@ + +tests_ejson_ejson_suite_DEPENDENCIES = \ +@USE_EJSON_INTERNAL_LIBS@ + +endif |