Skip to content

Conversation

@jandubois
Copy link
Member

Being able to use lima-vm/bats-core@507da84 was one of the reasons to use submodules for the bats libraries.

It looks like I forgot to apply a change to enforce that we always use it, and don't have to specify it on the commandline. Without this setting, command failure in helper functions invoked via run will simply be ignored instead of failing the test.

@jandubois jandubois added the area/test Tests and CI label Sep 24, 2025
@jandubois jandubois added this to the v2.0.0 milestone Sep 24, 2025
Signed-off-by: Jan Dubois <jan.dubois@suse.com>
Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

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

Thanks

@jandubois jandubois merged commit 13571f8 into lima-vm:master Sep 26, 2025
114 of 117 checks passed
@jandubois jandubois deleted the bats-errexit branch September 26, 2025 15:39
songponssw pushed a commit to songponssw/lima that referenced this pull request Sep 27, 2025
Make sure we always run BATS with --errexit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/test Tests and CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants