svn commit: r1922118 - /subversion/trunk/CMakeLists.txt

[email protected]
Newsgroups gmane.comp.version-control.subversion.svn
Message-ID <[email protected]>
Author: rinrab
Date: Tue Nov 26 13:25:08 2024
New Revision: 1922118

URL: http://svn.apache.org/viewvc?rev=1922118&view=rev
Log:
cmake: follow-up to r1922117: Separate py_test_abspath and py_test_relpath
variables everywhere; I forgot to save file before commit.

* CMakeLists.txt
  (foreach PYTHON_TESTS): Replace py_test_path with py_test_abspath.

Modified:
    subversion/trunk/CMakeLists.txt

Modified: subversion/trunk/CMakeLists.txt
URL: http://svn.apache.org/viewvc/subversion/trunk/CMakeLists.txt?rev=1922118&r1=1922117&r2=1922118&view=diff
==============================================================================
--- subversion/trunk/CMakeLists.txt (original)
+++ subversion/trunk/CMakeLists.txt Tue Nov 26 13:25:08 2024
@@ -800,7 +800,7 @@ if(SVN_ENABLE_TESTS)
   foreach(py_test_abspath ${PYTHON_TESTS})
     # Keep `.py'.
     get_filename_component(py_test_name ${py_test_abspath} NAME_WLE)
-    file(RELATIVE_PATH py_test_relpath ${CMAKE_CURRENT_SOURCE_DIR} ${py_test_path})
+    file(RELATIVE_PATH py_test_relpath ${CMAKE_CURRENT_SOURCE_DIR} ${py_test_abspath})
     set(binary_dir $<TARGET_FILE_DIR:svn>)
 
     if(EXPAND_TESTS)
@@ -812,7 +812,7 @@ if(SVN_ENABLE_TESTS)
           --list
           ${CMAKE_CURRENT_SOURCE_DIR}
           ${binary_dir}
-          ${py_test_path}
+          ${py_test_abspath}
           OUTPUT_VARIABLE tests_list_output
       )
       string(REGEX MATCHALL "\n *([0-9]+)" tests_list ${tests_list_output})
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.