pytest-cmake 0.11.1__tar.gz → 0.11.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: pytest-cmake
3
- Version: 0.11.1
3
+ Version: 0.11.3
4
4
  Summary: Provide CMake module for Pytest
5
5
  Project-URL: Documentation, https://python-cmake.github.io/pytest-cmake
6
6
  Project-URL: Repository, https://github.com/python-cmake/pytest-cmake
@@ -29,7 +29,7 @@ if(CMAKE_SCRIPT_MODE_FILE)
29
29
  # Macro to create individual tests with optional test properties.
30
30
  macro(create_test NAME IDENTIFIER)
31
31
  string(APPEND _content
32
- "add_test(\"${NAME}\" \"${PYTEST_EXECUTABLE}\" \"${IDENTIFIER}\")\n"
32
+ "add_test([==[${NAME}]==] \"${PYTEST_EXECUTABLE}\" [==[${IDENTIFIER}]==])\n"
33
33
  )
34
34
 
35
35
  # Prepare the properties for the test, including the environment settings.
@@ -45,12 +45,12 @@ if(CMAKE_SCRIPT_MODE_FILE)
45
45
  endforeach()
46
46
 
47
47
  # Append the test properties to the content.
48
- string(APPEND _content "set_tests_properties(\"${NAME}\" ${args})\n")
48
+ string(APPEND _content "set_tests_properties([==[${NAME}]==] ${args})\n")
49
49
  endmacro()
50
50
 
51
51
  # If tests are bundled together, create a single test group.
52
52
  if (BUNDLE_TESTS)
53
- create_test("${TEST_GROUP_NAME}" "${WORKING_DIRECTORY}")
53
+ create_test("\${TEST_GROUP_NAME}" "\${WORKING_DIRECTORY}")
54
54
 
55
55
  else()
56
56
  # Set environment variables for collecting tests.
@@ -133,7 +133,7 @@ if(CMAKE_SCRIPT_MODE_FILE)
133
133
  set(test_case "${WORKING_DIRECTORY}/${line}")
134
134
 
135
135
  # Create the test for CTest.
136
- create_test("${test_name}" "${test_case}")
136
+ create_test("\${test_name}" "\${test_case}")
137
137
  endforeach()
138
138
 
139
139
  # Warn if no tests were discovered.
@@ -9,7 +9,7 @@ backend-path = ["."]
9
9
 
10
10
  [project]
11
11
  name = "pytest-cmake"
12
- version = "0.11.1"
12
+ version = "0.11.3"
13
13
  description = "Provide CMake module for Pytest"
14
14
  readme = "README.md"
15
15
  requires-python = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, <4"
@@ -60,7 +60,7 @@ class CreateCmakeConfig(install):
60
60
 
61
61
  setup(
62
62
  name="pytest-cmake",
63
- version="0.11.1",
63
+ version="0.11.3",
64
64
  data_files=[
65
65
  (
66
66
  "share/Pytest/cmake",
File without changes
File without changes
File without changes