diff options
author | Jakub Grajciar <jgrajcia@cisco.com> | 2018-10-09 12:28:21 +0200 |
---|---|---|
committer | Jakub Grajciar <jgrajcia@cisco.com> | 2018-10-19 09:12:13 +0000 |
commit | 23064dd22af4d5206ee52c887e6c413f42de6389 (patch) | |
tree | 60ed5ee5028ef992214d89045d7aa65cc2146751 /test/framework.py | |
parent | 9a1e6eafd68b372e7aec53f75ac8f1881de72150 (diff) |
Test FW: Use unittest temp dir as unix runtime dir
Change-Id: I5273d5f3f59cc3c43da0a15bb0c4a4056098adcf
Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
(cherry picked from commit 997439170aa3bb562c84e882c45331ba476e7c8e)
Diffstat (limited to 'test/framework.py')
-rw-r--r-- | test/framework.py | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/test/framework.py b/test/framework.py index da34724befd..a7f4fc774b4 100644 --- a/test/framework.py +++ b/test/framework.py @@ -284,13 +284,14 @@ class VppTestCase(unittest.TestCase): cls.vpp_cmdline = [cls.vpp_bin, "unix", "{", "nodaemon", debug_cli, "full-coredump", - coredump_size, "}", "api-trace", "{", "on", "}", - "api-segment", "{", "prefix", cls.shm_prefix, "}", - "cpu", "{", "main-core", str(cpu_core_number), "}", - "statseg", "{", "socket-name", cls.stats_sock, "}", - "plugins", "{", "plugin", "dpdk_plugin.so", "{", - "disable", "}", "plugin", "unittest_plugin.so", - "{", "enable", "}", "}", ] + coredump_size, "runtime-dir", cls.tempdir, "}", + "api-trace", "{", "on", "}", "api-segment", "{", + "prefix", cls.shm_prefix, "}", "cpu", "{", + "main-core", str(cpu_core_number), "}", "statseg", + "{", "socket-name", cls.stats_sock, "}", "plugins", + "{", "plugin", "dpdk_plugin.so", "{", "disable", + "}", "plugin", "unittest_plugin.so", "{", "enable", + "}", "}", ] if plugin_path is not None: cls.vpp_cmdline.extend(["plugin_path", plugin_path]) cls.logger.info("vpp_cmdline: %s" % cls.vpp_cmdline) |