Tag build swift-DEVELOPMENT-SNAPSHOT-2017-10-06-a
print() function for Python 2 and 3 (#24)

1 file changed
tree: d2598147e2e7d07adaf429082ae0b3aeb26e2211
  1. repl/
  2. test-c-library-swiftpm/
  3. test-complex-xctest-package/
  4. test-foundation-package/
  5. test-import-glibc/
  6. test-lldb-with-c-package/
  7. test-multi-compile/
  8. test-multi-compile-glibc/
  9. test-static-lib/
  10. test-xctest-package/
  11. .gitignore
  12. basic.py
  14. debugging-flags-SR85.py
  15. example-package-dealer.py
  16. lit.cfg
  17. litTest
  18. not
  19. README.md
  20. swift-build-self-host.py
  21. swift-build.txt
  22. swift-compiler.py
  23. swift-package-init-exec.md
  24. swift-package-init-lib.md
  25. swift-package-with-spaces.txt
  26. swift-run.md

Swift Package Tests

Automated tests for validating the generated Swift snapshots behave correctly.


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

Run the tests using:

sh ./litTest -sv --param package-path=/path/to/downloadable-package .

where the path is the unarchived package root path.


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