Skip to content

Commit

Permalink
Investigate ad4630-24 tests
Browse files Browse the repository at this point in the history
Signed-off-by: Julia Pineda <[email protected]>
  • Loading branch information
jpineda3 committed May 30, 2024
1 parent 042daf5 commit 289acc4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/runHWTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ function runHWTests(board)
import matlab.unittest.selectors.HasName;
import matlab.unittest.selectors.HasProcedureName;

baseVariant = false;
switch board
case "zynq-zed-ad7380"
at = 'AD7380';
Expand All @@ -26,8 +27,9 @@ function runHWTests(board)
at = 'AD4030';
case "zynq-zed-ad4630-16"
at = 'AD4630_16';
baseVariant = true;
case {"zynq-zed-ad4630-24", ...
"zynq-zed-adv7511-ad4630-24-precision"}
"zynq-zed-adv7511-ad4630-24-precision"}
at = 'AD4630_24';

otherwise
Expand All @@ -41,7 +43,6 @@ function runHWTests(board)
else
suite = testsuite(ats);
suite = selectIf(suite,HasProcedureName(ContainsSubstring(at,'IgnoringCase',true)));
%% Deselect AD7768_x tests from AD7768
if baseVariant
suite = selectIf(suite,HasProcedureName(~ContainsSubstring("_")));
end
Expand Down

0 comments on commit 289acc4

Please sign in to comment.