diff options
author | Tim Newsome <tim@sifive.com> | 2020-03-05 11:28:22 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-05 11:28:22 -0800 |
commit | 34b02fde809bca37c76630986c08ea910c547a69 (patch) | |
tree | 2b3a71ba1a5ec2ab32490602ac31eeac84dcc1dc /debug/testlib.py | |
parent | fb0510f8495173dbebe3d0cf926bae81938fc387 (diff) | |
download | riscv-tests-34b02fde809bca37c76630986c08ea910c547a69.zip riscv-tests-34b02fde809bca37c76630986c08ea910c547a69.tar.gz riscv-tests-34b02fde809bca37c76630986c08ea910c547a69.tar.bz2 |
Add a simple mechanism to skip tests on targets. (#251)
Diffstat (limited to 'debug/testlib.py')
-rw-r--r-- | debug/testlib.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/debug/testlib.py b/debug/testlib.py index 6f5c9d5..8a6e402 100644 --- a/debug/testlib.py +++ b/debug/testlib.py @@ -980,7 +980,8 @@ class BaseTest: sys.stdout.flush() - if not self.early_applicable(): + if self.__class__.__name__ in self.target.skip_tests or \ + not self.early_applicable(): return "not_applicable" self.start = time.time() |