Skip to content

Commit

Permalink
Fix riscv tests path
Browse files Browse the repository at this point in the history
  • Loading branch information
ImTei committed Apr 11, 2024
1 parent df49ccf commit 7c11b6b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rvgo/test/vm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func runEVMTestSuite(t *testing.T, path string) {
}

func TestFastStep(t *testing.T) {
testsPath := filepath.FromSlash("../tests/riscv-tests")
testsPath := filepath.FromSlash("../../tests/riscv-tests")
runTestCategory := func(name string) {
t.Run(name, func(t *testing.T) {
forEachTestSuite(t, filepath.Join(testsPath, name), runFastTestSuite)
Expand All @@ -161,7 +161,7 @@ func TestFastStep(t *testing.T) {
}

func TestSlowStep(t *testing.T) {
testsPath := filepath.FromSlash("../tests/riscv-tests")
testsPath := filepath.FromSlash("../../tests/riscv-tests")
runTestCategory := func(name string) {
t.Run(name, func(t *testing.T) {
forEachTestSuite(t, filepath.Join(testsPath, name), runSlowTestSuite)
Expand All @@ -174,7 +174,7 @@ func TestSlowStep(t *testing.T) {
}

func TestEVMStep(t *testing.T) {
testsPath := filepath.FromSlash("../tests/riscv-tests")
testsPath := filepath.FromSlash("../../tests/riscv-tests")
runTestCategory := func(name string) {
t.Run(name, func(t *testing.T) {
forEachTestSuite(t, filepath.Join(testsPath, name), runEVMTestSuite)
Expand Down

0 comments on commit 7c11b6b

Please sign in to comment.