Skip to content

Commit

Permalink
bazelci: disable test which runs into libffi issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Profpatsch committed Sep 16, 2019
1 parent 23349b9 commit 18b88f7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ tasks:
# haskell base uses the environment locale to decode sockets
LANG: "C.UTF-8"
build_flags:
- "--build_tag_filters=-requires_hackage,-requires_zlib,-requires_lz4,-requires_doctest,-requires_c2hs,-requires_threaded_rts,-requires_shellcheck,-dont_test_with_bindist"
- "--build_tag_filters=-requires_hackage,-requires_zlib,-requires_lz4,-requires_doctest,-requires_c2hs,-requires_threaded_rts,-requires_shellcheck,-dont_test_with_bindist,-dont_test_on_bazelci"
- "--incompatible_use_python_toolchains=false"
build_targets:
- "//tests/..."
test_flags:
- "--test_tag_filters=-requires_hackage,-requires_zlib,-requires_lz4,-requires_doctest,-requires_c2hs,-requires_threaded_rts,-requires_shellcheck,-dont_test_with_bindist"
- "--test_tag_filters=-requires_hackage,-requires_zlib,-requires_lz4,-requires_doctest,-requires_c2hs,-requires_threaded_rts,-requires_shellcheck,-dont_test_with_bindist,-dont_test_on_bazelci"
test_targets:
- "//tests/..."
8 changes: 8 additions & 0 deletions tests/haskell_import/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ haskell_library(
cc_test(
name = "haskell_import",
srcs = ["main.c"],
# mismatch between Ubuntu libffi (.6) and the one GHC requires (.7)
# see https://github.com/tweag/rules_haskell/issues/481
# see https://github.com/libffi/libffi/issues/296
# exec ${PAGER:-/usr/bin/less} "$0" || exit 1
# Executing tests from //tests/haskell_import:haskell_import
# -----------------------------------------------------------------------------
# /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/ec321eb2cc2d0f8f91b676b6d4c66c29/sandbox/linux-sandbox/1293/execroot/rules_haskell/bazel-out/k8-fastbuild/bin/tests/haskell_import/haskell_import.runfiles/rules_haskell/tests/haskell_import/haskell_import: error while loading shared libraries: libffi.so.7: cannot open shared object file: No such file or directory
tags = ["dont_test_on_bazelci"],
visibility = ["//visibility:public"],
deps = [
":add-one",
Expand Down

0 comments on commit 18b88f7

Please sign in to comment.