app/test: only build what has been selected in config
authorDavid Marchand <david.marchand@6wind.com>
Mon, 18 Aug 2014 11:29:25 +0000 (13:29 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 26 Aug 2014 15:52:34 +0000 (17:52 +0200)
commit7822c43aba8ce07208a94124a46579fe43c0b103
tree3a2bbe320ef88988fc30f4946f43aec7f95f1ff9
parentdf21543fe9d4891c36c162f9c9c6dae44260498a
app/test: only build what has been selected in config

Avoid building tests if their counterparts are not selected in config.
This has the nice side effect of fixing build errors when disabling parts of
the dpdk.

Signed-off-by: David Marchand <david.marchand@6wind.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
27 files changed:
app/test/Makefile
app/test/test_acl.c
app/test/test_cmdline.c
app/test/test_distributor.c
app/test/test_distributor_perf.c
app/test/test_eal_flags.c
app/test/test_eal_fs.c
app/test/test_hash.c
app/test/test_hash_perf.c
app/test/test_ivshmem.c
app/test/test_kni.c
app/test/test_lpm.c
app/test/test_lpm6.c
app/test/test_meter.c
app/test/test_mp_secondary.c
app/test/test_pmd_ring.c
app/test/test_power.c
app/test/test_red.c
app/test/test_sched.c
app/test/test_table.c
app/test/test_table_acl.c
app/test/test_table_combined.c
app/test/test_table_pipeline.c
app/test/test_table_ports.c
app/test/test_table_tables.c
app/test/test_timer.c
app/test/test_timer_perf.c