Tag build swift-2.2-SNAPSHOT-2016-02-24-a
Disable all tests that rely on swift-build.

swift-build is not included in the 2.2 package.
4 files changed
tree: 754008bae805d54a2a8768cb840570be09c4c40f
  1. repl/
  2. test-c-library-swiftpm/
  3. test-foundation-package/
  4. test-import-glibc/
  5. test-multi-compile/
  6. test-multi-compile-glibc/
  7. test-static-lib/
  8. test-xctest-package/
  9. .gitignore
  10. basic.py
  11. CONTRIBUTING.md
  12. debugging-flags-SR85.py
  13. example-package-dealer.py
  14. lit.cfg
  15. litTest
  16. README.md
  17. swift-build-self-host.py
  18. swift-build.py
  19. swift-compiler.py
  20. swift-package-with-spaces.py
README.md

Swift Package Tests

Automated tests for validating the generated Swift snapshots behave correctly.

Usage

You are expected to check this repository out as a peer of “llvm” in the swift-project.

Run the tests using:

./test -sv --param package-path=/path/to/downloadable-package .

where the path is the unarchived package root path.

Tests

Here is a partial list of tests in the repository:

Test NameFunctionality
basicCheck output of swift --version
example-package-dealerBuild the example package-dealer package
replVarious REPL sanity checks, notably importing Darwin and Glibc
swift-build-self-hostUse swift build to build itself
swift-compilerCompile a basic swift file
test-c-library-swiftpmBuild a package that links a 3rd party library
test-foundation-packageBuild a package that imports Foundation
test-import-glibcCompile a source file importing and using Glibc
test-multi-compileCompile multiple source files into an executable
test-multi-compile-glibcCompile multiple source files importing Glibc into an executable
test-static-libCompile multiple source files into a static library
test-xctest-packageBuild a package that imports XCTest