diff options
| -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 | 
