summaryrefslogtreecommitdiffstats
path: root/integration-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'integration-tests.patch')
-rw-r--r--integration-tests.patch152
1 files changed, 0 insertions, 152 deletions
diff --git a/integration-tests.patch b/integration-tests.patch
deleted file mode 100644
index f7ef732..0000000
--- a/integration-tests.patch
+++ /dev/null
@@ -1,152 +0,0 @@
---- swift-integration-tests/test-foundation-package/test-foundation-package.txt.orig 2018-06-25 16:26:12.887466459 -0500
-+++ swift-integration-tests/test-foundation-package/test-foundation-package.txt 2018-06-25 16:26:12.887466459 -0500
-@@ -2,6 +2,7 @@
- //
- //
- // Make a sandbox dir.
-+// RUN: export SWIFT_BUILD_FOR_FEDORA=1
- // RUN: rm -rf %t.dir
- // RUN: mkdir -p %t.dir/tool
- // RUN: cp %s %t.dir/tool/Package.swift
---- swift-integration-tests/test-import-glibc/test-import-glibc.py.orig 2018-06-25 16:26:12.888466459 -0500
-+++ swift-integration-tests/test-import-glibc/test-import-glibc.py 2018-06-25 16:26:12.888466459 -0500
-@@ -2,6 +2,7 @@
- #
- # REQUIRES: platform=Linux
-
-+# RUN: export SWIFT_BUILD_FOR_FEDORA=1
- # RUN: rm -rf %t.dir
- # RUN: mkdir %t.dir
- # RUN: cp %S/import-glibc.swift %t.dir/import-glibc.swift
---- swift-integration-tests/test-multi-compile-glibc/swift-multi-compile-glibc.py.orig 2018-06-25 16:26:12.893466459 -0500
-+++ swift-integration-tests/test-multi-compile-glibc/swift-multi-compile-glibc.py 2018-06-25 16:26:12.893466459 -0500
-@@ -1,6 +1,7 @@
- # Tests that multiple files are compiled correctly
- #
- # REQUIRES: platform=Linux
-+# RUN: export SWIFT_BUILD_FOR_FEDORA=1
- # RUN: rm -rf %t.dir
- # RUN: mkdir %t.dir
- # RUN: cp %S/hello.swift %t.dir/hello.swift
---- swift-integration-tests/test-multi-compile/swift-multi-compile.py.orig 2018-06-25 16:26:12.895466459 -0500
-+++ swift-integration-tests/test-multi-compile/swift-multi-compile.py 2018-06-25 16:26:12.896466459 -0500
-@@ -1,5 +1,6 @@
- # Tests that compiling multiple swift files works.
- #
-+# RUN: export SWIFT_BUILD_FOR_FEDORA=1
- # RUN: rm -rf %t.dir
- # RUN: mkdir %t.dir
- # RUN: cp %S/hello.swift %t.dir/hello.swift
---- swift-integration-tests/test-static-lib/test-static-lib.py.orig 2018-06-25 16:26:12.896466459 -0500
-+++ swift-integration-tests/test-static-lib/test-static-lib.py 2018-06-25 16:26:12.896466459 -0500
-@@ -1,5 +1,6 @@
- # Tests that creating a static lib and importing it into a file works
-
-+# RUN: export SWIFT_BUILD_FOR_FEDORA=1
- # RUN: rm -rf %t.dir
- # RUN: mkdir %t.dir
- # RUN: cp %S/staticLib.swift %t.dir/staticLib.swift
---- swift-integration-tests/test-xctest-package/test-xctest-package.txt.orig 2018-06-25 16:26:12.897466459 -0500
-+++ swift-integration-tests/test-xctest-package/test-xctest-package.txt 2018-06-25 16:26:12.897466459 -0500
-@@ -7,6 +7,7 @@
- // REQUIRES: platform=Linux
- //
- // Make a sandbox dir.
-+// RUN: export SWIFT_BUILD_FOR_FEDORA=1
- // RUN: rm -rf %t.dir
- // RUN: mkdir -p %t.dir/tool
- // RUN: cp %s %t.dir/tool/Package.swift
---- swift-integration-tests/test-complex-xctest-package/test-xctest-package.txt.orig 2018-06-25 16:26:12.897466459 -0500
-+++ swift-integration-tests/test-complex-xctest-package/test-xctest-package.txt 2018-06-25 16:26:12.897466459 -0500
-@@ -1,6 +1,7 @@
- // Check if test modules can import Swift modules which depend on C module.
- //
- // Make a sandbox dir.
-+// RUN: export SWIFT_BUILD_FOR_FEDORA=1
- // RUN: rm -rf %t.dir
- // RUN: mkdir -p %t.dir
- // RUN: cp -r %S/SwiftCMixed %t.dir/
---- swift-integration-tests/basic.py.orig 2018-06-25 16:26:12.891466459 -0500
-+++ swift-integration-tests/basic.py 2018-06-25 16:26:12.892466459 -0500
-@@ -1,5 +1,6 @@
- # Basic sanity check.
- #
-+# RUN: export SWIFT_BUILD_FOR_FEDORA=1
- # RUN: %{swiftc} --version > %t.out
- # RUN: %{FileCheck} --input-file %t.out %s
- #
---- swift-integration-tests/swift-package-init-lib.md.orig 2018-06-25 16:26:12.890466459 -0500
-+++ swift-integration-tests/swift-package-init-lib.md 2018-06-25 16:26:12.893466459 -0500
-@@ -6,6 +6,7 @@
- ```
- RUN: rm -rf %t.dir
- RUN: mkdir -p %t.dir/Project
-+RUN: export SWIFT_BUILD_FOR_FEDORA=1
- RUN: %{swift} package --package-path %t.dir/Project init --type library
- RUN: %{swift} build --package-path %t.dir/Project 2>&1 | tee %t.build-log
- RUN: %{swift} test --package-path %t.dir/Project 2>&1 | tee %t.test-log
---- swift-integration-tests/swift-build-self-host.py.orig 2018-06-25 16:26:12.891466459 -0500
-+++ swift-integration-tests/swift-build-self-host.py 2018-06-25 16:26:12.892466459 -0500
-@@ -12,6 +12,7 @@
- # RUN: cp -R %{swiftpm_srcdir} %t.dir/swiftpm
-
- # RUN: rm -rf %t.dir/swiftpm/.build
-+# RUN: export SWIFT_BUILD_FOR_FEDORA=1
- # RUN: %{swift} build --package-path %t.dir/swiftpm 2>&1 | tee %t.build-log
-
- # Check the build log.
---- swift-integration-tests/swift-package-with-spaces.txt.orig 2018-06-25 16:26:12.891466459 -0500
-+++ swift-integration-tests/swift-package-with-spaces.txt 2018-06-25 16:26:12.892466459 -0500
-@@ -6,6 +6,7 @@
- // RUN: cp %s %t.dir/more\ spaces/special\ tool/Package.swift
- // RUN: echo 'foo()' > %t.dir/more\ spaces/special\ tool/main.swift
- // RUN: echo 'func foo() { print("HI") }' > %t.dir/more\ spaces/special\ tool/some\ file.swift
-+// RUN: export SWIFT_BUILD_FOR_FEDORA=1
- // RUN: %{swift} build --package-path %t.dir/more\ spaces/special\ tool -v 2>&1 | tee %t.build-log
- //
- // Check the build log.
---- swift-integration-tests/swift-build.txt.orig 2018-06-25 16:26:12.891466459 -0500
-+++ swift-integration-tests/swift-build.txt 2018-06-25 16:26:12.892466459 -0500
-@@ -1,6 +1,7 @@
- // Trivial test for Swift build.
- //
- // Make a sandbox dir.
-+// RUN: export SWIFT_BUILD_FOR_FEDORA=1
- // RUN: rm -rf %t.dir
- // RUN: mkdir -p %t.dir/tool
- // RUN: cp %s %t.dir/tool/Package.swift
---- swift-integration-tests/swift-run.md.orig 2018-06-25 16:26:12.891466459 -0500
-+++ swift-integration-tests/swift-run.md 2018-06-25 16:26:12.892466459 -0500
-@@ -3,6 +3,7 @@
- ## Create a new package with an echo executable.
-
- ```
-+RUN: export SWIFT_BUILD_FOR_FEDORA=1
- RUN: rm -rf %t.dir
- RUN: mkdir -p %t.dir/secho
- RUN: %{swift} package --package-path %t.dir/secho init --type executable
-@@ -20,4 +21,4 @@
- CHECK-BUILD-LOG: Compile Swift Module 'secho'
- CHECK-BUILD-LOG: Linking {{.*}}secho
- CHECK-BUILD-LOG: 1 two
--```
-\ No newline at end of file
-+```
---- swift-integration-tests/swift-package-init-exec.md.orig 2018-06-25 16:26:12.891466459 -0500
-+++ swift-integration-tests/swift-package-init-exec.md 2018-06-25 16:26:12.892466459 -0500
-@@ -3,6 +3,7 @@
- ## Create a new package with an executable target.
-
- ```
-+RUN: export SWIFT_BUILD_FOR_FEDORA=1
- RUN: rm -rf %t.dir
- RUN: mkdir -p %t.dir/Project
- RUN: %{swift} package --package-path %t.dir/Project init --type executable
---- swift-integration-tests/swift-compiler.py.orig 2018-06-25 16:26:12.891466459 -0500
-+++ swift-integration-tests/swift-compiler.py 2018-06-25 16:26:12.892466459 -0500
-@@ -1,4 +1,5 @@
- #
-+# RUN: export SWIFT_BUILD_FOR_FEDORA=1
- # RUN: rm -rf %t.dir
- # RUN: mkdir -p %t.dir
- # RUN: touch %t.dir/hello.swift