@@ -295,12 +295,12 @@ help:
295295 @echo " unittest - Run unit tests (adds to coverage results)"
296296 @echo " functiontest - Run function tests (adds to coverage results)"
297297 @echo " test - Run unit and function tests (adds to coverage results)"
298- @echo " end2end_mocked - Run end2end tests against example mock environments (adds to coverage results)"
298+ @echo " end2end_mocked - Run end2end tests against example mock environments (adds to coverage results, checks blanked-out properties in log )"
299299 @echo " installtest - Run install tests"
300300 @echo " build - Build the distribution files in: $( dist_dir) "
301301 @echo " builddoc - Build documentation in: $( doc_build_dir) "
302302 @echo " all - Do all of the above"
303- @echo " end2end - Run end2end tests (adds to coverage results)"
303+ @echo " end2end - Run end2end tests (adds to coverage results, checks blanked-out properties in log )"
304304 @echo " end2end_show - Show HMCs defined for end2end tests"
305305 @echo " end2end_check - Check access to all HMCs defined in your HMC inventory file for end2end tests"
306306 @echo " authors - Generate AUTHORS.md file from git log"
@@ -703,15 +703,19 @@ endif
703703
704704.PHONY : end2end
705705end2end : $(done_dir ) /develop_$(pymn ) _$(PACKAGE_LEVEL ) .done $(package_py_files ) $(test_end2end_py_files ) $(test_common_py_files ) $(coverage_config_file )
706- bash -c " PYTHONPATH=. TESTEND2END_LOAD=true coverage run --append -m pytest -v -m 'not check_hmcs' $( pytest_general_opts) $( pytest_test_opts) $( test_dir) /end2end"
706+ -$(call RM_FUNC,end2end.log)
707+ bash -c " PYTHONPATH=. TESTLOGFILE=end2end.log TESTEND2END_LOAD=true coverage run --append -m pytest -v -m 'not check_hmcs' $( pytest_general_opts) $( pytest_test_opts) $( test_dir) /end2end"
707708 coverage html
709+ bash -c " tools/check_blanked.py --accept-null end2end.log"
708710 @echo " Makefile: $@ done."
709711
710712# TODO: Enable rc checking again once the remaining issues are resolved
711713.PHONY : end2end_mocked
712714end2end_mocked : $(done_dir ) /develop_$(pymn ) _$(PACKAGE_LEVEL ) .done $(package_py_files ) $(test_end2end_py_files ) $(test_common_py_files ) $(coverage_config_file ) tests/end2end/mocked_inventory.yaml tests/end2end/mocked_vault.yaml tests/end2end/mocked_hmc_z16.yaml
713- bash -c " PYTHONPATH=. TESTEND2END_LOAD=true TESTINVENTORY=tests/end2end/mocked_inventory.yaml TESTVAULT=tests/end2end/mocked_vault.yaml coverage run --append -m pytest -v -m 'not check_hmcs' $( pytest_general_opts) $( pytest_test_opts) $( test_dir) /end2end"
715+ -$(call RM_FUNC,end2end.log)
716+ bash -c " PYTHONPATH=. TESTLOGFILE=end2end.log TESTEND2END_LOAD=true TESTINVENTORY=tests/end2end/mocked_inventory.yaml TESTVAULT=tests/end2end/mocked_vault.yaml coverage run --append -m pytest -v -m 'not check_hmcs' $( pytest_general_opts) $( pytest_test_opts) $( test_dir) /end2end"
714717 coverage html
718+ bash -c " tools/check_blanked.py --accept-null end2end.log"
715719 @echo " Makefile: $@ done."
716720
717721.PHONY : authors
0 commit comments