Skip to content

Commit

Permalink
Upgrade riscv-tests and ignore failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
martonbognar committed Oct 10, 2024
1 parent d70350a commit 694fcd8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,8 @@ jobs:
sudo apt-get -yqq install git lsb-release sudo vim gnupg openjdk-17-jdk verilator gcc-riscv64-unknown-elf curl make gcc g++
- name: Install sbt
run: |
echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | sudo tee /etc/apt/sources.list.d/sbt.list
echo "deb https://repo.scala-sbt.org/scalasbt/debian /" | sudo tee /etc/apt/sources.list.d/sbt_old.list
curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | sudo apt-key add
sudo apt-get update
sudo apt-get -yqq install sbt
curl -fL https://github.com/coursier/coursier/releases/latest/download/cs-x86_64-pc-linux.gz | gzip -d > cs && chmod +x cs && ./cs setup --yes
export PATH="$PATH:~/.local/share/coursier/bin"
- name: Run Scalafmt
run: sbt scalafmtCheck
- name: Static pipeline riscv-tests
Expand Down
2 changes: 1 addition & 1 deletion tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ endif

TEST_DIRS ?= $(ISA_TESTS_DIR)/rv32ui $(ISA_TESTS_DIR)/rv32mi $(ISA_TESTS_DIR)/rv32um $(CUSTOM_TESTS_DIR)
ALL_ISA_TESTS = $(shell find $(TEST_DIRS) -name '*.S')
UNSUPPORTED_TESTS = %fence_i.S %breakpoint.S
UNSUPPORTED_TESTS = %fence_i.S %breakpoint.S %ma_data.S %zicntr.S
ALL_TESTS = $(filter-out $(UNSUPPORTED_TESTS),$(ALL_ISA_TESTS))
ALL_TARGETS = $(addsuffix .pass,$(basename $(addprefix $(BUILD_DIR)/,$(notdir $(ALL_TESTS)))))

Expand Down
1 change: 0 additions & 1 deletion tests/riscv-test-env
Submodule riscv-test-env deleted from d3e85a
2 changes: 1 addition & 1 deletion tests/riscv-tests
2 changes: 1 addition & 1 deletion tests/riscv_test.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef RISCV_TEST_H
#define RISCV_TEST_H

#include "riscv-test-env/encoding.h"
#include "riscv-tests/env/encoding.h"

#define RVTEST_RV64U \
.macro init; \
Expand Down

0 comments on commit 694fcd8

Please sign in to comment.