diff options
author | Patrick O'Neill <patrick@rivosinc.com> | 2023-05-11 15:55:47 -0700 |
---|---|---|
committer | Patrick O'Neill <patrick@rivosinc.com> | 2023-05-11 15:55:47 -0700 |
commit | 95f887e5deeec9a3bb8a025b526428d4b1a949d0 (patch) | |
tree | 3ea3ca6d41b347c3e5d8de7d4e35e4dc92f459ca | |
parent | cc3263ac32cd6d8adedc0f22492e6df665a87393 (diff) | |
download | riscv-gnu-toolchain-95f887e5deeec9a3bb8a025b526428d4b1a949d0.zip riscv-gnu-toolchain-95f887e5deeec9a3bb8a025b526428d4b1a949d0.tar.gz riscv-gnu-toolchain-95f887e5deeec9a3bb8a025b526428d4b1a949d0.tar.bz2 |
Return error when no testsuite results are detected
-rwxr-xr-x | scripts/testsuite-filter | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/testsuite-filter b/scripts/testsuite-filter index 6812d33..8096d7f 100755 --- a/scripts/testsuite-filter +++ b/scripts/testsuite-filter @@ -271,7 +271,7 @@ def filter_result(tool, libc, white_list_base_dir, unexpected_results): fail_count = summary[config][tool] print ("%13d |" % fail_count, end='') print ("") - if any_fail: + if any_fail or len(summary.items()) == 0: return 1 else: return 0 |