Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INFO message header missing when printed after abort #481

Open
t-b opened this issue Sep 17, 2024 · 0 comments
Open

INFO message header missing when printed after abort #481

t-b opened this issue Sep 17, 2024 · 0 comments

Comments

@t-b
Copy link
Member

t-b commented Sep 17, 2024

Function TestMe()

	INFO("abcd")
	Abort
End

gives

  Start of test "MIES with TestAB_LoadWave"
  Entering test suite "UTF_SweepFormula_PSX.ipf"
  Entering test case "TestMe"
  Encountered "Abort" in test case "TestMe" (UTF_SweepFormula_PSX.ipf)
  abcd
  Test case "TestMe" doesn't contain at least one assertion
  Leaving test case "TestMe"
  Failed with 2 errors
  Leaving test suite "UTF_SweepFormula_PSX.ipf"
  Test finished with 2 errors
    ▶ Encountered "Abort" in test case "TestMe" (UTF_SweepFormula_PSX.ipf)
    ▶ Test case "TestMe" doesn't contain at least one assertion
  End of test "MIES with TestAB_LoadWave"

but his is different from

•runwithOpts(testcase = "testme")
  Start of test "MIES with TestAB_LoadWave"
  Entering test suite "UTF_SweepFormula_PSX.ipf"
  Entering test case "TestMe"
  0: is false. Assertion "CHECK(0)" failed in TestMe (UTF_SweepFormula_PSX.ipf, line 1047)
    ⓘ abcd
  Leaving test case "TestMe"
  Failed with 1 errors
  Leaving test suite "UTF_SweepFormula_PSX.ipf"
  Test finished with 1 errors
    ▶ Assertion "CHECK(0)" failed in TestMe (UTF_SweepFormula_PSX.ipf, line 1047)
  End of test "MIES with TestAB_LoadWave"

for

Function TestMe()

	INFO("abcd")
	CHECK(0)
End

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant