Skip to content

Commit

Permalink
Renamed test TribitsHelloWorld_config_git_version (#597)
Browse files Browse the repository at this point in the history
Renamed the test TribitsHelloWorld_config_git_version to TribitsHelloWorld_config_git_version_single_repo_one_parent
to correctly state the scope of the test and allow for future similar tests with slightly a difference scopes
(such as single_repo_two_parents, multi_repo_one_parent, etc).
  • Loading branch information
achauphan committed Jan 12, 2024
1 parent 1db9378 commit ebd6c6f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/core/ExamplesUnitTests/TribitsHelloWorld_Tests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ tribits_add_advanced_test( TribitsHelloWorld
)


tribits_add_advanced_test( TribitsHelloWorld_config_git_version
tribits_add_advanced_test( TribitsHelloWorld_config_git_version_single_repo_one_parent
OVERALL_WORKING_DIRECTORY TEST_NAME
OVERALL_NUM_MPI_PROCS 1
XHOST Windows # We use the 'diff' command below :-(
Expand All @@ -55,7 +55,7 @@ tribits_add_advanced_test( TribitsHelloWorld_config_git_version

TEST_2
CMND ${CMAKE_COMMAND} ARGS -E copy
${CMAKE_CURRENT_SOURCE_DIR}/configure_git_mockprogram_files/mockprogram_inout.single_version.txt
${CMAKE_CURRENT_SOURCE_DIR}/configure_git_mockprogram_files/mockprogram_inout.single_repo_one_parent_version.txt
TribitsHelloWorld/.mockprogram_inout.txt

TEST_3
Expand All @@ -75,7 +75,7 @@ tribits_add_advanced_test( TribitsHelloWorld_config_git_version

TEST_4
CMND diff ARGS
${CMAKE_CURRENT_SOURCE_DIR}/configure_git_mockprogram_files/TribitsHelloWorldRepoVersion.single_version.txt
${CMAKE_CURRENT_SOURCE_DIR}/configure_git_mockprogram_files/TribitsHelloWorldRepoVersion.single_repo_one_parent_version.txt
BUILD/TribitsHelloWorldRepoVersion.txt

)
Expand Down

0 comments on commit ebd6c6f

Please sign in to comment.