Skip to content

INFO message header missing when printed after abort #481

@t-b

Description

@t-b
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions