]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Rename producttest to test
authorJoel Rosdahl <joel@rosdahl.net>
Tue, 23 Jun 2020 19:59:51 +0000 (21:59 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Tue, 23 Jun 2020 20:04:52 +0000 (22:04 +0200)
I don’t see a value in the prefix.

test/CMakeLists.txt

index 889ddf6610a24172815e8c21a9f23caf821d98c6..d3e3b1824033cce7afc9931a6afe311e7b40834a 100644 (file)
@@ -1,11 +1,11 @@
 function(addtest name)
   add_test(
-    NAME "producttest.${name}"
+    NAME "test.${name}"
     COMMAND ${CMAKE_SOURCE_DIR}/test/run ${name}
     WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
   )
   set_tests_properties(
-    "producttest.${name}"
+    "test.${name}"
     PROPERTIES
     ENVIRONMENT "CCACHE=${CMAKE_BINARY_DIR}/ccache;EXIT_IF_SKIPPED=true")
 
@@ -14,12 +14,12 @@ function(addtest name)
     # parsing output for those cases (exit code is not considered). Skipped
     # tests will appear as "Passed".
     set_tests_properties(
-      "producttest.${name}"
+      "test.${name}"
       PROPERTIES
       PASS_REGULAR_EXPRESSION "PASSED|Passed|Skipped"
       FAIL_REGULAR_EXPRESSION "[Ww]arning|[Ff]ail|[Er]rror")
   else()
-    set_tests_properties("producttest.${name}" PROPERTIES SKIP_RETURN_CODE 125)
+    set_tests_properties("test.${name}" PROPERTIES SKIP_RETURN_CODE 125)
   endif()
 
 endfunction()