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

display error in test when vm crashes #64

Open
wants to merge 4 commits into
base: topic/windows-ffi
Choose a base branch
from

Conversation

soloturn
Copy link

@soloturn soloturn commented Oct 24, 2024

display error in test when vm crashes, not fork makes it easier. also run github workflow with test on every branch and push to let dev know immediate about other operating systems.

see this run: https://github.com/soloturn/directories-jvm/actions/runs/11490416374/job/31981080185 as an example how it looks likke.

[info] done compiling
[error] Test dev.dirs.impl.UtilTest.testWindowsApplicationPath01 failed: java.lang.NoClassDefFoundError: Could not initialize class dev.dirs.impl.Windows, took 1.556 sec
[error] Test dev.dirs.DirectoriesTest.testUserDirectories failed: java.lang.UnsatisfiedLinkError: D:\a\directories-jvm\directories-jvm\target\task-temp-directory\sbt_81103506\sbt_16d447[19](https://github.com/soloturn/directories-jvm/actions/runs/11490416374/job/31981080185#step:4:20)\combase.dll: A dynamic link library (DLL) initialization routine failed, took 1.561 sec
[error]     at dev.dirs.impl.UtilTest.testWindowsApplicationPath01(UtilTest.java:125)
...


brcolow and others added 3 commits October 21, 2024 19:48
- Drop all existing mechanisms for retrieving this info on Windows
- This increases the required Java version of the library to 22

Fixes dirs-dev#49.
@soloturn
Copy link
Author

updated with @FriendSeekers suggestion, now test passes:
https://github.com/soloturn/directories-jvm/actions/runs/11537039421

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