-
Notifications
You must be signed in to change notification settings - Fork 6
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
Unit tests - failing. #2
Comments
Will try to check this out today. |
Was trying to debug the tests but my impressive nixos setup doesn't let me to do this on the laptop due to some distro's quirks. If you can do this yourself - will be nice to get a PR (though I won't be able to test it myself), otherwise you need to wait until I come back home around August 1st. Code didn't change for all this time and tested wine/proton/dxvk versions are hard-coded, so I doubt something could break. I don't deny it, anything could happen for sure, I just doubt. UPD: if you ran the tests just once - I recommend running them again (and maybe again-again, you got it) because although I've tried to make tests run in the correct order sometimes DXVK applying could be tested before prefix creation, and so on, which indeed would cause it to fail. |
Hey, I use NixOS too! I wrote a Flake using I don't think it's a download error, but I'm having issues with the same API calls in the test on my DeckCheatz branch. I can wait for you to get back, I'm doing many things at the moment. But |
If you're on nixos too - make sure to use a FHS (I personally use steam-run on my desktop). Without that wine can't run, so obviously the lib will not work. And about the docs - I thought there's enough of them. Perhaps you're looking at the project's readme which is intended to cover only basic features to bait a person to use the library. The docs themselves, as with all the rust projects, are automatically parsed and hosted by the docs.rs website. |
I've just refactored your Flake to create an
Yeah, I was thinking of the README. Some examples on the Proton side of things would be handy. I may be able to open a PR for more docs. Would you be able to enable Discussions on this repository? I feel like my questions for the usage of my Steam Play tool on the Proton side of things do not belong as a bug report. |
Using naersk to build the package, and then derive into a FHSUserEnv for the devShell. See: krypt0nn#2. Signed-off-by: Dom Rodriguez <[email protected]>
Using `naersk` to build the package, and then derive into an `FHSUserEnv` for the `devShell`. See: krypt0nn#2. Signed-off-by: Dom Rodriguez <[email protected]>
I don't feel it right to use github for discussing projects and either telegram or discord would be better at least because I don't have a habit of reading github issues, but I can enable discussions if it's needed. Was your problem solved by the PR? |
Sure, Telegram or Discord works. I'm '@shymega' on both. The PR didn't solve it, but I'm going to try in a FHS-compliant container shortly. |
Was able to run the tests today. With slightly changed version of your FHS integration I was able to pass 50% of tests, failed ones are run notepad, install fonts and dxvk - all of them require to launch some binary. Moreover rust-analyzer stopped working because your FHS doesn't provide cc binary, and I suppose some others as well. Anyway your problem was with lack of FHS and it's 99.9% is not related to this library. |
Righto. I'm having a look at your Flake now. What I need to achieve - ideally - is using Proton located in |
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:
Is the crate due for a update? It's perfect for my needs, and I'd love to help out.
The text was updated successfully, but these errors were encountered: