-
Notifications
You must be signed in to change notification settings - Fork 365
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: skip tcti-spidev on 32bit architectures with 64bit time_t #2904
test: skip tcti-spidev on 32bit architectures with 64bit time_t #2904
Conversation
@JuergenReppSIT gentle ping, any chance this could be looked at, please? It fixes unit tests in Debian |
@bluca I used |
Raspbian is a different distribution. Check Debian armhf/armel instead to reproduce it |
That's true. But I do not want to skip a test an platform where it works. |
@bluca If there would be a new push force please rebase tss. So also the integration test on FreeBSD should work and no other tests will be cancelled. |
Why would it be skipped? They didn't do a t64 transition iirc? |
The tests fail, similarly to how they failed due to _FILE_OFFSET_BITS == 64 as fixed in 932b1e7 FAIL: test/unit/tcti-spidev =========================== [==========] tests: Running 1 test(s). [ RUN ] tcti_spi_init_test ERROR:tcti:src/tss2-tcti/tcti-spidev.c:48:platform_spi_acquire() SPI acquire failed: Bad file descriptor ERROR:tcti:src/tss2-tcti/tcti-spi-helper.c:164:spi_tpm_helper_log_register_access() READ register 0xd40f00 (4 bytes) failed in transaction start ERROR:tcti:src/tss2-tcti/tcti-spidev.c:68:platform_spi_release() SPI release failed: Bad file descriptor ERROR:tcti:src/tss2-tcti/tcti-spidev.c:48:platform_spi_acquire() SPI acquire failed: Bad file descriptor ERROR:tcti:src/tss2-tcti/tcti-spi-helper.c:164:spi_tpm_helper_log_register_access() READ register 0xd40f00 (4 bytes) failed in transaction start ERROR:tcti:src/tss2-tcti/tcti-spidev.c:68:platform_spi_release() SPI release failed: Bad file descriptor ERROR:tcti:src/tss2-tcti/tcti-spidev.c:48:platform_spi_acquire() SPI acquire failed: Bad file descriptor ERROR:tcti:src/tss2-tcti/tcti-spi-helper.c:164:spi_tpm_helper_log_register_access() READ register 0xd40f00 (4 bytes) failed in transaction start ERROR:tcti:src/tss2-tcti/tcti-spidev.c:68:platform_spi_release() SPI release failed: Bad file descriptor ... ERROR:tcti:src/tss2-tcti/tcti-spi-helper.c:164:spi_tpm_helper_log_register_access() READ register 0xd40f00 (4 bytes) failed in transaction start ERROR:tcti:src/tss2-tcti/tcti-spidev.c:68:platform_spi_release() SPI release failed: Bad file descriptor ERROR:tcti:src/tss2-tcti/tcti-spi-helper.c:728:Tss2_Tcti_Spi_Helper_Init() Probing TPM failed [ ERROR ] --- 0xa000a != 0 [ LINE ] --- test/unit/tcti-spidev.c:200: error: Failure! [ FAILED ] tcti_spi_init_test Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
c627e59
to
10b6023
Compare
@bluca That's true. Thank you for the PR. |
The tests fail, similarly to how they failed due to _FILE_OFFSET_BITS == 64 as fixed in 932b1e7