From bb153ff84d2f500078c202c153b37f192b1715a7 Mon Sep 17 00:00:00 2001 From: Hugues Delorme Date: Mon, 26 Feb 2024 23:25:11 +0100 Subject: [PATCH] [WIP]Tests: try to find issue on armv7 --- .github/workflows/ci_linux_arm.yml | 11 +++++------ tests/test_base.cpp | 4 ++-- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci_linux_arm.yml b/.github/workflows/ci_linux_arm.yml index d9230349..924183a3 100644 --- a/.github/workflows/ci_linux_arm.yml +++ b/.github/workflows/ci_linux_arm.yml @@ -14,7 +14,6 @@ jobs: - arch: armv7 distro: archarm_latest - runs-on: ubuntu-latest steps: @@ -94,7 +93,7 @@ jobs: -DMayo_BuildTests=ON \ -DMayo_BuildPluginAssimp=ON cmake --build . \ - --config Release \ + --config Debug \ --parallel `nproc` # @@ -102,13 +101,13 @@ jobs: # Note: for some unknown reason unit tests are crashing for armv7(on very first test) # so just execute them for aarch64 # - if [ $RUN_ARCH_NAME = 'aarch64' ]; then + #if [ $RUN_ARCH_NAME = 'aarch64' ]; then # Start X11 display server Xvfb $DISPLAY -screen 0 1280x1024x24 & sleep 5s ./mayo --runtests - else - echo "NOTE: unit tests skipped, they need to be fixed for this architecture" - fi + #else + # echo "NOTE: unit tests skipped, they need to be fixed for this architecture" + #fi diff --git a/tests/test_base.cpp b/tests/test_base.cpp index 2be649ad..c85e63b9 100644 --- a/tests/test_base.cpp +++ b/tests/test_base.cpp @@ -234,7 +234,8 @@ void TestBase::Application_test() DocumentPtr doc = app->newDocument(); auto _ = gsl::finally([=]{ app->closeDocument(doc); }); bool okImport = true; - okImport = fnImportInDocument(doc, "tests/inputs/cube.stlb"); + //okImport = fnImportInDocument(doc, "tests/inputs/cube.stlb"); + okImport = fnImportInDocument(doc, "tests/inputs/cube.off"); QVERIFY(okImport); QCOMPARE(doc->entityCount(), 1); @@ -249,7 +250,6 @@ void TestBase::Application_test() } QCOMPARE(app->documentCount(), 0); - } void TestBase::DocumentRefCount_test()