Embedded: disable stats test
As of 67bdd80a96bdfc49d1aadbd32cca2b53f123d180 the stats.c is
effectively disable so we should disable the corresponding tests as
well.
Change-Id: I42ff7a6619c0a5926fdc2ec779cf04689c567e15
diff --git a/configure.ac b/configure.ac
index f7acf05..3c15896 100644
--- a/configure.ac
+++ b/configure.ac
@@ -236,6 +236,9 @@
[Enable building for embedded use and disable unsupported features]
)],
[embedded=$enableval], [embedded="no"])
+
+AM_CONDITIONAL(ENABLE_STATS_TEST, true)
+
if test x"$embedded" = x"yes"
then
AC_DEFINE([EMBEDDED],[1],[Select building for embedded use])
@@ -250,6 +253,7 @@
AM_CONDITIONAL(ENABLE_GNUTLS, false)
AM_CONDITIONAL(ENABLE_PCSC, false)
AM_CONDITIONAL(ENABLE_PSEUDOTALLOC, true)
+ AM_CONDITIONAL(ENABLE_STATS_TEST, false)
AC_DEFINE([USE_GNUTLS], [0])
AC_DEFINE([PANIC_INFLOOP],[1],[Use infinite loop on panic rather than fprintf/abort])
fi
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 877a302..e199ccc 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -17,7 +17,7 @@
write_queue/wqueue_test socket/socket_test \
coding/coding_test conv/conv_gsm0503_test \
abis/abis_test endian/endian_test sercomm/sercomm_test \
- stats/stats_test prbs/prbs_test gsm23003/gsm23003_test \
+ prbs/prbs_test gsm23003/gsm23003_test \
codec/codec_ecu_fr_test
if ENABLE_MSGFILE
@@ -40,6 +40,10 @@
check_PROGRAMS += ctrl/ctrl_test fsm/fsm_test
endif
+if ENABLE_STATS_TEST
+check_PROGRAMS += stats/stats_test
+endif
+
if ENABLE_GB
check_PROGRAMS += gb/bssgp_fc_test gb/gprs_bssgp_test gb/gprs_ns_test fr/fr_test
endif