Skip to content

Commit

Permalink
ci: Add mul and fp tests (openhwgroup#278)
Browse files Browse the repository at this point in the history
* 🔧 Add mul and fp tests to CI

* 🔧 Split RVF and RVD tests in CI
  • Loading branch information
stmach authored and zarubaf committed Jul 12, 2019
1 parent 68a11c3 commit 9f461ad
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,20 @@ jobs:
- ci/build-riscv-tests.sh
- make -j${NUM_JOBS} run-mul-verilator defines=WB_DCACHE

# rv64ud-*-* tests
- stage: test
name: run fp64 tests (Write-Back Cache)
script:
- ci/build-riscv-tests.sh
- make -j${NUM_JOBS} run-fp-d-verilator defines=WB_DCACHE

# rv64uf-*-* tests
- stage: test
name: run fp32 tests (Write-Back Cache)
script:
- ci/build-riscv-tests.sh
- make -j${NUM_JOBS} run-fp-f-verilator defines=WB_DCACHE

# amo tests
# rv64ua-v-* tests
- stage: test
Expand Down Expand Up @@ -193,6 +207,27 @@ jobs:
- ci/build-riscv-tests.sh
- make -j${NUM_JOBS} run-asm-tests6-verilator defines=WT_DCACHE

# rv64um-*-* tests
- stage: test
name: run mul tests (Write-through Cache)
script:
- ci/build-riscv-tests.sh
- make -j${NUM_JOBS} run-mul-verilator defines=WT_DCACHE

# rv64ud-*-* tests
- stage: test
name: run fp64 tests (Write-through Cache)
script:
- ci/build-riscv-tests.sh
- make -j${NUM_JOBS} run-fp-d-verilator defines=WT_DCACHE

# rv64uf-*-* tests
- stage: test
name: run fp32 tests (Write-through Cache)
script:
- ci/build-riscv-tests.sh
- make -j${NUM_JOBS} run-fp-f-verilator defines=WT_DCACHE

# amo tests
# rv64ua-v-* tests
- stage: test
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,10 @@ run-mul-verilator: $(addsuffix -verilator, $(riscv-mul-tests))

run-fp-verilator: $(addsuffix -verilator, $(riscv-fp-tests))

run-fp-d-verilator: $(addsuffix -verilator, $(filter rv64ud%, $(riscv-fp-tests)))

run-fp-f-verilator: $(addsuffix -verilator, $(filter rv64uf%, $(riscv-fp-tests)))

run-benchmarks-verilator: $(addsuffix -verilator,$(riscv-benchmarks))

# torture-specific
Expand Down

0 comments on commit 9f461ad

Please sign in to comment.