[llvm-exegesis][mips] Add BenchmarkResultTest unit test
authorMiloš Stojanović <Milos.Stojanovic@rt-rk.com>
Fri, 13 Dec 2019 16:02:19 +0000 (17:02 +0100)
committerMiloš Stojanović <Milos.Stojanovic@rt-rk.com>
Fri, 13 Dec 2019 16:02:19 +0000 (17:02 +0100)
commit84728e65e95b78880ad65bd035fdee36e143265a
tree2c146cb94aa282a5b21002be24e23d66cca8145e
parentb60896fad926754f715acc5d771555aaaa577e0f
[llvm-exegesis][mips] Add BenchmarkResultTest unit test

Test writing and reading benchmark instructions to and from disc, and
check calculations of min, max and avg values from a list of benchmark
measures.

Differential Revision: https://reviews.llvm.org/D71265
llvm/unittests/tools/llvm-exegesis/Mips/BenchmarkResultTest.cpp [new file with mode: 0644]
llvm/unittests/tools/llvm-exegesis/Mips/CMakeLists.txt