No need to filter out targets with '_' as the first character
Change-Id: Id5e7e0b7931dbb41d58c1f922c0b6c79f74abefd
diff --git a/tools/build/onos-prepare-sonar b/tools/build/onos-prepare-sonar
index d4eb47e..ba7a615 100755
--- a/tools/build/onos-prepare-sonar
+++ b/tools/build/onos-prepare-sonar
@@ -271,8 +271,6 @@
for target in targets:
colon = target.find(':')
base_target = target[0:colon]
- if target[colon+1] == '_':
- continue
target_query_result = run_command(['bazel', 'query', 'tests(' + base_target + ':*)'])
for result_line in target_query_result:
if "src/test" in result_line: