-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I've been trying to get started with this library for my Proton helper (DeckCheatz), and started off using the Proton unit test as a derivation for prototyping DeckCheatz.
However, it did not start Notepad.
I then went to this repo, to make sure the unit tests worked in the original. They do not. I get the following trace:
cargo test --features=all
Compiling wincompatlib v0.7.4 (/home/dzr/projects/git.shymega.org.uk/DeckCheatz/wincompatlib)
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.41s
Running unittests src/lib.rs (target/debug/deps/wincompatlib-74a348e3abb8f3a2)
running 8 tests
test tests::dxvk::apply_dxvk ... FAILED
test tests::proton::create_prefix ... FAILED
test tests::fonts::install_all_fonts ... FAILED
test tests::proton::proton_version ... FAILED
test tests::proton::run_and_kill_notepad ... FAILED
test tests::wine::create_prefix ... FAILED
test tests::wine::run_and_kill_notepad ... FAILED
test tests::wine::wine_version ... FAILED
failures:
---- tests::dxvk::apply_dxvk stdout ----
Error: No such file or directory (os error 2)
---- tests::proton::create_prefix stdout ----
thread 'tests::proton::create_prefix' panicked at src/tests/proton.rs:63:5:
assertion failed: wine_prefix.join("drive_c/windows/system32/drivers").exists()
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- tests::fonts::install_all_fonts stdout ----
Error: No such file or directory (os error 2)
---- tests::proton::proton_version stdout ----
thread 'tests::proton::proton_version' panicked at src/tests/proton.rs:49:5:
assertion `left == right` failed
left: ""
right: "wine-7.0 (Staging)\n"
---- tests::proton::run_and_kill_notepad stdout ----
thread 'tests::proton::run_and_kill_notepad' panicked at src/tests/proton.rs:92:5:
assertion failed: notepad.wait_with_output()?.status.success()
---- tests::wine::create_prefix stdout ----
thread 'tests::wine::create_prefix' panicked at src/tests/wine.rs:65:5:
assertion failed: get_prefix_dir().join("drive_c/windows/system32/drivers").exists()
---- tests::wine::run_and_kill_notepad stdout ----
thread 'tests::wine::run_and_kill_notepad' panicked at src/tests/wine.rs:91:5:
assertion failed: notepad.wait_with_output()?.status.success()
---- tests::wine::wine_version stdout ----
thread 'tests::wine::wine_version' panicked at src/tests/wine.rs:52:5:
assertion `left == right` failed
left: ""
right: "wine-5.12-15713-ga2b2801a91f (Staging)\n"
failures:
tests::dxvk::apply_dxvk
tests::fonts::install_all_fonts
tests::proton::create_prefix
tests::proton::proton_version
tests::proton::run_and_kill_notepad
tests::wine::create_prefix
tests::wine::run_and_kill_notepad
tests::wine::wine_version
test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.37s
error: test failed, to rerun pass `--lib`Is the crate due for a update? It's perfect for my needs, and I'd love to help out.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels