Skip to content

Commit

Permalink
Only build automated tests if the output exists
Browse files Browse the repository at this point in the history
  • Loading branch information
danvangeest committed Jul 22, 2024
1 parent e6ad643 commit edcecc7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/rebuild_results_certs_r3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ mv pqc_hackathon_results_certs_r3.md pqc_hackathon_results_certs_r3.html docs


# Also generate a results html with only automated test results
python3 src/pqc_report_writer_common.py docs/oid_mapping.md pqc_hackathon_results_certs_r3_automated_tests.md Certificate $(find ./output/certs -name "*.csv")
pandoc -f markdown pqc_hackathon_results_certs_r3_automated_tests.md > pqc_hackathon_results_certs_r3_automated_tests.html
mv pqc_hackathon_results_certs_r3_automated_tests.md pqc_hackathon_results_certs_r3_automated_tests.html docs
if [ -d ./output/certs ]; then
python3 src/pqc_report_writer_common.py docs/oid_mapping.md pqc_hackathon_results_certs_r3_automated_tests.md Certificate $(find ./output/certs -name "*.csv")
pandoc -f markdown pqc_hackathon_results_certs_r3_automated_tests.md > pqc_hackathon_results_certs_r3_automated_tests.html
mv pqc_hackathon_results_certs_r3_automated_tests.md pqc_hackathon_results_certs_r3_automated_tests.html docs
fi

0 comments on commit edcecc7

Please sign in to comment.