Revision ec651eae25819f6bd9250b659041200cae6c338f authored by Marco Hofstetter on 11 June 2024, 15:36:27 UTC, committed by André Martins on 13 June 2024, 11:54:09 UTC
Currently, accessing the monitoragent from the service manager is guarded with nil-checks as unit-tests don't provide a monitoragent. This commit removes the check in favor of a fake implementation that is used and passed in the tests. Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
1 parent 2e308f9
Makefile.quiet
# Copyright Authors of Cilium
# SPDX-License-Identifier: Apache-2.0
ifeq ($(ROOT_DIR),)
ROOT_DIR ?= $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
RELATIVE_DIR ?= $(shell echo $(realpath .) | sed "s;$(ROOT_DIR)[/]*;;")
endif
ifeq ($(V),0)
QUIET=@
ECHO_CC=echo " CC $(RELATIVE_DIR)/$@"
ECHO_CHECK=echo " CHECK $(RELATIVE_DIR)"
ECHO_CLEAN=echo " CLEAN $(RELATIVE_DIR)"
ECHO_DOCKER=echo " DOCKER $(RELATIVE_DIR) $@"
ECHO_GEN=echo " GEN $(RELATIVE_DIR)/"
ECHO_GINKGO=echo " GINKGO $(RELATIVE_DIR)"
ECHO_GO=echo " GO $(RELATIVE_DIR)/$@"
ECHO_TEST=echo " TEST "
SUBMAKEOPTS="-s"
else
# The whitespace at below EOLs is required for verbose case!
ECHO_CC=:
ECHO_CHECK=:
ECHO_CLEAN=:
ECHO_DOCKER=:
ECHO_GEN=:
ECHO_GINKGO=:
ECHO_GO=:
ECHO_TEST=:
SUBMAKEOPTS=
endif
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...