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

test failures on ppc64le and s390x #484

Closed
davide125 opened this issue Apr 21, 2024 · 1 comment
Closed

test failures on ppc64le and s390x #484

davide125 opened this issue Apr 21, 2024 · 1 comment

Comments

@davide125
Copy link

When building on ppc64le the tests fail with:

./tester
Invalid glTF binary.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tester is a Catch v1.12.2 host application.
Run with -? for options
-------------------------------------------------------------------------------
datauri-in-glb
-------------------------------------------------------------------------------
tester.cc:40
...............................................................................
tester.cc:52: FAILED:
  REQUIRE( true == ret )
with expansion:
  true == false
-------------------------------------------------------------------------------
empty-bin-buffer
-------------------------------------------------------------------------------
tester.cc:564
...............................................................................
tester.cc:580: FAILED:
  REQUIRE( true == ret )
with expansion:
  true == false
Invalid glTF binary.
File size 1800 exceeds maximum allowed file size 10 : ../models/Cube/Cube.bin
WARN:File not found : �AAAQAAA5
Failed to load external 'uri' for image[0] name = "�AAAQAAA5"
Invalid glTF binary.-------------------------------------------------------------------------------
zero-sized-bin-chunk-glb
-------------------------------------------------------------------------------
tester.cc:906
...............................................................................
tester.cc:927: FAILED:
  REQUIRE( true == ret )
with expansion:
  true == false
===============================================================================
test cases:  30 |  27 passed | 3 failed
assertions: 198 | 195 passed | 3 failed

When building on s390x the tests fail with:

./tester
Invalid glTF binary.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tester is a Catch v1.12.2 host application.
Run with -? for options
-------------------------------------------------------------------------------
empty-bin-buffer
-------------------------------------------------------------------------------
tester.cc:564
...............................................................................
tester.cc:580: FAILED:
  REQUIRE( true == ret )
with expansion:
  true == false
WARN:File not found : �AAAQAAA5
Failed to load external 'uri' for image[0] name = "�AAAQAAA5"
File size 1800 exceeds maximum allowed file size 10 : ../models/Cube/Cube.bin
===============================================================================
test cases:  30 |  29 passed | 1 failed
assertions: 198 | 197 passed | 1 failed

You can see the full build logs at https://koji.fedoraproject.org/koji/taskinfo?taskID=116389786

@syoyo
Copy link
Owner

syoyo commented Apr 21, 2024

Probably you'll need to add little endian for PPC and big endian detection support for s390x

#if defined(__sparcv9) || defined(__powerpc__)

You can contribute!

@syoyo syoyo closed this as not planned Won't fix, can't repro, duplicate, stale May 17, 2024
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

2 participants