tests: enable lua script tests in ubuntu-20 ci

Signed-off-by: Donald Lee <dlqs@gmx.com>
This commit is contained in:
Donald Lee 2021-06-22 02:18:41 +08:00
parent e06feaf8fe
commit 4b827e08a1
2 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,7 @@ RUN apt update && \
libcap-dev python2 libelf-dev \
sudo gdb curl iputils-ping time \
libgrpc++-dev libgrpc-dev protobuf-compiler-grpc \
lua5.3 liblua5.3-dev \
mininet iproute2 iperf && \
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output /tmp/get-pip.py && \
python2 /tmp/get-pip.py && \
@ -66,6 +67,7 @@ RUN cd ~/frr && \
--enable-group=frr \
--enable-vty-group=frrvty \
--enable-snmp=agentx \
--enable-scripting \
--with-pkg-extra-version=-my-manual-build && \
make -j $(nproc) && \
sudo make install

View File

@ -448,6 +448,8 @@ EXTRA_DIST += \
tests/lib/northbound/test_oper_data.refout \
tests/lib/test_assert.py \
tests/lib/test_atomlist.py \
tests/lib/test_frrscript.py \
tests/lib/test_frrlua.py \
tests/lib/test_nexthop_iter.py \
tests/lib/test_nexthop.py \
tests/lib/test_ntop.py \