Commit Graph

3 Commits

Author SHA1 Message Date
Christian Stenger
4797111a4d AutoTest: Fix detection of GTEST_TEST
Googletest allows specifying tests with the
GTEST_TEST macro which was ignored until now.

Fixes: QTCREATORBUG-23228
Change-Id: I7dffab890e002000b32f7cd5b7444dc06fabe35a
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-11-19 05:46:11 +00:00
Christian Stenger
aee959ea1d AutoTest: Add gtest filter mode
This adds another grouping mode to the gtest framework based on
gtest filtering. You can now specify a filter that will be used
to group the gtest tree items into matching and non-matching
tests.

Change-Id: Iaf0e55c9e57e2720f4fa84ab4b51ecaeb614df88
Reviewed-by: David Schulz <david.schulz@qt.io>
2018-04-12 08:27:11 +00:00
Christian Stenger
c07c4eb068 AutoTest: Avoid concurrent access on static function members
First thread using the helper function initialized the list
object another thread accesses it afterwards. This could be
problematic under some circumstances.

Issue was detected using Helgrind.

Change-Id: I1520b1f7364742cb02630af1fd9d98960dec1f41
Reviewed-by: David Schulz <david.schulz@qt.io>
2016-11-08 13:44:51 +00:00