-
Notifications
You must be signed in to change notification settings - Fork 64
Modifying the chef tests
Cameron Smith edited this page Jul 10, 2016
·
6 revisions
- starting with a clean
meshes
directory - edit the
.inp
files as needed inmeshes
- backup the modified directory
cp -r meshes modified-inp
- run the tests
ctest
- if all tests pass then
- delete the dirty directory
rm -rf meshes
- restore the clean directory
cp -r modified-inp meshes
- create the tarball
tar czf pumi_test_meshes.tar.gz meshes
- upload the tarball
- if a mesh comparison test fails
- check if the newly generated mesh is correct
- backup the dirty directory
cp -r meshes meshes_dirty
- restore the clean directory
cp -r modified-inp meshes
- copy the newly generated mesh from
meshes_dirty/phasta/path/to/test/*out_mesh
tomeshes/phasta/path/to/test/good_mesh
- backup the clean directory
cp -r meshes modified-inp-and-mesh
- goto 4