Skip to content

Commit

Permalink
Merge pull request #15 from pulp-platform/scheremo/cimultitest
Browse files Browse the repository at this point in the history
Add support for multiple parallel functional regression tests
  • Loading branch information
Scheremo authored Jul 25, 2024
2 parents cd8fee5 + 3fde05f commit aa4c0cb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ target/sim/vsim/trace*
modelsim.ini
compile.tcl
logs
vsim.wlf
vsim.wlf
*.transcript
10 changes: 7 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,15 @@ vsim-test:
extends: .base
stage: test
needs: [ vsim-build ]
parallel:
matrix:
- TESTNAME: [testCluster, testClusterOffload]
script:
- cd target/sim/vsim
- $VSIM -c -do 'source setup.chimera_soc.tcl; source start.chimera_soc.tcl; run -all'
- ../../../scripts/vsim_ret_error.sh transcript
- $VSIM -c -l $TESTNAME.transcript -do "set BINARY ../../../sw/tests/$TESTNAME.memisl.elf; source start.chimera_soc.tcl; run -all"
- ../../../scripts/vsim_ret_error.sh $TESTNAME.transcript
dependencies:
- vsim-build
artifacts:
paths: [ ".venv", "hw", "sw", "target/sim" ]
paths: [ ".venv", "hw", "sw", "target/sim", "$TESTNAME.transcript" ]
expire_in: 4 weeks

0 comments on commit aa4c0cb

Please sign in to comment.