Skip to content

PICOTEST_CHECK_AND_ABORT doesn't set picotest_error_code #2721

@peterharperuk

Description

@peterharperuk

I'm using pico/test.h to write some test code. I use PICOTEST_CHECK_AND_ABORT to abort a test section if a failure occurs. But at the end of the test it says everything was successful.

I assume that PICOTEST_CHECK_AND_ABORT (and PICOTEST_CHECK_CHANNEL_AND_ABORT) should set picotest_error_code?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions