summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/thread
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2021-10-04 17:16:51 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2021-10-06 13:34:17 +0200
commit2c3617dfcb4a5230f51f2d2b2eac0e1fb26206cd (patch)
tree6526067cd67057db8d649695194fd193053e4ecc /tests/auto/corelib/thread
parent816c5de460439faac0745cb364c374162b7fc651 (diff)
Always enable QRegularExpression's JIT when testing
Given on most CI configurations we run tests only on debug builds, this means that effectively we don't test JIT paths (JIT is kept disabled in debug builds). To keep it enabled in a test, we have a few options: * export a developer-build-only variable from QtCore, to force JIT usage, and set it in the test. This is still suboptimal as many configurations aren't using developer builds in the first place; * use the already existing QT_REGEXP_USE_JIT environment variable, setting it from CMake/CTest. The problem here is that although add_test does support it, we don't expose it through our wrapper functions; * just set that env variable from within the test itself. I went for this option. Change-Id: I73abfb7fc0d76ec77e881f24c5daf5be304ab948 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/thread')
0 files changed, 0 insertions, 0 deletions