From ebd6c6fc2040df76e8f70b0daccf047904637c4f Mon Sep 17 00:00:00 2001 From: Anderson Chauphan Date: Wed, 10 Jan 2024 17:22:36 -0700 Subject: [PATCH] Renamed test TribitsHelloWorld_config_git_version (#597) 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). --- test/core/ExamplesUnitTests/TribitsHelloWorld_Tests.cmake | 6 +++--- ...elloWorldRepoVersion.single_repo_one_parent_version.txt} | 0 ...=> mockprogram_inout.single_repo_one_parent_version.txt} | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename test/core/ExamplesUnitTests/configure_git_mockprogram_files/{TribitsHelloWorldRepoVersion.single_version.txt => TribitsHelloWorldRepoVersion.single_repo_one_parent_version.txt} (100%) rename test/core/ExamplesUnitTests/configure_git_mockprogram_files/{mockprogram_inout.single_version.txt => mockprogram_inout.single_repo_one_parent_version.txt} (100%) diff --git a/test/core/ExamplesUnitTests/TribitsHelloWorld_Tests.cmake b/test/core/ExamplesUnitTests/TribitsHelloWorld_Tests.cmake index 6ab244848..35aa9c4e3 100644 --- a/test/core/ExamplesUnitTests/TribitsHelloWorld_Tests.cmake +++ b/test/core/ExamplesUnitTests/TribitsHelloWorld_Tests.cmake @@ -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 :-( @@ -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 @@ -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 ) diff --git a/test/core/ExamplesUnitTests/configure_git_mockprogram_files/TribitsHelloWorldRepoVersion.single_version.txt b/test/core/ExamplesUnitTests/configure_git_mockprogram_files/TribitsHelloWorldRepoVersion.single_repo_one_parent_version.txt similarity index 100% rename from test/core/ExamplesUnitTests/configure_git_mockprogram_files/TribitsHelloWorldRepoVersion.single_version.txt rename to test/core/ExamplesUnitTests/configure_git_mockprogram_files/TribitsHelloWorldRepoVersion.single_repo_one_parent_version.txt diff --git a/test/core/ExamplesUnitTests/configure_git_mockprogram_files/mockprogram_inout.single_version.txt b/test/core/ExamplesUnitTests/configure_git_mockprogram_files/mockprogram_inout.single_repo_one_parent_version.txt similarity index 100% rename from test/core/ExamplesUnitTests/configure_git_mockprogram_files/mockprogram_inout.single_version.txt rename to test/core/ExamplesUnitTests/configure_git_mockprogram_files/mockprogram_inout.single_repo_one_parent_version.txt