]> git.puffer.fish Git - mirror/frr.git/commitdiff
tests: enable lua script tests in ubuntu-20 ci
authorDonald Lee <dlqs@gmx.com>
Mon, 21 Jun 2021 18:18:41 +0000 (02:18 +0800)
committerDonald Lee <dlqs@gmx.com>
Tue, 22 Jun 2021 16:58:39 +0000 (00:58 +0800)
Signed-off-by: Donald Lee <dlqs@gmx.com>
docker/ubuntu20-ci/Dockerfile
tests/subdir.am

index 8b7557db1dc187be67b124897a06ebd986c2f092..47d5b81d3a2b8f51c15a126138ad74e589b8dbe6 100644 (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
index 5cf78dd3a1fa5c863494103e3e3b5dc2b4e5e35e..c9cfe8a324e94c46728d3bfc9a4dc9e5a672ece3 100644 (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 \