Skip to content

Commit

Permalink
Merge pull request #2199 from AllenInstitute/feature/2199-add_sutter_…
Browse files Browse the repository at this point in the history
…TC_skip

Add SKIP_TESTCASE() for SUTTER hardware if requirements are not met
  • Loading branch information
t-b authored Jul 24, 2024
2 parents 0d42995 + 18c89d2 commit 1a25919
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Packages/tests/UTF_HardwareHelperFunctions.ipf
Original file line number Diff line number Diff line change
Expand Up @@ -1442,9 +1442,7 @@ Function AcquireData_NG(STRUCT DAQSettings &s, string device)
sutterRequirementCheck[] = s.aso[p] == 1 && s.hs[p] == 1
if(!(sum(sutterRequirementCheck) == 1 && sutterRequirementCheck[0] == 1))
INFO("SUTTER hardware currently supports only 1 HS")
CHECK(0)
UnRegisterIUTFMonitor()
Abort
SKIP_TESTCASE()
endif

WAVE deviceInfo = GetDeviceInfoWave(device)
Expand Down

0 comments on commit 1a25919

Please sign in to comment.