This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "An utility library for Open Source Mobile Communications".
The branch, master has been updated
via 96831049d926a6faf291a8ce29433e7718369b58 (commit)
from 6e363e7e31761f47d06d4074670d85693d03c038 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmocore/commit/?id=96831049d926a6faf291a8ce2943…
commit 96831049d926a6faf291a8ce29433e7718369b58
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Tue Nov 15 17:31:14 2016 +0100
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
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 10 ++++++----
tests/Makefile.am | 8 ++++++--
tests/atlocal.in | 1 +
tests/testsuite.at | 1 +
4 files changed, 14 insertions(+), 6 deletions(-)
create mode 100644 tests/atlocal.in
hooks/post-receive
--
An utility library for Open Source Mobile Communications