mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-25 16:06:25 -06:00
Add "testacc" target for easy acceptance testing
This commit is contained in:
parent
b3fd62beb0
commit
9d3adc07ca
7
Makefile
7
Makefile
@ -25,6 +25,13 @@ libucl: vendor/libucl/$(LIBUCL_NAME)
|
|||||||
test: libucl
|
test: libucl
|
||||||
go test $(TEST) $(TESTARGS)
|
go test $(TEST) $(TESTARGS)
|
||||||
|
|
||||||
|
testacc: libucl
|
||||||
|
@if [ "$(TEST)" = "./..." ]; then \
|
||||||
|
echo "ERROR: Set TEST to a specific package"; \
|
||||||
|
exit 1; \
|
||||||
|
fi
|
||||||
|
TF_ACC=1 go test $(TEST) -v $(TESTARGS)
|
||||||
|
|
||||||
testrace: libucl
|
testrace: libucl
|
||||||
go test -race $(TEST) $(TESTARGS)
|
go test -race $(TEST) $(TESTARGS)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user