aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>2016-10-12 13:19:52 +0200
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>2016-10-12 13:19:52 +0200
commitc5fe7deabb5c25111ddb910def7c86ca857c4fa3 (patch)
treeb0332c565fe346581131fa2a31f71af722e609f9
parentf0657b4c19b258ccd9b789ebbc01b661eb1b0ce3 (diff)
include the autotest suite in dpdk-dev
The autotest suite is ready to use after build and built by default. It can be useful to developers and tools to have access to the test toolchains built together with the packaged content. Change-Id: I5d5fe58b4ccc6960edde92bbec2577526d0c9916 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
-rwxr-xr-xdebian/rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index f21cf767..b652adc2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -190,6 +190,10 @@ override_dh_auto_install-arch:
cp $(DPDK_SHARED_DIR)/.config debian/dpdk-dev/usr/share/dpdk/config
sed -e 's/SDK_TARGET/$(RTE_TARGET)/' debian/dpdk-sdk-env.sh.in > \
debian/dpdk-dev/usr/share/dpdk/dpdk-sdk-env.sh
+ # include the bundled autotest suite to be usable from the dpdk-dev package
+ mkdir -p debian/dpdk-dev/usr/share/dpdk/test
+ cp -a app/test/autotest* debian/dpdk-dev/usr/share/dpdk/test
+ cp $(DPDK_SHARED_DIR)/app/test debian/dpdk-dev/usr/share/dpdk/test/
# Package: libdpdk-dev (bare headers, static devel libs and linker
# script)
mkdir -p debian/libdpdk-dev/$(LIBDIR)