@@ -20,7 +20,7 @@ AC_CONFIG_FILES([platform/linux-generic/Makefile
platform/linux-generic/libodp-linux.pc
platform/linux-generic/test/Makefile
platform/linux-generic/test/validation/api/shmem/Makefile
- platform/linux-generic/test/validation/api/pktio/Makefile
+ platform/linux-generic/test/validation/api/Makefile
platform/linux-generic/test/mmap_vlan_ins/Makefile
platform/linux-generic/test/pktio_ipc/Makefile
platform/linux-generic/test/ring/Makefile
@@ -4,35 +4,31 @@ TESTS_ENVIRONMENT += TEST_DIR=${top_builddir}/test/validation
SUBDIRS = performance
if test_vald
-TESTS = validation/api/pktio/pktio_run.sh \
- validation/api/pktio/pktio_run_tap.sh \
+TESTS = validation/api/pktio_run.sh \
+ validation/api/pktio_run_tap.sh \
validation/api/shmem/shmem_linux$(EXEEXT)
-SUBDIRS += validation/api/pktio\
+SUBDIRS += validation/api\
validation/api/shmem\
mmap_vlan_ins\
pktio_ipc\
ring
if HAVE_PCAP
-TESTS += validation/api/pktio/pktio_run_pcap.sh
+TESTS += validation/api/pktio_run_pcap.sh
TESTS += mmap_vlan_ins/mmap_vlan_ins.sh
SUBDIRS += mmap_vlan_ins
endif
if netmap_support
-TESTS += validation/api/pktio/pktio_run_netmap.sh
+TESTS += validation/api/pktio_run_netmap.sh
endif
if PKTIO_DPDK
-TESTS += validation/api/pktio/pktio_run_dpdk.sh
+TESTS += validation/api/pktio_run_dpdk.sh
endif
TESTS += pktio_ipc/pktio_ipc_run.sh
SUBDIRS += pktio_ipc
else
-#performance tests refer to pktio_env
-if test_perf
-SUBDIRS += validation/api/pktio
-endif
endif
TEST_EXTENSIONS = .sh
similarity index 100%
rename from platform/linux-generic/test/validation/api/pktio/Makefile.am
rename to platform/linux-generic/test/validation/api/Makefile.am
similarity index 100%
rename from platform/linux-generic/test/validation/api/pktio/pktio_env
rename to platform/linux-generic/test/validation/api/pktio_env
similarity index 100%
rename from platform/linux-generic/test/validation/api/pktio/pktio_run.sh
rename to platform/linux-generic/test/validation/api/pktio_run.sh
similarity index 100%
rename from platform/linux-generic/test/validation/api/pktio/pktio_run_dpdk.sh
rename to platform/linux-generic/test/validation/api/pktio_run_dpdk.sh
similarity index 100%
rename from platform/linux-generic/test/validation/api/pktio/pktio_run_netmap.sh
rename to platform/linux-generic/test/validation/api/pktio_run_netmap.sh
similarity index 100%
rename from platform/linux-generic/test/validation/api/pktio/pktio_run_pcap.sh
rename to platform/linux-generic/test/validation/api/pktio_run_pcap.sh
similarity index 100%
rename from platform/linux-generic/test/validation/api/pktio/pktio_run_tap.sh
rename to platform/linux-generic/test/validation/api/pktio_run_tap.sh
@@ -42,8 +42,8 @@ elif [ "$ODP_PLATFORM" = "" ]; then
echo "$0: error: ODP_PLATFORM must be defined"
# not skipped as this should never happen via "make check"
exit 1
-elif [ -f ${PLATFORM_VALIDATION}/api/pktio/pktio_env ]; then
- . ${PLATFORM_VALIDATION}/api/pktio/pktio_env
+elif [ -f ${PLATFORM_VALIDATION}/api/pktio_env ]; then
+ . ${PLATFORM_VALIDATION}/api/pktio_env
else
echo "BUG: unable to find pktio_env!"
echo "pktio_env has to be in current directory or in platform/\$ODP_PLATFORM/test."