Embedded: disable stats test

As of 67bdd80a96 the stats.c is
effectively disable so we should disable the corresponding tests as
well.

Change-Id: I42ff7a6619c0a5926fdc2ec779cf04689c567e15
This commit is contained in:
Max 2018-01-18 16:05:27 +01:00 committed by Harald Welte
parent 0bbf67dfd3
commit 89c8c4027b
2 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -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