Author: rinrab
Date: Sun Jul 14 11:55:34 2024
New Revision: 1919218

URL: http://svn.apache.org/viewvc?rev=1919218&view=rev
Log:
On the 'cmake' branch: Rename SVN_BUILD_TEST option to SVN_BUILD_TESTS (added
's' at the end) to keep the naming style of the options.

* build/generator/gen_cmake.py
  CMakeLists.txt: Replace all SVN_BUILD_TEST to SVN_BUILD_TESTS.

Modified:
    subversion/branches/cmake/CMakeLists.txt
    subversion/branches/cmake/build/generator/gen_cmake.py

Modified: subversion/branches/cmake/CMakeLists.txt
URL: 
http://svn.apache.org/viewvc/subversion/branches/cmake/CMakeLists.txt?rev=1919218&r1=1919217&r2=1919218&view=diff
==============================================================================
--- subversion/branches/cmake/CMakeLists.txt (original)
+++ subversion/branches/cmake/CMakeLists.txt Sun Jul 14 11:55:34 2024
@@ -103,9 +103,9 @@ endif()
 
 option(SVN_BUILD_PROGRAMS "Build Subversion programs (such as svn.exe)" ON)
 option(SVN_BUILD_TOOLS "Build Subversion tools" OFF)
-option(SVN_BUILD_TEST "Build Subversion test-suite" OFF)
+option(SVN_BUILD_TESTS "Build Subversion test-suite" OFF)
 
-if (SVN_BUILD_TEST)
+if (SVN_BUILD_TESTS)
   enable_testing()
 endif()
 
@@ -387,7 +387,7 @@ message(STATUS "    Build RA SERF ......
 message(STATUS "    Build Apache Modules .......... : NOT IMPLEMENTED, HTTPD 
v2.4.68 (TODO:)")
 message(STATUS "    Build programs ................ : ${SVN_BUILD_PROGRAMS}")
 message(STATUS "    Build tools ................... : ${SVN_BUILD_PROGRAMS}")
-message(STATUS "    Build test suite .............. : ${SVN_BUILD_TEST}")
+message(STATUS "    Build test suite .............. : ${SVN_BUILD_TESTS}")
 message(STATUS "  Dependecies:")
 message(STATUS "    APR ........................... : ${APR_VERSION}")
 message(STATUS "    APR-Util ...................... : ${APRUTIL_VERSION}")

Modified: subversion/branches/cmake/build/generator/gen_cmake.py
URL: 
http://svn.apache.org/viewvc/subversion/branches/cmake/build/generator/gen_cmake.py?rev=1919218&r1=1919217&r2=1919218&view=diff
==============================================================================
--- subversion/branches/cmake/build/generator/gen_cmake.py (original)
+++ subversion/branches/cmake/build/generator/gen_cmake.py Sun Jul 14 11:55:34 
2024
@@ -83,7 +83,7 @@ class Generator(gen_base.GeneratorBase):
         continue
       elif isinstance(target, gen_base.TargetExe):
         if target.install == "test" or target.install == "sub-test":
-          enable_condition.append("SVN_BUILD_TEST")
+          enable_condition.append("SVN_BUILD_TESTS")
         elif target.install == "tools":
           enable_condition.append("SVN_BUILD_TOOLS")
         else:


Reply via email to