Skip to content

Commit

Permalink
place example cali files in Example folder
Browse files Browse the repository at this point in the history
  • Loading branch information
yu-nix committed Jul 24, 2023
1 parent f10f045 commit b12239d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cmake/SundialsSetupTesting.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ if(SUNDIALS_TEST_DEVTESTS)
# If a non-default caliper output directory was provided make sure it exists
if(SUNDIALS_CALIPER_OUTPUT_DIR)
message(STATUS "Using non-default caliper output directory: ${SUNDIALS_CALIPER_OUTPUT_DIR}")
if(NOT EXISTS ${SUNDIALS_CALIPER_OUTPUT_DIR}/Testing/${JOB_ID})
file(MAKE_DIRECTORY ${SUNDIALS_CALIPER_OUTPUT_DIR}/Testing/${JOB_ID})
if(NOT EXISTS ${SUNDIALS_CALIPER_OUTPUT_DIR}/Example/${JOB_ID})
file(MAKE_DIRECTORY ${SUNDIALS_CALIPER_OUTPUT_DIR}/Example/${JOB_ID})
endif()
endif()

Expand Down
4 changes: 2 additions & 2 deletions cmake/macros/SundialsAddTest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ macro(SUNDIALS_ADD_TEST NAME EXECUTABLE)
if(SUNDIALS_TEST_PROFILE)
list(APPEND TEST_ARGS "--profile")
if (SUNDIALS_CALIPER_OUTPUT_DIR)
list(APPEND TEST_ARGS "--calidir=${SUNDIALS_CALIPER_OUTPUT_DIR}/Testing/${JOB_ID}")
list(APPEND TEST_ARGS "--calidir=${SUNDIALS_CALIPER_OUTPUT_DIR}/Example/${JOB_ID}")
else()
list(APPEND TEST_ARGS "--calidir=${TEST_OUTPUT_DIR}/Caliper/Testing")
list(APPEND TEST_ARGS "--calidir=${TEST_OUTPUT_DIR}/Caliper/Example")
endif()
endif()

Expand Down

0 comments on commit b12239d

Please sign in to comment.