Modifying the chef tests - SCOREC/core GitHub Wiki
Changing chef input files
- starting with a clean
meshes directory
- edit the
.inp files as needed in meshes
- backup the modified directory
cp -r meshes modified-inp
- run the tests
- if all tests pass then
- delete the dirty directory
- 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 to meshes/phasta/path/to/test/good_mesh
- backup the clean directory
cp -r meshes modified-inp-and-mesh
- goto 4