-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve error reporting in aliBuild clean (#814)
* Improve error reporting in aliBuild clean 1. Report the actual error when cleanup fails. 2. Keep going when one directory can't be deleted. This should stop one failing dir from completely blocking all cleanup in CI. 3. Use logging to show messages, to match the rest of aliBuild. 4. Fix decideClean docstring to match its code. 5. Adjust tests to match. * Test that no files are deleted if none exist * Test that all directories are attempted to be deleted ...even if some fail. * Avoid repetition in doClean unittest
- Loading branch information
1 parent
833dd30
commit 669252d
Showing
2 changed files
with
99 additions
and
52 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