diff options
author | Damien George <damien.p.george@gmail.com> | 2019-10-15 16:46:06 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-10-15 16:46:06 +1100 |
commit | 858e992d2e25cf50b06abc33978040092e6f1e16 (patch) | |
tree | dff0dfc7b13a30f0c59571b2ef1faef30a675ad1 | |
parent | f1882636c0919ef16d0e549ff2dad1e5a2f59f13 (diff) |
tests/run-perfbench.py: Skip complex tests if target doesn't enable it.
-rwxr-xr-x | tests/run-perfbench.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/run-perfbench.py b/tests/run-perfbench.py index 75dc0210b..d02021719 100755 --- a/tests/run-perfbench.py +++ b/tests/run-perfbench.py @@ -77,13 +77,17 @@ def run_benchmark_on_target(target, script): return -1, -1, 'CRASH: %r' % err def run_benchmarks(target, param_n, param_m, n_average, test_list): + skip_complex = run_feature_test(target, 'complex') != 'complex' skip_native = run_feature_test(target, 'native_check') != '' for test_file in sorted(test_list): print(test_file + ': ', end='') # Check if test should be skipped - skip = skip_native and test_file.find('viper_') != -1 + skip = ( + skip_complex and test_file.find('bm_fft') != -1 + or skip_native and test_file.find('viper_') != -1 + ) if skip: print('skip') continue |