Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bif_SUITE: Fix failing test cases when run in a git repo #9041

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

bjorng
Copy link
Contributor

@bjorng bjorng commented Nov 11, 2024

The preloaded BEAM files in $ERL_TOP/erts/preloaded/ebin in the git repo longer contains debug information, causing three test cases to fail. However, BEAM files with debug information can be found in $ERL_TOP/erts/ebin.

Make sure that the test cases that need debug information pick up the correct BEAM files.

The preloaded BEAM files in $ERL_TOP/erts/preloaded/ebin in the git repo longer contains debug information. That would cause three of the test cases to fail. Instead of failing, don't attempt to verify BIFs residing in preloaded modules when running the tests in a git repo.

@bjorng bjorng added team:VM Assigned to OTP team VM fix testing currently being tested, tag is used by OTP internal CI labels Nov 11, 2024
@bjorng bjorng self-assigned this Nov 11, 2024
Copy link
Contributor

github-actions bot commented Nov 11, 2024

CT Test Results

    3 files    141 suites   49m 42s ⏱️
1 596 tests 1 547 ✅ 49 💤 0 ❌
2 305 runs  2 236 ✅ 69 💤 0 ❌

Results for commit a22c378.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

The preloaded BEAM files in `$ERL_TOP/erts/preloaded/ebin` in the git
repo longer contains debug information, causing three test cases to
fail. However, BEAM files with debug information can be found in
`$ERL_TOP/erts/ebin`.

Make sure that the test cases that need debug information pick up the
correct BEAM files.
@bjorng bjorng force-pushed the bjorn/emulator/bif_SUITE branch from 1be501f to a22c378 Compare November 11, 2024 16:11
@bjorng bjorng merged commit 5dc7eb1 into erlang:master Nov 12, 2024
21 checks passed
@bjorng bjorng deleted the bjorn/emulator/bif_SUITE branch November 12, 2024 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix team:VM Assigned to OTP team VM testing currently being tested, tag is used by OTP internal CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants