summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Buetow <pbuetow@mimecast.com>2021-10-19 19:01:12 +0300
committerPaul Buetow <pbuetow@mimecast.com>2021-10-19 19:03:03 +0300
commit860c41441b3bcf542b5701ae2257812879ce47b4 (patch)
tree9940e557b86e346cc3989c45e4f512f58dab850b /Makefile
parent10314cef906fd9b73e003be69c2f6b7b3d66570c (diff)
Set DTAIL_RUN_INTEGRATIONT_TEST to yes for integration tests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 6c644f7..0e66ac4 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ DTAIL_SSH_DONT_ADD_HOSTS_TO_KNOWNHOSTS_FILE = yes
all: build
build: dserver dcat dgrep dmap dtail dtailhealth
dserver:
-ifndef USE_ACL
+ifndef DTAIL_USE_ACL
${GO} build ${GO_FLAGS} -o dserver ./cmd/dserver/main.go
else
${GO} build ${GO_FLAGS} -tags linuxacl -o dserver ./cmd/dserver/main.go
@@ -20,7 +20,7 @@ dtail:
dtailhealth:
${GO} build ${GO_FLAGS} -o dtailhealth ./cmd/dtailhealth/main.go
install:
-ifndef USE_ACL
+ifndef DTAIL_USE_ACL
${GO} install ./cmd/dserver/main.go
else
${GO} install -tags linuxacl ./cmd/dserver/main.go
@@ -48,7 +48,7 @@ lint:
done | grep -F .go:
test:
${GO} clean -testcache
-ifndef USE_ACL
+ifndef DTAIL_USE_ACL
set -e; find . -name '*_test.go' | while read file; do dirname $$file; done | \
sort -u | while read dir; do ${GO} test --race -v $$dir || exit 2; done
else