-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ML] Preserve test report if unit tests fail inside Docker (#300)
If the only thing that goes wrong with a Docker build is unit test failures then we want to keep the cppunit_results.xml files that store the details of the failure. Prior to this change these files were getting lost because the Docker container was discarded on the first non-zero exit code. Following this change the status of the unit tests is stored in a status file and a non-zero exit code of the unit tests suppressed within the Docker container. Then the outer script checks the status file after copying out the cppunit_results.xml files.
- Loading branch information
1 parent
7e672a7
commit 0328bdb
Showing
2 changed files
with
13 additions
and
4 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