From 75f2a45ac9733a2e8e492639251d833ef97d3346 Mon Sep 17 00:00:00 2001 From: Martijn Bastiaan Date: Fri, 29 Mar 2024 21:27:04 +0100 Subject: [PATCH] Enable JTAG tests Fixes #4 --- clash-vexriscv-sim/tests/tests.hs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/clash-vexriscv-sim/tests/tests.hs b/clash-vexriscv-sim/tests/tests.hs index 022e27b..766a891 100644 --- a/clash-vexriscv-sim/tests/tests.hs +++ b/clash-vexriscv-sim/tests/tests.hs @@ -23,8 +23,7 @@ import Test.Tasty.HUnit (Assertion, testCase, (@?=)) import Utils.ProgramLoad (loadProgramDmem) import Utils.Cpu (cpu) --- XXX: Disabled, we need to add OpenOCD + GDB to CI (or use the Nix shell?) --- import qualified Tests.Jtag +import qualified Tests.Jtag runProgramExpect :: -- | action to copy ELF file @@ -131,8 +130,7 @@ main = do "VexRiscv Tests" [ testGroup "Debug builds" debugTestCases , testGroup "Release builds" releaseTestCases - -- XXX: Disabled, we need to add OpenOCD + GDB to CI (or use the Nix shell?) - -- , Tests.Jtag.tests + , Tests.Jtag.tests ] defaultMain tests