diff options
author | Vincent Belliard <vincent.belliard@arm.com> | 2016-07-14 10:04:09 -0700 |
---|---|---|
committer | Vincent Belliard <vincent.belliard@arm.com> | 2016-09-02 17:55:30 +0000 |
commit | 11f20220862044cb2685f3b6b8abbef2ba1c53d4 (patch) | |
tree | 106682e81769fd28fa500d5f89868f5b904ba20f /tools | |
parent | f7535f22629946eb706d02b8b926e5fe77e3b398 (diff) |
add benchmarks for AArch32
Change-Id: Id59d7f853d7a85a9a326ec63d38d00def89e3c7c
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/clang_format.py | 3 | ||||
-rw-r--r-- | tools/config.py | 1 | ||||
-rwxr-xr-x | tools/test.py | 5 |
3 files changed, 8 insertions, 1 deletions
diff --git a/tools/clang_format.py b/tools/clang_format.py index f82f2578..3509bb5f 100755 --- a/tools/clang_format.py +++ b/tools/clang_format.py @@ -174,7 +174,8 @@ def Find(path, filters = ['*']): def GetCppSourceFilesToFormat(): sources = [] - source_dirs = [config.dir_aarch32_examples, + source_dirs = [config.dir_aarch32_benchmarks, + config.dir_aarch32_examples, config.dir_aarch64_benchmarks, config.dir_aarch64_examples, config.dir_src_vixl ] diff --git a/tools/config.py b/tools/config.py index e595e467..807fa9a2 100644 --- a/tools/config.py +++ b/tools/config.py @@ -34,6 +34,7 @@ dir_build_latest = os.path.join(dir_build, 'latest') dir_src_vixl = os.path.join(dir_root, 'src') dir_tests = os.path.join(dir_root, 'test') dir_aarch64_benchmarks = os.path.join(dir_root, 'benchmarks', 'aarch64') +dir_aarch32_benchmarks = os.path.join(dir_root, 'benchmarks', 'aarch32') dir_aarch64_examples = os.path.join(dir_root, 'examples', 'aarch64') dir_aarch32_examples = os.path.join(dir_root, 'examples', 'aarch32') dir_aarch64_traces = os.path.join(dir_tests, 'aarch64', 'traces') diff --git a/tools/test.py b/tools/test.py index 7a08ac1a..18af953c 100755 --- a/tools/test.py +++ b/tools/test.py @@ -341,6 +341,11 @@ def BuildAll(build_options, jobs): def RunBenchmarks(): rc = 0 + benchmark_names = util.ListCCFilesWithoutExt(config.dir_aarch32_benchmarks) + for bench in benchmark_names: + rc |= RunCommand( + [os.path.realpath( + join(config.dir_build_latest, 'benchmarks/aarch32', bench))]) benchmark_names = util.ListCCFilesWithoutExt(config.dir_aarch64_benchmarks) for bench in benchmark_names: rc |= RunCommand( |