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: skip tcti-spidev on 32bit architectures with 64bit time_t #2904

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 10, 2024

  1. test: skip tcti-spidev on 32bit architectures with 64bit time_t

    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>
    bluca committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    c627e59 View commit details
    Browse the repository at this point in the history