-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Run unit tests in Wine in CI #10547
Comments
This issue has been mentioned on NixOS Discourse. There might be relevant details there: |
@Ericson2314 i've executed the tests using /nix/store/xch07snwpzrs0ph946kmzgzp2zass2fh-wine-wow-8.0.2/bin/wine imperatively. what i noticed:
libnixexpr-tests.exe
libnixfetchers-tests.exe
libnixstore-tests.exe
libnixutil-tests.exe
generalmaking this declarative, should the nix expression always assume 'success', i.e. ignore the output code so can check results manually? |
I think this is because it needs the environment variable set for the unit test data files?
oh no!
This is new to me since I last ran the tests
I think we want to run all tests no matter what, but it's OK to make the derivation fail if any one of them failed. Hopefully we aren't failing for long :). |
Progess on NixOS#10547
Progess on NixOS#10547
Progess on NixOS#10547
Progess on NixOS#10547
Fix NixOS#10547 The tests do not all run successfully, but that is a separate issue.
Now that #8901 is merged, we can cross compile the unit test executables to windows, and (as was already the case for cross builds) install them in the
check
output.We can't run them on the Unix platforms we cross compile them from directory, but we can run them in wine.
We should make a new
hydraTest
job that takes thatcheck
output and runs all the executables in it with Wine.The text was updated successfully, but these errors were encountered: