src/workflow/RunCleanup.cpp
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | /*********************************************************************************************************************** | ||
| 2 | * OpenStudio(R), Copyright (c) Alliance for Energy Innovation, LLC. | ||
| 3 | * See also https://openstudio.net/license | ||
| 4 | ***********************************************************************************************************************/ | ||
| 5 | |||
| 6 | #include "OSWorkflow.hpp" | ||
| 7 | |||
| 8 | #include "Util.hpp" | ||
| 9 | |||
| 10 | namespace openstudio { | ||
| 11 | |||
| 12 | 12 | void OSWorkflow::runCleanup() { | |
| 13 | 12 | state = State::Cleanup; | |
| 14 | |||
| 15 |
5/5✓ Branch 1 taken 12 times.
✓ Branch 4 taken 12 times.
✓ Branch 7 taken 12 times.
✓ Branch 10 taken 12 times.
✓ Branch 13 taken 12 times.
|
12 | LOG(Info, "Beginning cleanup of the run directory"); |
| 16 |
2/2✓ Branch 1 taken 12 times.
✓ Branch 4 taken 12 times.
|
12 | openstudio::workflow::util::cleanup(workflowJSON.absoluteRunDir()); |
| 17 |
5/5✓ Branch 1 taken 12 times.
✓ Branch 4 taken 12 times.
✓ Branch 7 taken 12 times.
✓ Branch 10 taken 12 times.
✓ Branch 13 taken 12 times.
|
12 | LOG(Info, "Finished cleanup of the run directory"); |
| 18 | 12 | } | |
| 19 | |||
| 20 | } // namespace openstudio | ||
| 21 |