Common library for all Osmocom projects (libosmocore, libosmogsm, libosmovty, libosmogb, libosmosim, libosmousb, ...) https://osmocom.org/projects/libosmocore
Go to file
Neels Hofmeyr 96831049d9 build: make check: disable sim_test when built with --disable-pcsc
Numerous issues caused sim_test to be attempted even though libosmosim was not
built:

In configure.ac, the ENABLE_PCSC variable lacked an AC_SUBST() to be exported.

Furthermore in configure.ac, no value 'yes'/'no' was assigned to the
ENABLE_PCSC variable, only to the enable_pcsc value.

In testsuite.at, encapsulating the sim_test in 'if ENABLE_PCSC' seems to have
no effect, regardless (not even when using a variable that should be defined
accurately).

So fix with these steps, similarly to how we do it in openbsc:

In AC_ARG_ENABLE, directly use 'ENABLE_PCSC' to assign 'yes'/'no'.
Export the same using AC_SUBST().
Add tests/atlocal.in to translate ENABLE_PCSC to enable_sim_test (also add
atlocal to AC_OUTPUT and distclean).
Use enable_sim_test in testuite.at, as seen in openbsc: use AT_CHECK() to
indicate skipping the test if enable_sim_test isn't 'yes'.

Change-Id: I9e8740c7d2dfbd272e22fee85972ef3fda7184a8
2016-11-16 16:40:44 +00:00
contrib configure: add --enable-sanitize, use in jenkins.sh 2016-10-12 22:50:24 +00:00
debian debian: Fix packaging by requiring python-minimal 2016-05-10 11:43:25 +00:00
doc merge_doc.xsl: Don't copy the 'descripiton' element of commands 2016-03-11 22:05:25 +07:00
include gsm_08_58.h: Add more Ericsson specific RSL IE Identifiers 2016-11-16 16:58:52 +01:00
m4 Create a dummy m4 directory to make autoreconf --install --force work 2010-03-24 02:55:33 +01:00
src Extend IPA error logging 2016-11-16 09:29:23 +00:00
tests build: make check: disable sim_test when built with --disable-pcsc 2016-11-16 16:40:44 +00:00
utils utils/conv_gen.py: explicitly import reduce() 2016-11-02 08:37:55 +00:00
.gitignore utils/conv_gen.py: generate a single file 2016-10-23 07:38:15 +00:00
.gitreview add .gitreview 2016-05-19 06:39:13 +00:00
.mailmap Add .mailmap file for mapping mail addresses in shortlog 2016-08-08 13:12:17 +02:00
COPYING add GPL to project source 2010-02-21 09:21:30 +01:00
Doxyfile.codec.in Doxygen: enable tagfile generation and usage for cross-project references 2016-04-24 19:48:05 +02:00
Doxyfile.core.in Doxygen: enable tagfile generation and usage for cross-project references 2016-04-24 19:48:05 +02:00
Doxyfile.gsm.in Doxygen: enable tagfile generation and usage for cross-project references 2016-04-24 19:48:05 +02:00
Doxyfile.vty.in Doxygen: enable tagfile generation and usage for cross-project references 2016-04-24 19:48:05 +02:00
Makefile.am doxygen: Remove the tag file on uninstall as well 2016-04-24 20:57:30 +02:00
TODO-RELEASE Revert "Constify ctrl_cmd struct fields where appropriate" 2016-10-20 17:53:10 +02:00
configure.ac build: make check: disable sim_test when built with --disable-pcsc 2016-11-16 16:40:44 +00:00
git-version-gen add git-version-gen magic to automatically generate package version 2010-03-23 00:30:19 +08:00
libosmocodec.pc.in codec: Add the missing bits for include to install and pkgconfig to work 2010-10-24 18:23:10 +02:00
libosmocore.pc.in talloc: Untested change to unbreak build 2015-12-10 19:50:29 +01:00
libosmoctrl.pc.in remove our internal copy of talloc, use system libtalloc 2015-12-05 23:38:18 +01:00
libosmogb.pc.in remove our internal copy of talloc, use system libtalloc 2015-12-05 23:38:18 +01:00
libosmogsm.pc.in remove our internal copy of talloc, use system libtalloc 2015-12-05 23:38:18 +01:00
libosmosim.pc.in remove our internal copy of talloc, use system libtalloc 2015-12-05 23:38:18 +01:00
libosmovty.pc.in remove our internal copy of talloc, use system libtalloc 2015-12-05 23:38:18 +01:00