forked from TriBITSPub/TriBITS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set -DTribitsExMetaProj_SHOW_GIT_COMMIT_PARENTS=ON for multi-repo test (
TriBITSPub#597) This sets the option: -DTribitsExMetaProj_SHOW_GIT_COMMIT_PARENTS=ON in the inner CMake configuration with a multi-repo setup so we can test the extraction and printing of the parent commit info. This tests a call of the function tribits_generate_single_repo_version_string() for extra repos from the function tribits_generate_repo_version_file_string(). This test also validates that the correct Git commands are called since this uses real Git on a Git repos. The downside of this updated test is that it makes it a little more difficult to maintain these tests when we have to update these snapshotted Git repos.
- Loading branch information
1 parent
731841e
commit 548a0b9
Showing
2 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
.../TribitsExampleMetaProject/data/TribitsExMetaProjRepoVersion.for-testing.with-parents.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
*** Base Git Repo: TribitsExMetaProj | ||
863461e [Tue Sep 14 15:05:31 2021 -0600] <[email protected]> | ||
Merge branch 'tribits-github-snapshot' (TriBITSPub/TriBITS#299) | ||
*** Parent 1: | ||
e12aad9 [Fri Dec 11 16:17:18 2020 -0700] <[email protected]> | ||
Merge branch 'tribits-github-snapshot' (TriBITSPub/TriBITS#309) | ||
*** Parent 2: | ||
ed38a1f [Tue Sep 14 15:04:06 2021 -0600] <[email protected]> | ||
Automatic snapshot commit from TribitsExampleMetaProject at d1e4913 | ||
*** Git Repo: TribitsExampleProject | ||
94c2b12 [Tue Sep 14 15:18:55 2021 -0600] <[email protected]> | ||
Merge branch 'tribits-github-snapshot' (TriBITSPub/TriBITS#299) | ||
*** Parent 1: | ||
59c7057 [Fri Dec 11 16:23:46 2020 -0700] <[email protected]> | ||
Merge branch 'tribits-github-snapshot' | ||
*** Parent 2: | ||
da4197f [Tue Sep 14 15:11:39 2021 -0600] <[email protected]> | ||
Automatic snapshot commit from TribitsExampleProject at d95ddbd | ||
*** Git Repo: TribitsExampleProjectAddons | ||
d846ae1 [Tue Sep 14 15:23:39 2021 -0600] <[email protected]> | ||
Merge branch 'tribits-github-snapshot' (TriBITSPub/TriBITS#299) | ||
*** Parent 1: | ||
226a17e [Tue Feb 19 06:33:23 2019 -0700] <[email protected]> | ||
Update README file (tribitspub/tribits#278) | ||
*** Parent 2: | ||
08f06bb [Tue Sep 14 15:20:24 2021 -0600] <[email protected]> | ||
Automatic snapshot commit from TribitsExampleProjectAddons at abb6694 |