From 4fb497191a4372154378df56f126e53c039b1510 Mon Sep 17 00:00:00 2001 From: Shahriyar Jalayeri Date: Thu, 15 Aug 2024 14:32:09 +0300 Subject: [PATCH] remove debug related commands from Makefile Signed-off-by: Shahriyar Jalayeri --- tests/aziot/Makefile | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/tests/aziot/Makefile b/tests/aziot/Makefile index dbb37d134..370ecc4c8 100644 --- a/tests/aziot/Makefile +++ b/tests/aziot/Makefile @@ -46,7 +46,7 @@ build: setup testbin: $(TESTBIN) $(LOCALTESTBIN): $(BINDIR) *.go - CGO_ENABLED=0 GOOS=$(OS) GOARCH=$(ARCH) go test -c -gcflags "all=-N -l" -o $@ *.go + CGO_ENABLED=0 GOOS=$(OS) GOARCH=$(ARCH) go test -c -ldflags "-s -w" -o $@ *.go $(TESTBIN): $(LOCALTESTBIN) ln -sf $(LOCALTESTBIN) $(CURDIR)/$(TESTBIN) @@ -55,21 +55,7 @@ setup: testbin $(BINDIR) $(DATADIR) cp -a $(LOCALTESTBIN) $(CURDIR)/$(TESTBIN) $(BINDIR) cp -a *.yml $(TESTSCN) $(DATADIR) -debug: build - dlv dap --listen=:12345 - -eden: - cd ../../ && \ - make clean && \ - make eden && \ - ./eden config add default && \ - ./eden config set default --key redis.port --value 4444 && \ - ./eden config set default --key eden.eserver.port --value 5555 && \ - ./eden setup && \ - ./eden start && \ - ./eden eve onboard - -.PHONY: test build setup clean all testbin debug eden +.PHONY: test build setup clean all testbin debug help: @echo "EDEN is the harness for testing EVE and ADAM"