summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/debug/linking_utils/ldd_test.bzl
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-08-15T15·11+0100
committerVincent Ambo <tazjin@google.com>2019-08-15T15·11+0100
commit128875b501bc2989617ae553317b80faa556d752 (patch)
tree9b32d12123801179ebe900980556486ad4803482 /third_party/bazel/rules_haskell/debug/linking_utils/ldd_test.bzl
parenta20daf87265a62b494d67f86d4a5199f14394973 (diff)
chore: Remove remaining Bazel-related files r/31
Diffstat (limited to 'third_party/bazel/rules_haskell/debug/linking_utils/ldd_test.bzl')
-rw-r--r--third_party/bazel/rules_haskell/debug/linking_utils/ldd_test.bzl26
1 files changed, 0 insertions, 26 deletions
diff --git a/third_party/bazel/rules_haskell/debug/linking_utils/ldd_test.bzl b/third_party/bazel/rules_haskell/debug/linking_utils/ldd_test.bzl
deleted file mode 100644
index 5872828df282..000000000000
--- a/third_party/bazel/rules_haskell/debug/linking_utils/ldd_test.bzl
+++ /dev/null
@@ -1,26 +0,0 @@
-load(
-    "//:tests/inline_tests.bzl",
-    "py_inline_test",
-)
-
-#
-def ldd_test(name, elf_binary, script, current_workspace = None, tags = []):
-    """Test with imported linking_utils.ldd library.
-    The path to the `elf_binary` is passed in sys.argv[1].
-    """
-    py_inline_test(
-        name,
-        deps = ["@io_tweag_rules_haskell//debug/linking_utils"],
-        data = [elf_binary],
-        args = ["{}/$(rootpath {})".format(current_workspace, elf_binary)] if current_workspace else ["$(rootpath {})".format(elf_binary)],
-        script = """
-from io_tweag_rules_haskell.debug.linking_utils.ldd import \\
-        dict_remove_empty, identity, const, \\
-        LDD_MISSING, LDD_UNKNOWN, LDD_ERRORS, \\
-        ldd, \\
-        remove_matching_needed, remove_matching_runpaths, \\
-        non_existing_runpaths, unused_runpaths, \\
-        collect_unused_runpaths
-""" + script,
-        tags = tags,
-    )