diff --git a/tests/unit/discover_gtest_tests.cpp b/tests/unit/discover_gtest_tests.cpp index 9f9ecdb2529..e23425dd1d2 100644 --- a/tests/unit/discover_gtest_tests.cpp +++ b/tests/unit/discover_gtest_tests.cpp @@ -72,6 +72,10 @@ int main (int argc, char **argv) string endParen (".*\")"); testfilecmake << addTest << testCases[i] << testExec << gTestFilter << testCases[i] << endParen << endl; + + string setTestsProp ("SET_TESTS_PROPERTIES (unit-"); + string properties (" PROPERTIES LABELS \"unit\")"); + testfilecmake << setTestsProp << testCases[i] << properties << endl; } }