summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Homescu <ahomescu@google.com>2024-04-19 00:21:21 +0000
committerAndrei Homescu <ahomescu@google.com>2024-04-19 00:21:21 +0000
commit0f48cc3b7fab77a7b03aa6e725355856d9a0eca8 (patch)
tree9812fe219fee6abdf2ecb1cbf78a4e98da25688e
parent66d18ee8b21cddf50aea3373f7c7b4382a5a3982 (diff)
downloadsample-main.tar.gz
stats-test: Disable if error reporting is turned offHEADmastermain
Disable stats-test on builds where storage error reporting is off, e.g., generic-x86_64. Bug: 304585390 Test: build.py generic-x86_64-test Change-Id: I2dd930aa299847899dd779200a70e42366b47db8
-rw-r--r--stats-test/usertests-inc.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/stats-test/usertests-inc.mk b/stats-test/usertests-inc.mk
index 102d0ea..009c277 100644
--- a/stats-test/usertests-inc.mk
+++ b/stats-test/usertests-inc.mk
@@ -13,8 +13,10 @@
# limitations under the License.
#
+ifeq (true,$(call TOBOOL,$(STORAGE_ENABLE_ERROR_REPORTING)))
TRUSTY_USER_TESTS += \
trusty/user/app/sample/stats-test \
trusty/user/app/sample/stats-test/consumer \
trusty/user/app/sample/stats-test/relayer \
+endif