diff options
author | Andrej Kozemcak <andrej.kozemcak@pantheon.tech> | 2019-03-11 10:22:32 +0100 |
---|---|---|
committer | Hongjun Ni <hongjun.ni@intel.com> | 2019-03-21 02:49:58 +0000 |
commit | 2b9b6b9b130b75799a40989c0ebe5040fa3e45fb (patch) | |
tree | fbafbb91d119e9f7d83ee68857aaf55c5b6fd581 /src/scvpp/tests/scvpp_test.c | |
parent | 52002bff61ccdd95a3e69094f8e6a99eaf2c0b32 (diff) |
SCVPP_TEST: Add NAT44 test
Change-Id: I3f5814e44126e8996c94475dd7529a75ba958b32
Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
Diffstat (limited to 'src/scvpp/tests/scvpp_test.c')
-rw-r--r-- | src/scvpp/tests/scvpp_test.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/scvpp/tests/scvpp_test.c b/src/scvpp/tests/scvpp_test.c index adc2b55..cc23e43 100644 --- a/src/scvpp/tests/scvpp_test.c +++ b/src/scvpp/tests/scvpp_test.c @@ -23,6 +23,7 @@ #include "sc_vpp_interface.h" #include "sc_vpp_ip.h" #include "sc_vpp_v3po.h" +#include "scvpp_nat_test.h" //TODO Check with future function get_interface_state static void test_enable_disable(void **state) @@ -143,6 +144,9 @@ int main() cmocka_run_group_tests(tests, NULL, NULL); + print_message("\nNAT Tests\n"); + cmocka_run_group_tests(nat_tests, NULL, NULL); + /* Delete tap0 */ if (delete_tapv2("tap0") != 0) fprintf(stderr, "Failed deleting tap0\n"); |