@@ -5,6 +5,4 @@ bin_PROGRAMS = odp_api_from_cpp$(EXEEXT)
TESTS = odp_api_from_cpp$(EXEEXT)
endif
-odp_api_from_cpp_CXXFLAGS = $(AM_CXXFLAGS)
-
odp_api_from_cpp_SOURCES = odp_api_from_cpp.cpp
@@ -24,13 +24,7 @@ endif
bin_PROGRAMS = $(EXECUTABLES) $(COMPILE_ONLY)
-odp_bench_packet_CFLAGS = $(AM_CFLAGS) -I${top_srcdir}/test
-odp_crypto_CFLAGS = $(AM_CFLAGS) -I${top_srcdir}/test
-odp_pktio_perf_CFLAGS = $(AM_CFLAGS) -I${top_srcdir}/test
-odp_l2fwd_CFLAGS = $(AM_CFLAGS) -I${top_srcdir}/test
-odp_pktio_ordered_CFLAGS = $(AM_CFLAGS) -I${top_srcdir}/test
-odp_sched_latency_CFLAGS = $(AM_CFLAGS) -I${top_srcdir}/test
-odp_scheduling_CFLAGS = $(AM_CFLAGS) -I${top_srcdir}/test
+AM_CPPFLAGS += -I${top_srcdir}/test
noinst_HEADERS = \
$(top_srcdir)/test/test_debug.h
@@ -1,3 +1,3 @@
-if cunit_support
+if test_vald
SUBDIRS = api
endif
@@ -1,14 +1,16 @@
include $(top_srcdir)/test/Makefile.inc
TESTS_ENVIRONMENT += TEST_DIR=${top_builddir}/test/validation
-dist_check_SCRIPTS = vlan.pcap \
+dist_check_SCRIPTS = \
mmap_vlan_ins.sh \
pktio_env
+dist_check_DATA = vlan.pcap
+
test_SCRIPTS = $(dist_check_SCRIPTS)
+test_DATA = $(dist_check_DATA)
test_PROGRAMS = plat_mmap_vlan_ins$(EXEEXT)
-plat_mmap_vlan_ins_CFLAGS = $(AM_CFLAGS) -I${top_srcdir}/example
# Clonned from example odp_l2fwd simple
plat_mmap_vlan_ins_SOURCES = mmap_vlan_ins.c
@@ -10,4 +10,4 @@ if test_perf_proc
TESTS = $(TESTSCRIPTS)
endif
-EXTRA_DIST = $(TESTSCRIPTS)
+dist_check_SCRIPTS = $(TESTSCRIPTS)