dts: add executable script

The script is an interface to run DTS.

Signed-off-by: Owen Hilyard <ohilyard@iol.unh.edu>
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
This commit is contained in:
Juraj Linkeš 2022-11-04 11:05:23 +00:00 committed by Thomas Monjalon
parent 57c58bf832
commit 5d67406528
1 changed files with 23 additions and 0 deletions

23
dts/main.py Executable file
View File

@ -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()