Skip to content

Modifying the chef tests

Cameron Smith edited this page Jul 10, 2016 · 6 revisions

Changing chef input files

  1. starting with a clean meshes directory
  2. edit the .inp files as needed in meshes
  3. cp -r meshes modified-inp
  4. run the test
  5. if all tests pass then
  6. rm -rf meshes
  7. cp -r modified-inp meshes
  8. tar czf pumi_test_meshes.tar.gz meshes
  9. upload the tarball
  10. if a mesh comparison test fails
  11. check if the newly generated mesh is correct
  12. cp -r meshes meshes_working
  13. cp -r modified-inp meshes
  14. copy the newly generated mesh to meshes/phasta/path/to/test/good_mesh
  15. cp -r meshes modified-inp-and-mesh
  16. goto 4
Clone this wiki locally