[PATCH] libosmocore[master]: Embedded: disable stats test

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Max gerrit-no-reply at lists.osmocom.org
Thu Jan 18 15:07:06 UTC 2018


Review at  https://gerrit.osmocom.org/5871

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
---
M configure.ac
M tests/Makefile.am
2 files changed, 9 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/71/5871/1

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

-- 
To view, visit https://gerrit.osmocom.org/5871
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I42ff7a6619c0a5926fdc2ec779cf04689c567e15
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list