Committed by
Brian O'Connor
Get rid of buck build warnings for no tests and no checkstyle files
Change-Id: I1f4f38cc1069351c4e066ce313321e5c0ceed843
Showing
1 changed file
with
0 additions
and
5 deletions
... | @@ -46,8 +46,6 @@ def checkstyle( | ... | @@ -46,8 +46,6 @@ def checkstyle( |
46 | test_rule_timeout_ms = 20000, | 46 | test_rule_timeout_ms = 20000, |
47 | labels = [ 'checkstyle' ], | 47 | labels = [ 'checkstyle' ], |
48 | ) | 48 | ) |
49 | - else: | ||
50 | - print 'Not generating checkstyle rule for %s because there are no sources.' % name | ||
51 | 49 | ||
52 | def java_doc( | 50 | def java_doc( |
53 | name, | 51 | name, |
... | @@ -255,9 +253,6 @@ def osgi_jar_with_tests( | ... | @@ -255,9 +253,6 @@ def osgi_jar_with_tests( |
255 | if test_srcs is None: | 253 | if test_srcs is None: |
256 | test_srcs = glob([TEST + '/*.java']) | 254 | test_srcs = glob([TEST + '/*.java']) |
257 | 255 | ||
258 | - if not test_srcs: | ||
259 | - print "Generating test rule for %s, but there are no tests." % name | ||
260 | - | ||
261 | java_test( | 256 | java_test( |
262 | name = name + '-tests', | 257 | name = name + '-tests', |
263 | srcs = test_srcs, | 258 | srcs = test_srcs, | ... | ... |
-
Please register or login to post a comment