Skip to content

Conversation

@XVIIStarPlatinum
Copy link

@XVIIStarPlatinum XVIIStarPlatinum commented Dec 9, 2025

Due to complaints from students about tests in CI failing even when they resulted in an "OK", I decided to modify the comparison logic so that it tolerates multiline output. It used to fail on certain places (for example, tests failing due to encountering an unexpected scause message before OK), because the expect function worked only on the current line. This PR makes sure that tests:

  • instantly return OK if OK is met inline;
  • if not inline, then skip irrelevant lines until OK or FAILED is encountered.

@XVIIStarPlatinum XVIIStarPlatinum changed the title Tolerate multiline output in Xv6UserTest expect (#44) Tolerate multiline output in Xv6UserTest expect (#53) Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant