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

Some Ruffle tests are failing on ARM device #63

Open
torokati44 opened this issue Nov 29, 2023 · 0 comments
Open

Some Ruffle tests are failing on ARM device #63

torokati44 opened this issue Nov 29, 2023 · 0 comments

Comments

@torokati44
Copy link
Member

torokati44 commented Nov 29, 2023

Some Ruffle unit tests are failing on (aarch64/arm64-v8a) Android.
Weirdly, they are related to AMF [de]serialization.

To run the tests (including visual ones, not actually necessary to repro this issue, as there are also minor visual differences):

RUSTFLAGS="-C link-args=-L$HOME/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/29/ -C link-args=-lnativewindow" cargo dinghy -d android --platform "auto-android-aarch64" test --package tests --features imgtests

Alternatively: RUSTFLAGS="-C link-args=-lnativewindow" cargo dinghy -d android --platform "auto-android-aarch64-api29" test --package tests

Both need export ANDROID_NDK_HOME=$HOME/Android/Sdk/ndk/26.1.10909125/ or similar.

See also: sonos/dinghy#198

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

No branches or pull requests

1 participant