aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Exactness.am
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@yahoo.com>2018-05-26 01:39:41 +0300
committerDaniel Zaoui <daniel.zaoui@yahoo.com>2019-02-12 19:47:15 +0200
commit395fa5bd082365393fca0d296e5821daffa4c97f (patch)
tree7956bf74ac1b2fed2e17798155927890a42733c7 /src/Makefile_Exactness.am
parentExactness: add --enable-exactness-check configure flag (diff)
downloadefl-395fa5bd082365393fca0d296e5821daffa4c97f.tar.gz
Tests: add Exactness tests suite to make checkdevs/jackdanielz/exactness
It is available only if --enable-exactness-check is set during the configuration. The number of jobs set in the make command is given in the exactness invocation. The suite can be checked without running make check. From the src directory, run "make check-exactness"
Diffstat (limited to 'src/Makefile_Exactness.am')
-rw-r--r--src/Makefile_Exactness.am13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Makefile_Exactness.am b/src/Makefile_Exactness.am
index 4db5cee70a..9fb8534bd6 100644
--- a/src/Makefile_Exactness.am
+++ b/src/Makefile_Exactness.am
@@ -60,3 +60,16 @@ CLEANFILES += $(share_DATA)
exactness_play.edj: bin/exactness/player_entry.edc bin/edje/edje_cc${EXEEXT}
$(AM_V_EDJ) \
$(EDJE_CC) $(EDJE_CC_FLAGS) -sd $(top_srcdir)/data/elementary/themes/snd -id $(top_srcdir)/data/elementary/themes/img $< $@
+
+### Tests"
+if HAVE_EXACTNESS_CHECK
+
+AM_TESTS_ENVIRONMENT += EXACTNESS_DATA_PATH='$(top_srcdir)'/data/exactness/elm/default-profile
+AM_TESTS_ENVIRONMENT += MAKEFLAGS='${MAKEFLAGS}'
+
+check-exactness:
+ $(AM_TESTS_ENVIRONMENT) tests/exactness/check_exactness.sh
+
+TESTS += tests/exactness/check_exactness.sh
+
+endif