summaryrefslogtreecommitdiff
path: root/src/config_file.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2017-06-07 11:06:01 +0200
committerPatrick Steinhardt <ps@pks.im>2018-01-03 11:50:39 +0000
commit543ec149b86a68e12dd141a6141e82850dabbf21 (patch)
tree3650d063ac0015cfd79f38ccf53b71148085cb51 /src/config_file.c
parentb8c14499f9940feaab08a23651a2ef24d27b17b7 (diff)
downloadlibgit2-543ec149b86a68e12dd141a6141e82850dabbf21.tar.gz
tests: perf: build but exclude performance tests by default
Our performance tests (or to be more concrete, our single performance test) are not built by default, as they are always #ifdef'd out. While it is true that we don't want to run performance tests by default, not compiling them at all may cause code rot and is thus an unfavorable approach to handle this. We can easily improve this situation: this commit removes the #ifdef, causing the code to always be compiled. Furthermore, we add `-xperf` to the default command line parameters of `generate.py`, thus causing the tests to be excluded by default. Due to this approach, we are now able to execute the performance tests by passing `-sperf` to `libgit2_clar`. Unfortunately, we cannot execute the performance tests on Travis or AppVeyor as they rely on history being available for the libgit2 repository. As both do a shallow clone only, though, this is not given.
Diffstat (limited to 'src/config_file.c')
0 files changed, 0 insertions, 0 deletions