aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-09-08 15:09:16 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-09-08 15:21:29 +0200
commit0b4b824887db23fb3b922286c3229be75393a92d (patch)
treecae1ac4d7a920c4325bf0cf75c4a58327b6af4f8 /contrib
parentfa5572e2afc01903b2e5dd260f475d1f73ded74a (diff)
tests: Enable the vty tests for the osmo-pcap as well
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/travis.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/contrib/travis.sh b/contrib/travis.sh
index 7e73522..4614414 100755
--- a/contrib/travis.sh
+++ b/contrib/travis.sh
@@ -12,9 +12,16 @@ git reset --hard 460f9ef7da1db11b104fdfe635ebcbd8a071f205
autoreconf --install --force
./configure --prefix=$PWD/../install
make -j 4 install
+export LD_LIBRARY_PATH=$PWD/../install/lib
+
+cd ../
+git clone git://git.osmocom.org/python/osmo-python-tests
+cd osmo-python-tests
+sudo ./setup.py install
cd ../../
autoreconf --install --force
-PCAP_LIBS="-lpcap" PCAP_CFLAGS="" PKG_CONFIG_PATH=$PWD/deps/install/lib/pkgconfig ./configure --with-pcap-config=/bin/true
+PCAP_LIBS="-lpcap" PCAP_CFLAGS="" PKG_CONFIG_PATH=$PWD/deps/install/lib/pkgconfig ./configure --with-pcap-config=/bin/true --enable-external-tests
PKG_CONFIG_PATH=$PWD/deps/install/lib/pkgconfig make -j 4
+PKG_CONFIG_PATH=$PWD/deps/install/lib/pkgconfig make check
DISTCHECK_CONFIGURE_FLAGS="--with-pcap-config=/bin/true" PCAP_LIBS="-lpcap" PCAP_CFLAGS="" PKG_CONFIG_PATH=$PWD/deps/install/lib/pkgconfig LD_LIBRARY_PATH=$PWD/deps/install/lib make distcheck