File: run_tests.py

package info (click to toggle)
rdma-core 61.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,124 kB
  • sloc: ansic: 176,798; python: 15,496; sh: 2,742; perl: 1,465; makefile: 73
file content (14 lines) | stat: -rwxr-xr-x 447 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env python3
# SPDX-License-Identifier: (GPL-2.0 OR Linux-OpenIB)
# Copyright (c) 2018, Mellanox Technologies. All rights reserved.  See COPYING file

from args_parser import parser
import unittest
import os
from importlib.machinery import SourceFileLoader


module_path = os.path.join(os.path.dirname(__file__), '__init__.py')
tests = SourceFileLoader('tests', module_path).load_module()
parser.parse_args()
unittest.main(module=tests)