Fix tests.txt parsing for brillo_tests
With the format change to tests.txt to support sending flags to
the tests, update the brillo_tests packaging regex to match.
Bug: 27818067
Test: `m -j40 dist brillo_tests` creates test zip, contains the tests.
Change-Id: I351e0643504edc5790b4f71240642c3739b7c84a
diff --git a/build/tasks/brillo_tests.mk b/build/tasks/brillo_tests.mk
index db9fa09..1efa65c 100644
--- a/build/tasks/brillo_tests.mk
+++ b/build/tasks/brillo_tests.mk
@@ -20,7 +20,7 @@
# Include the whitelist itself and all files from it.
my_modules := \
brillo_test_whitelist \
- $(shell sed -n -e 's/\(^[^#].*\),.*/\1/p' device/generic/brillo/tests.txt)
+ $(shell sed -n -e 's/\(^[^#][^,]*\),.*/\1/p' device/generic/brillo/tests.txt)
my_package_name := brillo_tests