@@ -429,18 +429,6 @@ then
429429 log_fail
430430fi
431431
432- echo -e " \n----------------------------------------------------------------------------------"
433- echo " slsa-framework/slsa-verifier: Analyzing the repo path when automatic dependency resolution is skipped"
434- echo " and provenance checks are excluded."
435- echo -e " ----------------------------------------------------------------------------------\n"
436- JSON_RESULT=$WORKSPACE /output/reports/github_com/slsa-framework/slsa-verifier/slsa-verifier.json
437- JSON_EXPECTED=$WORKSPACE /tests/e2e/expected_results/slsa-verifier/slsa-verifier_provenance_checks_excluded.json
438- DEFAULTS_FILE=$WORKSPACE /tests/e2e/configurations/exclude_provenance_checks.ini
439-
440- $RUN_MACARON -dp $DEFAULTS_FILE analyze -rp https://github.com/slsa-framework/slsa-verifier -b main -d fc50b662fcfeeeb0e97243554b47d9b20b14efac --skip-deps || log_fail
441-
442- $COMPARE_JSON_OUT $JSON_RESULT $JSON_EXPECTED || log_fail
443-
444432# Testing the CUE provenance expectation verifier.
445433echo -e " \n----------------------------------------------------------------------------------"
446434echo " Test verifying CUE provenance expectation."
@@ -473,6 +461,18 @@ POLICY_FILE=$WORKSPACE/tests/policy_engine/resources/policies/valid/slsa-verifie
473461POLICY_RESULT=$WORKSPACE /output/policy_report.json
474462POLICY_EXPECTED=$WORKSPACE /tests/policy_engine/expected_results/policy_report.json
475463
464+ echo -e " \n----------------------------------------------------------------------------------"
465+ echo " slsa-framework/slsa-verifier: Analyzing the repo path when automatic dependency resolution is skipped"
466+ echo " and provenance checks are excluded."
467+ echo -e " ----------------------------------------------------------------------------------\n"
468+ JSON_RESULT=$WORKSPACE /output/reports/github_com/slsa-framework/slsa-verifier/slsa-verifier.json
469+ JSON_EXPECTED=$WORKSPACE /tests/e2e/expected_results/slsa-verifier/slsa-verifier_provenance_checks_excluded.json
470+ DEFAULTS_FILE=$WORKSPACE /tests/e2e/configurations/exclude_provenance_checks.ini
471+
472+ $RUN_MACARON -dp $DEFAULTS_FILE analyze -rp https://github.com/slsa-framework/slsa-verifier -b main -d fc50b662fcfeeeb0e97243554b47d9b20b14efac --skip-deps || log_fail
473+
474+ $COMPARE_JSON_OUT $JSON_RESULT $JSON_EXPECTED || log_fail
475+
476476# Run policy engine on the database and compare results.
477477$RUN_POLICY -f $POLICY_FILE -d " $WORKSPACE /output/macaron.db" || log_fail
478478python $COMPARE_POLICIES $POLICY_RESULT $POLICY_EXPECTED || log_fail
0 commit comments