Skip to content

Commit

Permalink
Merge pull request #58 from ORNL-Fusion/find_python
Browse files Browse the repository at this point in the history
Find python
  • Loading branch information
cianciosa authored Sep 13, 2024
2 parents f63219e + cbbc59e commit 8c2ba8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Testing/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# The python interpreter may not be in the same location on all systems.
find_package (PythonInterp)
find_package (Python3 COMPONENTS Interpreter REQUIRED)

set (TEST_SCRIPT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/test_utilities)

Expand Down
2 changes: 1 addition & 1 deletion Testing/tests/niter_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ set_tests_properties (niter_test
PROCESSORS $<TARGET_PROPERTY:stell,MPIEXEC_MAX_NUMPROCS>)

add_test (NAME niter_check_wout_test
COMMAND ${PYTHON_EXECUTABLE} ${TEST_SCRIPT_DIR}/check_file.py --file=${CMAKE_CURRENT_BINARY_DIR}/wout_test.vmec.nc)
COMMAND ${Python3_EXECUTABLE} ${TEST_SCRIPT_DIR}/check_file.py --file=${CMAKE_CURRENT_BINARY_DIR}/wout_test.vmec.nc)
set_tests_properties (niter_check_wout_test
PROPERTIES
DEPENDS niter_test)

0 comments on commit 8c2ba8c

Please sign in to comment.