Skip to content

Commit

Permalink
Deselect ad7768 variants from ad7768 test run
Browse files Browse the repository at this point in the history
Signed-off-by: Julia Pineda <Julia.Pineda@analog.com>
  • Loading branch information
jpineda3 committed May 27, 2024
1 parent 50d25ec commit 6628547
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/runHWTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ function runHWTests(board)
case {"zynq-zed-ad7768", ...
"zynq-zed-adv7511-ad7768-axi-adc-precision"}
at = 'AD7768';
baseVariant = true;
case {"zynq-zed-adv7511-ad7768-1-evb", ...
"zynq-zed-adv7511-ad7768-1-evb-precision"}
at = 'AD7768_1';
Expand All @@ -40,6 +41,10 @@ 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
end

try
Expand Down

0 comments on commit 6628547

Please sign in to comment.