diff options
author | Max <msuraev@sysmocom.de> | 2018-01-18 16:05:27 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-01-21 19:05:00 +0000 |
commit | 89c8c4027b54cb1d20448a7c624b373b40823403 (patch) | |
tree | 96e7fc75a7380a6a0bda708a60f034c517ec1a3d | |
parent | 0bbf67dfd3d97c67a126e60de2c5648c88427981 (diff) |
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
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | tests/Makefile.am | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index f7acf05c..3c158962 100644 --- a/configure.ac +++ b/configure.ac @@ -236,6 +236,9 @@ AC_ARG_ENABLE(embedded, [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 @@ then 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 877a302d..e199ccce 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -17,7 +17,7 @@ check_PROGRAMS = timer/timer_test sms/sms_test ussd/ussd_test \ 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 @@ if ENABLE_CTRL 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 |