Fuck git
This commit is contained in:
25
external/capstone/suite/run_tests.py
vendored
Normal file
25
external/capstone/suite/run_tests.py
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
# SPDX-FileCopyrightText: 2024 Antelox <anteloxrce@gmail.com>
|
||||
# SPDX-License-Identifier: BSD-3
|
||||
|
||||
import logging
|
||||
import subprocess
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
logger = logging.getLogger('tests')
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
root_dir = Path(__file__).parent.parent.resolve()
|
||||
tests = [
|
||||
f"{sys.executable} {root_dir}/bindings/python/tests/test_all.py",
|
||||
f"{sys.executable} {root_dir}/suite/cstest/test/integration_tests.py cstest_py",
|
||||
f"cstest_py {root_dir}/tests/MC/",
|
||||
f"cstest_py {root_dir}/tests/details/",
|
||||
f"cstest_py {root_dir}/tests/issues/",
|
||||
f"cstest_py {root_dir}/tests/features/",
|
||||
]
|
||||
|
||||
for test in tests:
|
||||
logger.info(f'Running {test}')
|
||||
logger.info("#######################")
|
||||
subprocess.run(test.split(" "), check=True)
|
||||
logger.info("-----------------------")
|
||||
Reference in New Issue
Block a user