From 4b827e08a18fcdd5c97b58c7d18cf7cfe3074315 Mon Sep 17 00:00:00 2001 From: Donald Lee Date: Tue, 22 Jun 2021 02:18:41 +0800 Subject: [PATCH] tests: enable lua script tests in ubuntu-20 ci Signed-off-by: Donald Lee --- docker/ubuntu20-ci/Dockerfile | 2 ++ tests/subdir.am | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docker/ubuntu20-ci/Dockerfile b/docker/ubuntu20-ci/Dockerfile index 8b7557db1d..47d5b81d3a 100644 --- a/docker/ubuntu20-ci/Dockerfile +++ b/docker/ubuntu20-ci/Dockerfile @@ -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 diff --git a/tests/subdir.am b/tests/subdir.am index 5cf78dd3a1..c9cfe8a324 100644 --- a/tests/subdir.am +++ b/tests/subdir.am @@ -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 \ -- 2.39.5