diff --git a/.github/workflows/macos-homebrew-build.yml b/.github/workflows/macos-homebrew-build.yml index b1b11044d3..20542ceebd 100644 --- a/.github/workflows/macos-homebrew-build.yml +++ b/.github/workflows/macos-homebrew-build.yml @@ -60,7 +60,7 @@ jobs: run: mkdir build - name: Configure Talipot core build with CMake working-directory: ./build - run: cmake .. -DCMAKE_BUILD_TYPE=Release + run: cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=$PWD/install -DCMAKE_C_COMPILER=${{ matrix.config.homebrew_path }}/opt/llvm/bin/clang -DCMAKE_CXX_COMPILER=${{ matrix.config.homebrew_path }}/opt/llvm/bin/clang++ @@ -82,7 +82,10 @@ jobs: run: make -j4 install - name: Run Talipot core build unit tests working-directory: ./build - run: make tests + run: + export TALIPOT_BUILD_DIR=$PWD && cd ./tests/plugins && lldb ./TalipotPluginsTestSuite + --batch -o 'run' -o 'thread backtrace all' -o 'quit' && exit 1 + - name: Configure Talipot complete build with CMake working-directory: ./build run: cmake . diff --git a/tests/plugins/pluginstest.cpp b/tests/plugins/pluginstest.cpp index 35917f64fc..94a8dbff91 100644 --- a/tests/plugins/pluginstest.cpp +++ b/tests/plugins/pluginstest.cpp @@ -1,6 +1,6 @@ /** * - * Copyright (C) 2019-2022 The Talipot developers + * Copyright (C) 2019-2024 The Talipot developers * * Talipot is a fork of Tulip, created by David Auber * and the Tulip development Team from LaBRI, University of Bordeaux @@ -28,7 +28,7 @@ using namespace tlp; int main() { - CrashHandler::install(); + // CrashHandler::install(); string talipotBuildDir = TALIPOT_BUILD_DIR;