-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (27 loc) · 847 Bytes
/
Makefile
File metadata and controls
35 lines (27 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
openstack-tests: test/extended/openstack/* cmd/openshift-tests/*
go build -o $@ ./cmd/openshift-tests
# Update generated artifacts.
update:
mkdir -p ./test/extented/util/annotate/generated
go generate ./test/extended
.PHONY: update
verify:
./hack/verify.sh
.PHONY: verify
run: openstack-tests
./$< run openshift/openstack
.PHONY: run
# OTE test extension binary configuration
TESTS_EXT_BINARY := bin/openstack-test-tests-ext
.PHONY: tests-ext-build
tests-ext-build:
@echo "Building OTE test extension binary..."
@mkdir -p bin
GOTOOLCHAIN=auto GOSUMDB=sum.golang.org go build -mod=vendor -o $(TESTS_EXT_BINARY) ./cmd/extension
@echo "Extension binary built: $(TESTS_EXT_BINARY)"
.PHONY: extension
extension: tests-ext-build
.PHONY: clean-extension
clean-extension:
@echo "Cleaning extension binary..."
@rm -f $(TESTS_EXT_BINARY)