mirror of
https://github.com/google/googletest.git
synced 2025-12-08 17:56:50 +08:00
Seem to need this change to the PYTHONPATH to permit googletest's python tests to be able to include gtest_test_utils from googletest.test
This commit is contained in:
parent
37e5e2e430
commit
ae025daee7
@ -290,7 +290,7 @@ function(py_test name)
|
||||
--build_dir=${build_dir} ${ARGN})
|
||||
|
||||
# Make the Python import path consistent between Bazel and CMake.
|
||||
set_tests_properties(${name} PROPERTIES ENVIRONMENT PYTHONPATH=${CMAKE_SOURCE_DIR})
|
||||
set_tests_properties(${name} PROPERTIES ENVIRONMENT PYTHONPATH=${CMAKE_SOURCE_DIR}/..)
|
||||
endfunction()
|
||||
|
||||
# install_project(targets...)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user