[PATCH v4 9/9] dts: add dts executable script
Juraj Linkeš
juraj.linkes at pantheon.tech
Fri Jul 29 12:55:50 CEST 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 | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100755 dts/main.py
diff --git a/dts/main.py b/dts/main.py
new file mode 100755
index 0000000000..a700707650
--- /dev/null
+++ b/dts/main.py
@@ -0,0 +1,24 @@
+#!/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