diff options
author | Damjan Marion <damarion@cisco.com> | 2016-04-11 13:34:36 +0200 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2016-04-11 13:03:30 +0000 |
commit | c47e9796746f96f1f8f08fb95c98f5bf632705f4 (patch) | |
tree | c941d1cebd51bbee6618ff1eca6b042cd7ba6d00 /vppinfra/Makefile.am | |
parent | dba76f29e6ab51b0f3fd01ca2928652186392132 (diff) |
Add configure option to enable building unit tests
Same template should be used for other libs...
Change-Id: Icc771cb6b243d215f30fb51c0dbc028e497a74c6
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vppinfra/Makefile.am')
-rw-r--r-- | vppinfra/Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/vppinfra/Makefile.am b/vppinfra/Makefile.am index 3a400163e52..adcd32cc868 100644 --- a/vppinfra/Makefile.am +++ b/vppinfra/Makefile.am @@ -20,7 +20,10 @@ endif lib_LIBRARIES = -TESTS = test_bihash_template \ +TESTS = + +if ENABLE_TESTS +TESTS += test_bihash_template \ test_elog \ test_elf \ test_fifo \ @@ -44,6 +47,7 @@ TESTS = test_bihash_template \ test_timing_wheel \ test_vec \ test_zvec +endif noinst_PROGRAMS = $(TESTS) check_PROGRAMS = $(TESTS) |