From f2f6a309e29139b949dde8ca59305699f5daf462 Mon Sep 17 00:00:00 2001 From: Thai Duong Date: Wed, 1 Feb 2017 15:49:11 -0800 Subject: [PATCH] Set tags=[manual] for *Local test targets, thus exclude them from bazel build ... (#20) --- BUILD | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/BUILD b/BUILD index 9701667..82be038 100644 --- a/BUILD +++ b/BUILD @@ -40,6 +40,9 @@ bouncycastle_all_tests( java_test( name = "BouncyCastleAllTestsLocal", + # this target requires specifing a shell variable, thus won't work with the wildcard target patterns. + # with tags=["manual"] it'll be excluded from said patterns. + tags = ["manual"], size = "large", srcs = ["java/com/google/security/wycheproof/BouncyCastleAllTests.java"] + test_srcs, test_class = "com.google.security.wycheproof.BouncyCastleAllTests", @@ -89,6 +92,9 @@ bouncycastle_tests( java_test( name = "BouncyCastleTestLocal", + # this target requires specifing a shell variable, thus won't work with the wildcard target patterns. + # with tags=["manual"] it'll be excluded from said patterns. + tags = ["manual"], size = "large", srcs = ["java/com/google/security/wycheproof/BouncyCastleTest.java"] + test_srcs, test_class = "com.google.security.wycheproof.BouncyCastleTest",