diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-08-08 02:04:59 -0600 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-08-08 02:04:59 -0600 |
commit | ee54a3f03e66f69d9355013486f3d5e963a36dd4 (patch) | |
tree | 5e42fbefd57da86d3415bce60662f690c7d25944 /test | |
parent | cfd717e43be63ba778cc50eb8716e22065629246 (diff) | |
download | google-benchmark-ee54a3f03e66f69d9355013486f3d5e963a36dd4.tar.gz |
Rework Appveyor config
Currently the Appveyor bot is a PIT. It never passes and it often hangs
or gives very poor output. This patch rewrites the configuration.
This patch also attempts to fix a flaky complexity test as a drive-by.
Diffstat (limited to 'test')
-rw-r--r-- | test/complexity_test.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/complexity_test.cc b/test/complexity_test.cc index 6e903fb..db04183 100644 --- a/test/complexity_test.cc +++ b/test/complexity_test.cc @@ -160,6 +160,9 @@ int AddComplexityTest(std::vector<TestCase>* console_out, std::vector<TestCase>* void BM_Complexity_O1(benchmark::State& state) { while (state.KeepRunning()) { + for (int i=0; i < 1024; ++i) { + benchmark::DoNotOptimize(&i); + } } state.SetComplexityN(state.range(0)); } |