From 3a24bddc969cd1b9ef7504c4c74e606502f8b99b Mon Sep 17 00:00:00 2001
From: dwn1c21 <d.newbrook@soton.ac.uk>
Date: Fri, 27 Sep 2024 11:58:02 +0000
Subject: [PATCH] Update run_full_verification.py

---
 fpga/ci_tools/run_full_verification.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/fpga/ci_tools/run_full_verification.py b/fpga/ci_tools/run_full_verification.py
index b61928c..09c9194 100644
--- a/fpga/ci_tools/run_full_verification.py
+++ b/fpga/ci_tools/run_full_verification.py
@@ -23,10 +23,9 @@ if ol.is_loaded():
 		ol.download()
 		NanoSoC = NanoSoC_APD()
 		li=lines.strip()
-		li=li.lstrip('nanosoc_tech/testcodes/')
 		li = li.split('/')
-		testname = li[0]
-		testfile = li[1]
+		testname = li[2]
+		testfile = li[3]
 		print("Running test: " + testfile)
 		NanoSoC.writeHex("binaries/" + testfile)
 		print(NanoSoC.adp.read(500))
-- 
GitLab