mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
added cleanup script to remove all binary files from directories
This commit is contained in:
parent
e3a45bce3b
commit
e63746cdb8
1 changed files with 14 additions and 0 deletions
14
tests/cleanup.bash
Executable file
14
tests/cleanup.bash
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
# This simple script ensures that all binary
|
||||
# output files have been deleted in all the
|
||||
# folders. This can occur if a previous error
|
||||
# occurred and the test suite was rerun without
|
||||
# deleting left over binary files. This will
|
||||
# cause an assertion error in some of the
|
||||
# tests.
|
||||
for i in ./*; do
|
||||
if [ -d "$i" ]; then
|
||||
cd $i
|
||||
rm -f *.binary *.h5
|
||||
cd ..
|
||||
fi
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue