diff --git a/Modules/FindGTest.cmake b/Modules/FindGTest.cmake
index 1bcd469..74ec560 100644
--- a/Modules/FindGTest.cmake
+++ b/Modules/FindGTest.cmake
@@ -79,8 +79,13 @@ function(GTEST_ADD_TESTS executable extra_args)
         file(READ "${source}" contents)
         string(REGEX MATCHALL "TEST_?F?\\(([A-Za-z_0-9 ,]+)\\)" found_tests ${contents})
         foreach(hit ${found_tests})
-            string(REGEX REPLACE ".*\\( *([A-Za-z_0-9]+), *([A-Za-z_0-9]+) *\\).*" "\\1.\\2" test_name ${hit})
-            add_test(${test_name} ${executable} --gtest_filter=${test_name} ${extra_args})
+            string(REGEX REPLACE ".*\\(([A-Za-z_0-9]+)[, ]*([A-Za-z_0-9]+)\\).*" "\\1.\\2" test_name ${hit})
+            # checks if test is disabled
+            if (NOT ${test_name} MATCHES "^DISABLED_|\\.DISABLED_")
+                add_test(${test_name} ${executable} --gtest_filter=${test_name} ${extra_args})
+            else()
+                message("Test ${test_name} is _not_ added.")
+            endif()
         endforeach()
     endforeach()
 endfunction()
