Skip to content

Commit

Permalink
tests/CheckThatTheyAllAssertOut: Ignore igortest marker function
Browse files Browse the repository at this point in the history
When compiling with instrumentation igortest adds a function to mark the
file as instrumented. But as we require all functions in the file to
assert out this makes the test case fail with [1]:

  0: is false. Assertion "FAIL()" failed in AnalysisFunctionPrototypeTests#CheckThatTheyAllAssertOut (UTF_AnalysisFunctionPrototypes.ipf, line 43)

    ? Function IUTF_TagFunc_bd1f27ca745da4aa90f393ef89b21e4aa84abb5a97b8b36526b552cdeffad1d2_IGNORE

Therefore we have to remove these tag functions from our function list.

Broken since 2d62af6 (MIES_AnalysisFunctionPrototypes.ipf: Assert out, 2024-10-22).

[1]: https://github.com/AllenInstitute/MIES/actions/runs/11467629096/job/31913142347
  • Loading branch information
t-b committed Oct 24, 2024
1 parent 4adca5a commit 12e53e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Packages/tests/Basic/UTF_AnalysisFunctionPrototypes.ipf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ static Function CheckThatTheyAllAssertOut()
funcList = FunctionList("*", ";", "WIN:MIES_AnalysisFunctionPrototypes.ipf")
CHECK_PROPER_STR(funcList)

funcList = GrepList(funcList, "^IUTF_TagFunc.*", 1)

WAVE/T funcs = ListToTextWave(funcList, ";")

for(func : funcs)
Expand Down

0 comments on commit 12e53e4

Please sign in to comment.