Skip to content

Commit

Permalink
Find python3 in cmake, fix warning (#328)
Browse files Browse the repository at this point in the history
* Also use python3 in test

Signed-off-by: Steve Peters <[email protected]>
  • Loading branch information
scpeters authored and chapulina committed Sep 3, 2020
1 parent e9939a5 commit fb50d22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmake/SearchForStuff.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ endif()
################################################
# Find the Python interpreter for running the
# check_test_ran.py script
find_package(PythonInterp QUIET)
find_package(PythonInterp 3 QUIET)

################################################
# Find psutil python package for memory tests
Expand Down
2 changes: 1 addition & 1 deletion test/integration/element_memory_leak.cc
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const std::string sdfString(

const std::string getMemInfoPath =
sdf::filesystem::append(PROJECT_SOURCE_PATH, "tools", "get_mem_info.py");
const std::string pythonMeminfo("python " + getMemInfoPath);
const std::string pythonMeminfo("python3 " + getMemInfoPath);

int getMemoryUsage()
{
Expand Down

0 comments on commit fb50d22

Please sign in to comment.