mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-21 22:09:23 +01:00
build: Do not build unit tests without maintainer mode
This commit is contained in:
parent
2286890184
commit
9b07eb2c48
10
Makefile.am
10
Makefile.am
@ -36,7 +36,13 @@ src_iwd_LDADD = ell/libell-internal.la
|
||||
client_iwctl_SOURCES = client/main.c
|
||||
client_iwctl_LDADD = ell/libell-internal.la
|
||||
|
||||
noinst_PROGRAMS = unit/test-pbkdf2-sha1 unit/test-prf-sha1
|
||||
noinst_PROGRAMS =
|
||||
|
||||
unit_tests = unit/test-pbkdf2-sha1 unit/test-prf-sha1
|
||||
|
||||
if MAINTAINER_MODE
|
||||
noinst_PROGRAMS += $(unit_tests)
|
||||
endif
|
||||
|
||||
unit_test_pbkdf2_sha1_SOURCES = unit/test-pbkdf2-sha1.c \
|
||||
src/sha1.h src/sha1.c
|
||||
@ -46,7 +52,7 @@ unit_test_prf_sha1_SOURCES = unit/test-prf-sha1.c \
|
||||
src/sha1.h src/sha1.c
|
||||
unit_test_prf_sha1_LDADD = ell/libell-internal.la
|
||||
|
||||
TESTS = $(noinst_PROGRAMS)
|
||||
TESTS = $(unit_tests)
|
||||
|
||||
AM_CFLAGS = -fvisibility=hidden
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user