[PATCH v7 9/9] dts: add dts executable script
Juraj Linkeš
juraj.linkes at pantheon.tech
Thu Nov 3 16:19:34 CET 2022
The script is an interface to run DTS.
Signed-off-by: Owen Hilyard <ohilyard at iol.unh.edu>
Signed-off-by: Juraj Linkeš <juraj.linkes at pantheon.tech>
---
dts/main.py | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100755 dts/main.py
diff --git a/dts/main.py b/dts/main.py
new file mode 100755
index 0000000000..43311fa847
--- /dev/null
+++ b/dts/main.py
@@ -0,0 +1,23 @@
+#!/usr/bin/env python3
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2010-2014 Intel Corporation
+# Copyright(c) 2022 PANTHEON.tech s.r.o.
+# Copyright(c) 2022 University of New Hampshire
+
+"""
+A test framework for testing DPDK.
+"""
+
+import logging
+
+from framework import dts
+
+
+def main() -> None:
+ dts.run_all()
+
+
+# Main program begins here
+if __name__ == "__main__":
+ logging.raiseExceptions = True
+ main()
--
2.30.2
More information about the dev
mailing list