From 5c31edcf03f7b85c66d0c7fdaad264796e5b1207 Mon Sep 17 00:00:00 2001 From: sringwoo Date: Mon, 25 Sep 2023 16:41:33 -0400 Subject: [PATCH] added triton hardawre to yaml. added import os libraries to test_triton.py --- test/emu/hardware_map.yml | 8 ++++++++ test/test_triton.py | 8 ++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/test/emu/hardware_map.yml b/test/emu/hardware_map.yml index 20eb040c4..49572665f 100644 --- a/test/emu/hardware_map.yml +++ b/test/emu/hardware_map.yml @@ -229,6 +229,14 @@ packrf: - pyadi_iio_class_support: - ad9361 +#platforms +triton: + - axi-ad9084-tx-hpc + - axi-ad9084-rx-hpc + - axi-ad9084-rx1 + - axi-ad9084-rx2 + - axi-ad9084-rx3 + # Generics ad9361: - ad9361-phy diff --git a/test/test_triton.py b/test/test_triton.py index 5b6755b9c..7f41c31f0 100644 --- a/test/test_triton.py +++ b/test/test_triton.py @@ -1,7 +1,11 @@ +from os import listdir +from os.path import dirname, join, realpath + import pytest -hardware = ["fmcomms7"] -classname = "adi.ad9364" + +hardware = ["triton"] +classname = "adi.triton" # def test_something():