From 7c11b6b2253c05ab9a3ec3d0159863d66b5eee56 Mon Sep 17 00:00:00 2001 From: Tei Im Date: Wed, 10 Apr 2024 18:14:40 -0600 Subject: [PATCH] Fix riscv tests path --- rvgo/test/vm_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rvgo/test/vm_test.go b/rvgo/test/vm_test.go index 71e9956d..4616f2b4 100644 --- a/rvgo/test/vm_test.go +++ b/rvgo/test/vm_test.go @@ -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) @@ -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) @@ -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)