@@ -21,9 +21,9 @@
# -in the validation when running standalone (./pktio_run) intree.
# -in the current directory.
# running stand alone out of tree requires setting PATH
-PATH=${TEST_DIR}/api/pktio:$PATH
+PATH=${TEST_DIR}/api:$PATH
PATH=$(dirname $0):$PATH
-PATH=$(dirname $0)/../../../../../../test/validation/api/pktio:$PATH
+PATH=$(dirname $0)/../../../../../../test/validation/api:$PATH
PATH=.:$PATH
pktio_main_path=$(which pktio_main${EXEEXT})
@@ -21,9 +21,9 @@
# -in the validation when running standalone (./pktio_run) intree.
# -in the current directory.
# running stand alone out of tree requires setting PATH
-PATH=${TEST_DIR}/api/pktio:$PATH
+PATH=${TEST_DIR}/api:$PATH
PATH=$(dirname $0):$PATH
-PATH=$(dirname $0)/../../../../../../test/validation/api/pktio:$PATH
+PATH=$(dirname $0)/../../../../../../test/validation/api:$PATH
PATH=.:$PATH
pktio_main_path=$(which pktio_main${EXEEXT})
@@ -15,9 +15,9 @@
# -in the validation when running standalone (./pktio_run) intree.
# -in the current directory.
# running stand alone out of tree requires setting PATH
-PATH=${TEST_DIR}/api/pktio:$PATH
+PATH=${TEST_DIR}/api:$PATH
PATH=$(dirname $0):$PATH
-PATH=$(dirname $0)/../../../../../../test/validation/api/pktio:$PATH
+PATH=$(dirname $0)/../../../../../../test/validation/api:$PATH
PATH=.:$PATH
pktio_main_path=$(which pktio_main${EXEEXT})
@@ -15,9 +15,9 @@
# -in the validation when running standalone intree.
# -in the current directory.
# running stand alone out of tree requires setting PATH
-PATH=${TEST_DIR}/api/pktio:$PATH
+PATH=${TEST_DIR}/api:$PATH
PATH=$(dirname $0):$PATH
-PATH=$(dirname $0)/../../../../../../test/validation/api/pktio:$PATH
+PATH=$(dirname $0)/../../../../../../test/validation/api:$PATH
PATH=.:$PATH
pktio_main_path=$(which pktio_main${EXEEXT})
@@ -16,9 +16,9 @@
# -in the validation when running standalone intree.
# -in the current directory.
# running stand alone out of tree requires setting PATH
-PATH=${TEST_DIR}/api/pktio:$PATH
+PATH=${TEST_DIR}/api:$PATH
PATH=$(dirname $0):$PATH
-PATH=$(dirname $0)/../../../../../../test/validation/api/pktio:$PATH
+PATH=$(dirname $0)/../../../../../../test/validation/api:$PATH
PATH=.:$PATH
pktio_main_path=$(which pktio_main${EXEEXT})
@@ -7,5 +7,4 @@ AC_CONFIG_FILES([test/Makefile
test/miscellaneous/Makefile
test/performance/Makefile
test/validation/Makefile
- test/validation/api/Makefile
- test/validation/api/pktio/Makefile])
+ test/validation/api/Makefile])
@@ -20,6 +20,7 @@ ipsec_inline_out
ipsec_sync
lock_main
packet_main
+pktio_main
pool_main
queue_main
random_main
@@ -1,6 +1,3 @@
-ODP_MODULES = \
- pktio
-
SUBDIRS = $(ODP_MODULES)
include Makefile.inc
@@ -25,6 +22,7 @@ test_PROGRAMS = \
ipsec_sync \
lock_main \
packet_main \
+ pktio_main \
pool_main \
queue_main \
random_main \
@@ -70,6 +68,7 @@ ipsec_inline_out_SOURCES = ipsec_inline_out.c
ipsec_inline_out_LDADD = $(LDADD) libtestipsec.la
lock_main_SOURCES = lock.c
packet_main_SOURCES = packet.c
+pktio_main_SOURCES = pktio.c pktio_parser.c pktio_parser.h
pool_main_SOURCES = pool.c
queue_main_SOURCES = queue.c
random_main_SOURCES = random.c
similarity index 99%
rename from test/validation/api/pktio/pktio.c
rename to test/validation/api/pktio.c
@@ -12,7 +12,7 @@
#include <odp/helper/odph_api.h>
#include <stdlib.h>
-#include "parser.h"
+#include "pktio_parser.h"
#define PKT_BUF_NUM 32
#define PKT_BUF_SIZE (9 * 1024)
deleted file mode 100644
@@ -1 +0,0 @@
-pktio_main
deleted file mode 100644
@@ -1,4 +0,0 @@
-include ../Makefile.inc
-
-test_PROGRAMS = pktio_main
-pktio_main_SOURCES = pktio.c parser.c parser.h
similarity index 99%
rename from test/validation/api/pktio/parser.c
rename to test/validation/api/pktio_parser.c
@@ -13,7 +13,7 @@
#include <odp/helper/odph_api.h>
#include <stdlib.h>
-#include "parser.h"
+#include "pktio_parser.h"
#define MAX_NUM_IFACES 2
#define PKT_POOL_NUM 256
similarity index 100%
rename from test/validation/api/pktio/parser.h
rename to test/validation/api/pktio_parser.h