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
Cannot run-tests
with --sandbox
#229
Comments
This is a limitation of `flatpak-builder` that it cannot run tests in a sandbox apparently: flatpak/flatpak-builder#229
I don't think it is disallowed. specifying test-args is, but that is just how you would get --share=network into the tests for instance, which obviously isn't compatible with sandboxing. |
A the time (its been a year..) it errored out-right. |
Unfortunately, it is not possible to run tests in the nightly build of https://binary-factory.kde.org/. As soon as "run-tests" is in the json, it fails with "Error: Can't specify test-args in sandboxed build". This contrasts with what is said in flatpak/flatpak-builder#229, the message is issued in builder_options_get_build_args() of flatpak-builder/src/builder-options.c.
@alexlarsson It's a bug: flatpak-builder/src/builder-options.c Lines 1206 to 1207 in ae29d86
flatpak-builder/src/builder-options.c Lines 1220 to 1224 in ae29d86
|
ttps://github.com/flatpak/flatpak-builder/issues/229 was closed, so I guess it's time to try again
I'm not sure why this is limited but it is a pretty big restriction that doesn't make sense to me.
The text was updated successfully, but these errors were encountered: