[http_service_test] Add http_service_tests.cmx
This allows http_service_tests to link the shared libraries in
the package.
Test: run_test fuchsia-pkg://fuchsia.com/http_service_tests#meta/http_service_tests.cmx
Test: check http_service_tests is successful in the CQ log
CONN-7 #done
Change-Id: I81a8efe6f0ce546604185030f28612aa9bec7d9d
diff --git a/bin/http/BUILD.gn b/bin/http/BUILD.gn
index ea53365..76fda5e 100644
--- a/bin/http/BUILD.gn
+++ b/bin/http/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//build/package.gni")
+import("//build/test/test_package.gni")
source_set("errors") {
sources = [
@@ -99,9 +100,7 @@
]
}
-package("http_service_tests") {
- testonly = true
-
+test_package("http_service_tests") {
deps = [
":http_service_tests_bin",
]
diff --git a/bin/http/meta/http_service_tests.cmx b/bin/http/meta/http_service_tests.cmx
new file mode 100644
index 0000000..5f06bb0
--- /dev/null
+++ b/bin/http/meta/http_service_tests.cmx
@@ -0,0 +1,8 @@
+{
+ "program": {
+ "binary": "test/http_service_tests"
+ },
+ "sandbox": {
+ "services" : []
+ }
+}
diff --git a/packages/tests/network b/packages/tests/network
index 6a7630f..7c84e5d 100644
--- a/packages/tests/network
+++ b/packages/tests/network
@@ -3,6 +3,7 @@
"garnet/packages/prod/network"
],
"packages": [
- "//garnet/bin/http/tests/manual/mwget"
+ "//garnet/bin/http/tests/manual/mwget",
+ "//garnet/bin/http:http_service_tests"
]
}