aboutsummaryrefslogtreecommitdiffstats
path: root/tests/vpp/device/flow/regenerate_testcases.py
diff options
context:
space:
mode:
authorxinfeng zhao <xinfengx.zhao@intel.com>2021-09-03 15:49:05 +0800
committerxinfeng zhao <xinfengx.zhao@intel.com>2021-10-08 07:04:10 +0000
commit648fa787d8ed7a045da18cf1a0761f3ca0d5b947 (patch)
treeadc5e134ac7d141adba2f6463082657e4f9432e3 /tests/vpp/device/flow/regenerate_testcases.py
parent6f9f70d7bb1bbed37ff1495c20d11a03b82b9951 (diff)
Add flow test suites
The comms DDP package needs to be installed to support all flow protocols Signed-off-by: xinfeng zhao <xinfengx.zhao@intel.com> Change-Id: I6ab1bd8beb9edb8c9889a0ed9a999080ca3cef3d
Diffstat (limited to 'tests/vpp/device/flow/regenerate_testcases.py')
-rwxr-xr-xtests/vpp/device/flow/regenerate_testcases.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/vpp/device/flow/regenerate_testcases.py b/tests/vpp/device/flow/regenerate_testcases.py
new file mode 100755
index 0000000000..87521e662d
--- /dev/null
+++ b/tests/vpp/device/flow/regenerate_testcases.py
@@ -0,0 +1,18 @@
+#!/usr/bin/env python3
+
+# Copyright (c) 2021 Cisco and/or its affiliates.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at:
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+from resources.libraries.python.autogen.Regenerator import Regenerator
+
+Regenerator().regenerate_glob(u"*.robot")