mirror of
https://github.com/apple/container.git
synced 2026-08-28 03:16:29 +00:00
Restore --skip-build, enable import testable for release builds. (#1955)
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
# Version and build configuration variables
|
||||
BUILD_CONFIGURATION ?= debug
|
||||
WARNINGS_AS_ERRORS ?= true
|
||||
SWIFT_CONFIGURATION := $(if $(filter-out false,$(WARNINGS_AS_ERRORS)),-Xswiftc -warnings-as-errors)
|
||||
SWIFT_CONFIGURATION := $(if $(filter-out false,$(WARNINGS_AS_ERRORS)),-Xswiftc -warnings-as-errors) -Xswiftc -enable-testing
|
||||
# Code-coverage instrumentation, layered onto the shared build stages. Empty for
|
||||
# ordinary builds; the coverage-* targets opt in via a target-specific value so
|
||||
# only those goals compile instrumented binaries.
|
||||
@@ -173,7 +173,7 @@ dsym:
|
||||
|
||||
.PHONY: test
|
||||
test: build-tests
|
||||
@$(SWIFT) test -c $(BUILD_CONFIGURATION) $(SWIFT_CONFIGURATION) --skip TestCLI --skip IntegrationTests
|
||||
@$(SWIFT) test --skip-build -c $(BUILD_CONFIGURATION) $(SWIFT_CONFIGURATION) --skip TestCLI --skip IntegrationTests
|
||||
|
||||
.PHONY: install-kernel
|
||||
install-kernel:
|
||||
|
||||
Reference in New Issue
Block a user