The command executed was `black src configs tests util`. Change-Id: I8dfaa6ab04658fea37618127d6ac19270028d771 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/47024 Maintainer: Bobby Bruce <bbruce@ucdavis.edu> Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Tested-by: kokoro <noreply+kokoro@google.com>
26 lines
566 B
Python
Executable File
26 lines
566 B
Python
Executable File
#!/usr/bin/env python3
|
|
"""
|
|
The main source for testlib. Ties together the default test runners and
|
|
loaders.
|
|
|
|
Discovers and runs all tests from a given root directory.
|
|
"""
|
|
|
|
import sys
|
|
import os
|
|
|
|
os.environ["PYTHONUNBUFFERED"] = "1"
|
|
|
|
base_dir = os.path.dirname(os.path.abspath(__file__))
|
|
ext_path = os.path.join(base_dir, os.pardir, "ext")
|
|
|
|
sys.path.insert(0, base_dir)
|
|
sys.path.insert(0, ext_path)
|
|
|
|
import testlib.main as testlib
|
|
import testlib.configuration as config
|
|
import testlib.helper as helper
|
|
|
|
config.basedir = helper.absdirpath(__file__)
|
|
sys.exit(testlib())
|