diff --git a/swift/integration-tests/osx-only/frontend-invocations/Makefile b/swift/integration-tests/osx-only/frontend-invocations/Makefile deleted file mode 100644 index a05c5f1e9f8..00000000000 --- a/swift/integration-tests/osx-only/frontend-invocations/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -# TODO: Add linux -SDK=$(shell xcrun -show-sdk-path) -FRONTEND=$(shell xcrun -find swift-frontend) - -all: - $(FRONTEND) -frontend -c A.swift -sdk $(SDK) - $(FRONTEND) -frontend -c B.swift -o B.o -sdk $(SDK) - $(FRONTEND) -frontend -c -primary-file C.swift -sdk $(SDK) - $(FRONTEND) -frontend -c -primary-file D.swift -o D.o -sdk $(SDK) - $(FRONTEND) -frontend -c -primary-file E.swift Esup.swift -o E.o -sdk $(SDK) diff --git a/swift/integration-tests/osx-only/frontend-invocations/A.swift b/swift/integration-tests/posix-only/frontend-invocations/A.swift similarity index 100% rename from swift/integration-tests/osx-only/frontend-invocations/A.swift rename to swift/integration-tests/posix-only/frontend-invocations/A.swift diff --git a/swift/integration-tests/osx-only/frontend-invocations/B.swift b/swift/integration-tests/posix-only/frontend-invocations/B.swift similarity index 100% rename from swift/integration-tests/osx-only/frontend-invocations/B.swift rename to swift/integration-tests/posix-only/frontend-invocations/B.swift diff --git a/swift/integration-tests/osx-only/frontend-invocations/C.swift b/swift/integration-tests/posix-only/frontend-invocations/C.swift similarity index 100% rename from swift/integration-tests/osx-only/frontend-invocations/C.swift rename to swift/integration-tests/posix-only/frontend-invocations/C.swift diff --git a/swift/integration-tests/osx-only/frontend-invocations/D.swift b/swift/integration-tests/posix-only/frontend-invocations/D.swift similarity index 100% rename from swift/integration-tests/osx-only/frontend-invocations/D.swift rename to swift/integration-tests/posix-only/frontend-invocations/D.swift diff --git a/swift/integration-tests/osx-only/frontend-invocations/E.swift b/swift/integration-tests/posix-only/frontend-invocations/E.swift similarity index 100% rename from swift/integration-tests/osx-only/frontend-invocations/E.swift rename to swift/integration-tests/posix-only/frontend-invocations/E.swift diff --git a/swift/integration-tests/osx-only/frontend-invocations/Esup.swift b/swift/integration-tests/posix-only/frontend-invocations/Esup.swift similarity index 100% rename from swift/integration-tests/osx-only/frontend-invocations/Esup.swift rename to swift/integration-tests/posix-only/frontend-invocations/Esup.swift diff --git a/swift/integration-tests/osx-only/frontend-invocations/Files.expected b/swift/integration-tests/posix-only/frontend-invocations/Files.expected similarity index 100% rename from swift/integration-tests/osx-only/frontend-invocations/Files.expected rename to swift/integration-tests/posix-only/frontend-invocations/Files.expected diff --git a/swift/integration-tests/osx-only/frontend-invocations/Files.ql b/swift/integration-tests/posix-only/frontend-invocations/Files.ql similarity index 100% rename from swift/integration-tests/osx-only/frontend-invocations/Files.ql rename to swift/integration-tests/posix-only/frontend-invocations/Files.ql diff --git a/swift/integration-tests/posix-only/frontend-invocations/Makefile b/swift/integration-tests/posix-only/frontend-invocations/Makefile new file mode 100644 index 00000000000..d3ddece6b9f --- /dev/null +++ b/swift/integration-tests/posix-only/frontend-invocations/Makefile @@ -0,0 +1,15 @@ +OS=$(shell uname) +ifeq ($(OS),Darwin) +SDK=-sdk $(shell xcrun -show-sdk-path) +FRONTEND=$(shell xcrun -find swift-frontend) +else +SDK="" +FRONTEND=swiftc +endif + +all: + $(FRONTEND) -frontend -c A.swift $(SDK) + $(FRONTEND) -frontend -c B.swift -o B.o $(SDK) + $(FRONTEND) -frontend -c -primary-file C.swift $(SDK) + $(FRONTEND) -frontend -c -primary-file D.swift -o D.o $(SDK) + $(FRONTEND) -frontend -c -primary-file E.swift Esup.swift -o E.o $(SDK) diff --git a/swift/integration-tests/osx-only/frontend-invocations/test.py b/swift/integration-tests/posix-only/frontend-invocations/test.py similarity index 100% rename from swift/integration-tests/osx-only/frontend-invocations/test.py rename to swift/integration-tests/posix-only/frontend-invocations/test.py