66
77```
88rm -rf /global/cfs/cdirs/e3sm/www/forsyth/zppy_test_bundles_www/v2.LR.historical_0201
9- rm -rf /global/cscratch1/sd /forsyth/zppy_test_bundles_output/v2.LR.historical_0201/post
9+ rm -rf /global/cfs/cdirs/e3sm /forsyth/zppy_test_bundles_output/v2.LR.historical_0201/post
1010# Generate cfg
1111python tests/integration/utils.py
1212zppy -c tests/integration/generated/test_bundles.cfg
@@ -19,7 +19,7 @@ zppy -c tests/integration/generated/test_bundles.cfg
1919
2020```
2121rm -rf /global/cfs/cdirs/e3sm/www/forsyth/zppy_test_complete_run_www/v2.LR.historical_0201
22- rm -rf /global/cscratch1/sd /forsyth/zppy_test_complete_run_output/v2.LR.historical_0201/post
22+ rm -rf /global/cfs/cdirs/e3sm /forsyth/zppy_test_complete_run_output/v2.LR.historical_0201/post
2323# Generate cfg
2424python tests/integration/utils.py
2525zppy -c tests/integration/generated/test_complete_run.cfg
@@ -47,7 +47,7 @@ rm -rf /global/cfs/cdirs/e3sm/www/zppy_test_resources/expected_bundles
4747# Copy output so you don't have to rerun zppy to generate the output.
4848cp -r /global/cfs/cdirs/e3sm/www/forsyth/zppy_test_bundles_www/v2.LR.historical_0201 /global/cfs/cdirs/e3sm/www/zppy_test_resources/expected_bundles
4949mkdir -p /global/cfs/cdirs/e3sm/www/zppy_test_resources/expected_bundles/bundle_files
50- cp -r /global/cscratch1/sd /forsyth/zppy_test_bundles_output/v2.LR.historical_0201/post/scripts/bundle*.bash /global/cfs/cdirs/e3sm/www/zppy_test_resources/expected_bundles/bundle_files
50+ cp -r /global/cfs/cdirs/e3sm /forsyth/zppy_test_bundles_output/v2.LR.historical_0201/post/scripts/bundle*.bash /global/cfs/cdirs/e3sm/www/zppy_test_resources/expected_bundles/bundle_files
5151cd /global/cfs/cdirs/e3sm/www/zppy_test_resources/expected_bundles
5252# This file will list all the expected images.
5353find . -type f -name '*.png' > ../image_list_expected_bundles.txt
@@ -60,8 +60,16 @@ python -u -m unittest tests/integration/test_bundles.py
6060
6161```
6262cd <top level of zppy repo>
63+ chmod u+x tests/integration/generated/update_campaign_expected_files_cori-haswell.sh
6364./tests/integration/generated/update_campaign_expected_files_cori-haswell.sh
6465```
66+ This command also runs the test again.
67+ If the test fails on ` test_campaign_high_res_v1 ` , try running the lines of the loop manually:
68+ ```
69+ rm -rf /global/cfs/cdirs/e3sm/www/zppy_test_resources/test_campaign_high_res_v1_expected_files
70+ mkdir -p /global/cfs/cdirs/e3sm/www/zppy_test_resources/test_campaign_high_res_v1_expected_files
71+ mv test_campaign_high_res_v1_output/post/scripts/*.settings /global/cfs/cdirs/e3sm/www/zppy_test_resources/test_campaign_high_res_v1_expected_files
72+ ```
6573
6674### test_complete_run
6775
0 commit comments