Skip to content

Commit

Permalink
Merge pull request #171 from Goddard-Fortran-Ecosystem/hotfix/#170-fi…
Browse files Browse the repository at this point in the history
…x-test-path

Fixes #170.
  • Loading branch information
tclune authored Dec 10, 2019
2 parents 69d0f9b + d7f8588 commit 97ec8dc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions ChangeLog → ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
4.1.3 December 10, 2019
- Fix bug in add_pfunit_ctest() macro involving path
Only affects using with Intel MPI

4.1.2 December 07, 2019
- Fix minor bug related to OpenMP propagation

4.1.1 November 10, 2019
- Fix for #122 (allow add_pfunit_test() with abs path)

Expand Down
2 changes: 1 addition & 1 deletion include/add_pfunit_ctest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function (add_pfunit_ctest test_package_name)
endif()
add_test (NAME ${test_package_name}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMAND mpirun ${MPIEXEC_PREFLAGS} -np ${PF_TEST_MAX_PES} ${test_package_name}
COMMAND mpirun ${MPIEXEC_PREFLAGS} -np ${PF_TEST_MAX_PES} ${CMAKE_CURRENT_BINARY_DIR}/${test_package_name}
)
else()
target_link_libraries (${test_package_name} funit)
Expand Down

0 comments on commit 97ec8dc

Please sign in to comment.