From 128875b501bc2989617ae553317b80faa556d752 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 15 Aug 2019 16:11:30 +0100 Subject: chore: Remove remaining Bazel-related files --- third_party/bazel/rules_nixpkgs/tests/BUILD | 58 ----------------------------- 1 file changed, 58 deletions(-) delete mode 100644 third_party/bazel/rules_nixpkgs/tests/BUILD (limited to 'third_party/bazel/rules_nixpkgs/tests/BUILD') diff --git a/third_party/bazel/rules_nixpkgs/tests/BUILD b/third_party/bazel/rules_nixpkgs/tests/BUILD deleted file mode 100644 index 68e4f4c58079..000000000000 --- a/third_party/bazel/rules_nixpkgs/tests/BUILD +++ /dev/null @@ -1,58 +0,0 @@ -package(default_testonly = 1) - -[ - # All of these tests use the "hello" binary to see - # whether different invocations of `nixpkgs_package` - # produce a valid bazel repository. - sh_test( - name = "run-{0}".format(test), - timeout = "short", - srcs = ["test_bin.sh"], - args = ["$(location @{0}//:bin)".format(test)], - data = ["@{0}//:bin".format(test)], - ) - for test in [ - "hello", - "expr-test", - "attribute-test", - "expr-attribute-test", - "nix-file-test", - "nix-file-deps-test", - "nixpkgs-git-repository-test", - ] -] + [ - # These tests use the nix package generated by ./output.nix - - # Checks whether the `:include` filegroup of `nixpkgs_package` - # repositories works as intended - # (that the expected number of files are inside the target) - sh_test( - name = "run-test-include", - timeout = "short", - srcs = ["test_output.sh"], - args = [ - "2", - "$(locations @output-filegroup-test//:include)", - ], - data = ["@output-filegroup-test//:include"], - ), - - # Checks whether specifying a manual filegroup in the - # `nixpkgs_package` BUILD file works as well. - sh_test( - name = "run-test-manual-filegroup", - timeout = "short", - srcs = ["test_output.sh"], - args = [ - "3", - "$(locations @output-filegroup-manual-test//:manual-filegroup)", - ], - data = ["@output-filegroup-manual-test//:manual-filegroup"], - ), -] - -# Test nixpkgs_cc_configure() by building some CC code. -cc_binary( - name = "cc-test", - srcs = ["cc-test.cc"], -) -- cgit 1.4.1