Skip to content

mruby: adjust run_test.sh#14172

Merged
DavidKorczynski merged 3 commits intomasterfrom
mruby-rt1
Oct 22, 2025
Merged

mruby: adjust run_test.sh#14172
DavidKorczynski merged 3 commits intomasterfrom
mruby-rt1

Conversation

@DavidKorczynski
Copy link
Copy Markdown
Collaborator

No description provided.

# 165x tests to succeed and some tests skipped. I suspect the skipping causes
# rake to return an error code. However, in normal circumastances we see
# 9 tests skipped.
grep "OK: 165" /tmp/test.out
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we make this more robust against changing test numbers?

e.g. look for presence of 0 failures instead?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Signed-off-by: David Korczynski <david@adalogics.com>
Signed-off-by: David Korczynski <david@adalogics.com>
# I suspect the skipping causes
# rake to return an error code. However, in normal circumastances we see
# 9 tests skipped.
grep "OK: 165" /tmp/test.out
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we still need these OK: checks given the below inverted checks?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They don't hurt. I'd say yeah let's keep. If for some reason the build would switch to not run any tests at all, then a positive check would catch it but not a negative check.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my concern was more around this breaking when the number of tests upstream changes. is there a way we can make this safer in that regard?

@DavidKorczynski DavidKorczynski enabled auto-merge (squash) October 22, 2025 00:29
@DavidKorczynski DavidKorczynski merged commit e706fa7 into master Oct 22, 2025
16 checks passed
@DavidKorczynski DavidKorczynski deleted the mruby-rt1 branch October 22, 2025 00:32
Signed-off-by: David Korczynski <david@adalogics.com>
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.

2 participants