Skip to content

Allow tests to run on the CI on Linux #1040

Description

@pifopi

Two issues are preventing this for now :

  • for clang, system's opencv is using Qt 5

/usr/lib/x86_64-linux-gnu/libopencv_cvv.so.406:
libgcc_s.so.1 (GCC_3.3.1) => /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
libgcc_s.so.1 (GCC_3.0) => /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
libc.so.6 (GLIBC_2.14) => /usr/lib/x86_64-linux-gnu/libc.so.6
libc.so.6 (GLIBC_2.4) => /usr/lib/x86_64-linux-gnu/libc.so.6
libc.so.6 (GLIBC_2.2.5) => /usr/lib/x86_64-linux-gnu/libc.so.6
libstdc++.so.6 (GLIBCXX_3.4.18) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
libstdc++.so.6 (GLIBCXX_3.4.19) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
libstdc++.so.6 (GLIBCXX_3.4.29) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
libstdc++.so.6 (GLIBCXX_3.4.14) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
libstdc++.so.6 (GLIBCXX_3.4.17) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
libstdc++.so.6 (CXXABI_1.3.5) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
libstdc++.so.6 (GLIBCXX_3.4.9) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
libstdc++.so.6 (GLIBCXX_3.4.26) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
libstdc++.so.6 (GLIBCXX_3.4.22) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
libstdc++.so.6 (GLIBCXX_3.4.11) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
libstdc++.so.6 (GLIBCXX_3.4) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
libstdc++.so.6 (GLIBCXX_3.4.21) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
libstdc++.so.6 (GLIBCXX_3.4.20) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
libstdc++.so.6 (CXXABI_1.3) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
libQt5Gui.so.5 (Qt_5) => /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
libQt5Core.so.5 (Qt_5) => /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
libQt5Widgets.so.5 (Qt_5) => /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5

Because we are linking against qt6 ourselves, it crash at runtime due to mismatch

  • for gcc, tests are failing because tesseract cannot be initialized properly but I cannot investigate why

Testing StatusInfoScreenDetector:
../../../CommandLineTests/PokemonLA/StatusInfoScreenDetector/WinShadowCast/eng_geodude_NotShiny_NotAlpha_Male.png
Parse file path: file name: eng_geodude_NotShiny_NotAlpha_Male.png, base name: eng_geodude_NotShiny_NotAlpha_Male
Gender: Male
InternalSystemError: Could not initialize TesseractAPI.
Location: void PokemonAutomation::OCR::TesseractPool::add_instance()
InternalSystemError: Could not initialize TesseractAPI.
Test: ../../../CommandLineTests/PokemonLA/StatusInfoScreenDetector/WinShadowCast/eng_geodude_NotShiny_NotAlpha_Male.png threw InternalSystemError: <<<Could not initialize TesseractAPI.
Location: void PokemonAutomation::OCR::TesseractPool::add_instance()
InternalSystemError: Could not initialize TesseractAPI.
Location: void PokemonAutomation::OCR::TesseractPool::add_instance()InternalSystemError: Could not initialize TesseractAPI.
Location: void PokemonAutomation::OCR::TesseractPool::add_instance()

Location: void PokemonAutomation::OCR::TesseractPool::add_instance()>>>

Test: ../../../CommandLineTests/PokemonLA/StatusInfoScreenDetector/WinShadowCast/eng_geodude_NotShiny_NotAlpha_Male.png failed.
Exiting main()...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions