forked from PixarAnimationStudios/OpenUSD
-
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.
[testing] output failed diffs (image or text) to a common dir
Diagnosing issues with failed diffs (particularly image diffs) can be difficult because the generated output files are in a randomly named temporary directory, which can be difficult to locate. With this change, for each failed diff, these files are created: ${CMAKE_BINARY_DIR}/Testing/Failed-Diffs/${TEST_NAME}/${filename}.result.${ext} ${CMAKE_BINARY_DIR}/Testing/Failed-Diffs/${TEST_NAME}/${filename}.baseline.${ext}
- Loading branch information
Showing
4 changed files
with
93 additions
and
18 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
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,9 @@ | ||
# set a timestamp id to identify this run of tests in the environment, if not | ||
# already set | ||
if (NOT DEFINED ENV{PXR_CTEST_RUN_ID}) | ||
# otherwise, | ||
# Note - can't use default format for TIMESTAMP, as it contains ":", which | ||
# isn't allowed in windows filepaths | ||
string(TIMESTAMP _current_time "%Y-%m-%dT%H.%M.%S") | ||
set(ENV{PXR_CTEST_RUN_ID} ${_current_time}) | ||
endif() |
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
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