OpenMC/tests/cleanup
2014-03-05 17:28:52 -05:00

10 lines
357 B
Bash
Executable file

#!/bin/bash
# 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.
find . \( -name "*.binary" -o -name "*.h5" \) -exec rm -f {} \;