Skip to content

Commit

Permalink
Cirrus: Add test workaround for FreeBSD build
Browse files Browse the repository at this point in the history
This update closes ElektraInitiative#2323.
  • Loading branch information
sanssecours committed Jan 23, 2019
1 parent 8f15463 commit 137eff2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ task:

script:
- mkdir build && cd build
# - The tests for the process plugin and library stall on FreeBSD: https://issues.libelektra.org/2323
# - The test for the network plugin fails on FreeBSD: https://issues.libelektra.org/2322
- cmake -GNinja -DPLUGINS='ALL;-process;-network' -DTARGET_PLUGIN_FOLDER="" -DCMAKE_SKIP_INSTALL_RPATH=ON ..
- cmake -GNinja -DPLUGINS='ALL;-network' -DTARGET_PLUGIN_FOLDER="" -DCMAKE_SKIP_INSTALL_RPATH=ON ..
- ninja
- output="$(ninja install 2>&1)" || printf '%s' "$output"

tests_script:
- cd build && ctest --output-on-failure -E 'pluginprocess'
# Work around stalled process plugin and library problems on FreeBSD: https://issues.libelektra.org/2323
- sudo mount -t fdescfs fdesc /dev/fd
- cd build && ninja run_all
- kdb run_all

0 comments on commit 137eff2

Please sign in to comment.