Skip to content

Commit

Permalink
[ci] re-enable ROM E2E tests on earlgrey_1.0.0
Browse files Browse the repository at this point in the history
These renanble the ROM E2E tests on the `earlgrey_1.0.0` branch (thus
reverting #25302), to prepare for a ROM release.

Signed-off-by: Tim Trippel <[email protected]>
  • Loading branch information
timothytrippel committed Jan 26, 2025
1 parent ba4b885 commit 08857c8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
4 changes: 0 additions & 4 deletions ci/fpga-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,6 @@ jobs:
//... @manufacturer_test_hooks//...
# Run FPGA tests.
if [ -s "${{ parameters.target_pattern_file }}" ]; then
# Disable ROM e2e test cases. These are not needed in this branch as we
# have sufficient coverage from //sw/device/silicon_creator/... unittests
# and functests.
echo "-//sw/device/silicon_creator/rom/e2e/..." >> "${{ parameters.target_pattern_file }}"
ci/scripts/run-fpga-tests.sh "${{ parameters.interface }}" "${{ parameters.target_pattern_file }}" || { res=$?; echo "To reproduce failures locally, follow the instructions at https://opentitan.org/book/doc/getting_started/setup_fpga.html#reproducing-fpga-ci-failures-locally"; exit "${res}"; }
else
echo "No tests to run after filtering"
Expand Down
6 changes: 0 additions & 6 deletions ci/verify-fpga-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,6 @@ jobs:
# - then sort by the target name
# - then keep all duplicated lines
pattern_files=$(find $(Pipeline.Workspace)/verify_fpga_jobs -name target_pattern_file.txt)
# Filter -//sw/device/silicon_creator/rom/e2e/... occurrences as these
# are tests patterns that are harcoded across all FPGA jobs to skip
# the ROM E2E tests in CI. See ci/fpga-job.yml for more details.
awk '!/-\/\/sw\/device\/silicon_creator\/rom\/e2e\/.../ {
print(gensub(/.*\/(.+)\/target_pattern_file.txt/, "\\1", "g", FILENAME) " " $0)
}' $pattern_files | sort -k2 | uniq -D -f1 > duplicates.txt
if [ -s duplicates.txt ]; then
echo "The following tests ran in two or more jobs:"
cat duplicates.txt
Expand Down

0 comments on commit 08857c8

Please sign in to comment.