From 5d6740652827ed3ef3625c04cca727ddcbcf6ca6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20Linke=C5=A1?= Date: Fri, 4 Nov 2022 11:05:23 +0000 Subject: [PATCH] dts: add executable script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script is an interface to run DTS. Signed-off-by: Owen Hilyard Signed-off-by: Juraj Linkeš --- 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()