Skip to content

Commit

Permalink
Merge pull request #1986 from AllenInstitute/bugfix/1986-stop-zeromq-…
Browse files Browse the repository at this point in the history
…after-all-tests

Tests: Call zeromq_stop after the complete test run
  • Loading branch information
t-b authored Jan 22, 2024
2 parents e68b5ba + e4bb933 commit 4f5076a
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Packages/tests/Basic/UTF_Basic.ipf
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ Function TEST_BEGIN_OVERRIDE(string name)
TestBeginCommon()
End

Function TEST_END_OVERRIDE(string name)
TestEndCommon()
End

Function TEST_CASE_BEGIN_OVERRIDE(name)
string name

Expand Down
4 changes: 4 additions & 0 deletions Packages/tests/HistoricData/UTF_HistoricData.ipf
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ Function TEST_BEGIN_OVERRIDE(string name)
TestBeginCommon()
End

Function TEST_END_OVERRIDE(string name)
TestEndCommon()
End

Function TEST_CASE_BEGIN_OVERRIDE(name)
string name

Expand Down
4 changes: 4 additions & 0 deletions Packages/tests/PAPlot/UTF_PA_Tests.ipf
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,10 @@ static Function TEST_BEGIN_OVERRIDE(string name)
TestBeginCommon()
End

static Function TEST_END_OVERRIDE(string name)
TestEndCommon()
End

static Function TEST_CASE_END_OVERRIDE(string testcase)
CheckForBugMessages()

Expand Down
4 changes: 4 additions & 0 deletions Packages/tests/UTF_HardwareHelperFunctions.ipf
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ Function TEST_BEGIN_OVERRIDE(name)
TestBeginCommon()
End

Function TEST_END_OVERRIDE(string name)
TestEndCommon()
End

Function TEST_CASE_BEGIN_OVERRIDE(name)
string name

Expand Down
5 changes: 5 additions & 0 deletions Packages/tests/UTF_HelperFunctions.ipf
Original file line number Diff line number Diff line change
Expand Up @@ -740,6 +740,11 @@ Function TestBeginCommon()
MEN_ClearPackageSettings()
End

Function TestEndCommon()

zeromq_stop()
End

Function SetAsyncChannelProperties(string device, WAVE asyncChannels, variable minValue, variable maxValue)
variable chan
string ctrl, title, unit
Expand Down

0 comments on commit 4f5076a

Please sign in to comment.