def _is_unimplementable_test(t):
    """Whether we're not currently able to build this kind of test.

    Some kinds of tests are hard to integrate with Bazel.  In particular:
    if they rely on a custom Setup script that processes the source files.
    Currently, we just skip them.

    Args:
      t: A test-suite

    Returns:
      A boolean.
    """
    for p in t.testBuildInfo.targetBuildDepends:
        # Doctest rules rely on setup-depends: cabal-doctest. However, only
        # blacklist the tests depending directly on "doctest".
        if p.name in ["doctest"]:
            return True
    return False