diff options
| author | Diego Elio Pettenò <flameeyes@flameeyes.eu> | 2012-06-29 13:01:18 -0700 | 
|---|---|---|
| committer | Harald Welte <laforge@gnumonks.org> | 2012-06-30 22:01:42 +0200 | 
| commit | ea0e1eca2bc32b531242a3b0a3c471e492a6f493 (patch) | |
| tree | 26b6bda92e3da6d056db3986c6ce942553e1ecfd /tests/lapd | |
| parent | 327009e4206dc5c50bcad21658872f547d3b6f25 (diff) | |
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>
Diffstat (limited to 'tests/lapd')
| -rw-r--r-- | tests/lapd/Makefile.am | 9 | 
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/lapd/Makefile.am b/tests/lapd/Makefile.am deleted file mode 100644 index f7e2ab0e..00000000 --- a/tests/lapd/Makefile.am +++ /dev/null @@ -1,9 +0,0 @@ -INCLUDES = $(all_includes) -I$(top_srcdir)/include -AM_FLAGS = -Wall -O0 -noinst_PROGRAMS = lapd_test -EXTRA_DIST = lapd_test.ok - -lapd_test_SOURCES = lapd_test.c -lapd_test_LDADD = \ -	$(top_builddir)/src/libosmocore.la \ -	$(top_builddir)/src/gsm/libosmogsm.la  | 
