build: simplify test handling and speed up build.
commitea0e1eca2bc32b531242a3b0a3c471e492a6f493
authorDiego Elio Pettenò <flameeyes@flameeyes.eu>
Fri, 29 Jun 2012 20:01:18 +0000 (29 13:01 -0700)
committerHarald Welte <laforge@gnumonks.org>
Sat, 30 Jun 2012 20:01:42 +0000 (30 22:01 +0200)
tree26b6bda92e3da6d056db3986c6ce942553e1ecfd
parent327009e4206dc5c50bcad21658872f547d3b6f25
build: simplify test handling and speed up build.

Instead of using a ./configure parameter to decide whehter to build
tests or not, use the check_PROGRAMS variable so that the tests are
only built when running `make check`.

To avoid slowing down the test phase itself, collapse the declaration
of the test targets in the tests/Makefile.am file, this way they can
be built and linked in parallel before the testsuite is executed.

Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
14 files changed:
.gitignore
configure.ac
tests/Makefile.am
tests/a5/Makefile.am [deleted file]
tests/auth/Makefile.am [deleted file]
tests/bits/Makefile.am [deleted file]
tests/conv/Makefile.am [deleted file]
tests/gsm0808/Makefile.am [deleted file]
tests/lapd/Makefile.am [deleted file]
tests/msgfile/Makefile.am [deleted file]
tests/sms/Makefile.am [deleted file]
tests/smscb/Makefile.am [deleted file]
tests/timer/Makefile.am [deleted file]
tests/ussd/Makefile.am [deleted file]