Clone this repo:
  1. 01eecd5 Merge pull request #25 from aciidb0mb3r/elim-need-for-pkg by Ankit Aggarwal · 7 years ago main master upstream/fuchsia_release upstream/master upstream/upstream/fuchsia_release upstream/upstream/master swift-DEVELOPMENT-SNAPSHOT-2017-10-24-a swift-DEVELOPMENT-SNAPSHOT-2017-10-25-a swift-DEVELOPMENT-SNAPSHOT-2017-10-26-a swift-DEVELOPMENT-SNAPSHOT-2017-10-27-a swift-DEVELOPMENT-SNAPSHOT-2017-10-28-a swift-DEVELOPMENT-SNAPSHOT-2017-10-29-a swift-DEVELOPMENT-SNAPSHOT-2017-10-30-a swift-DEVELOPMENT-SNAPSHOT-2017-10-31-a swift-DEVELOPMENT-SNAPSHOT-2017-11-01-a swift-DEVELOPMENT-SNAPSHOT-2017-11-02-a swift-DEVELOPMENT-SNAPSHOT-2017-11-03-a swift-DEVELOPMENT-SNAPSHOT-2017-11-04-a swift-DEVELOPMENT-SNAPSHOT-2017-11-05-a swift-DEVELOPMENT-SNAPSHOT-2017-11-06-a swift-DEVELOPMENT-SNAPSHOT-2017-11-07-a swift-DEVELOPMENT-SNAPSHOT-2017-11-08-a swift-DEVELOPMENT-SNAPSHOT-2017-11-09-a
  2. 12a8b11 Add test for blocks support by Ankit Aggarwal · 7 years ago
  3. 751b73d print() function for Python 2 and 3 (#24) by cclauss · 7 years ago swift-4.1-DEVELOPMENT-SNAPSHOT-2017-10-25-a swift-4.1-DEVELOPMENT-SNAPSHOT-2017-10-27-a swift-4.1-DEVELOPMENT-SNAPSHOT-2017-10-28-a swift-4.1-DEVELOPMENT-SNAPSHOT-2017-10-29-a swift-4.1-DEVELOPMENT-SNAPSHOT-2017-10-30-a swift-4.1-DEVELOPMENT-SNAPSHOT-2017-10-31-a swift-4.1-DEVELOPMENT-SNAPSHOT-2017-11-01-a swift-4.1-DEVELOPMENT-SNAPSHOT-2017-11-02-a swift-4.1-DEVELOPMENT-SNAPSHOT-2017-11-03-a swift-4.1-DEVELOPMENT-SNAPSHOT-2017-11-04-a swift-4.1-DEVELOPMENT-SNAPSHOT-2017-11-05-a swift-4.1-DEVELOPMENT-SNAPSHOT-2017-11-06-a swift-DEVELOPMENT-SNAPSHOT-2017-09-28-a swift-DEVELOPMENT-SNAPSHOT-2017-09-29-a swift-DEVELOPMENT-SNAPSHOT-2017-09-30-a swift-DEVELOPMENT-SNAPSHOT-2017-10-06-a swift-DEVELOPMENT-SNAPSHOT-2017-10-07-a swift-DEVELOPMENT-SNAPSHOT-2017-10-08-a swift-DEVELOPMENT-SNAPSHOT-2017-10-09-a swift-DEVELOPMENT-SNAPSHOT-2017-10-10-a swift-DEVELOPMENT-SNAPSHOT-2017-10-12-a swift-DEVELOPMENT-SNAPSHOT-2017-10-14-a swift-DEVELOPMENT-SNAPSHOT-2017-10-15-a swift-DEVELOPMENT-SNAPSHOT-2017-10-16-a swift-DEVELOPMENT-SNAPSHOT-2017-10-17-a swift-DEVELOPMENT-SNAPSHOT-2017-10-18-a swift-DEVELOPMENT-SNAPSHOT-2017-10-19-a swift-DEVELOPMENT-SNAPSHOT-2017-10-20-a swift-DEVELOPMENT-SNAPSHOT-2017-10-21-a swift-DEVELOPMENT-SNAPSHOT-2017-10-22-a swift-DEVELOPMENT-SNAPSHOT-2017-10-23-a
  4. 1d5d149 Merge pull request #23 from hartbit/swift-run by Ankit Aggarwal · 7 years ago swift-DEVELOPMENT-SNAPSHOT-2017-07-11-a swift-DEVELOPMENT-SNAPSHOT-2017-07-12-a swift-DEVELOPMENT-SNAPSHOT-2017-07-13-a swift-DEVELOPMENT-SNAPSHOT-2017-07-19-a swift-DEVELOPMENT-SNAPSHOT-2017-07-20-a swift-DEVELOPMENT-SNAPSHOT-2017-07-22-a swift-DEVELOPMENT-SNAPSHOT-2017-07-23-a swift-DEVELOPMENT-SNAPSHOT-2017-07-24-a swift-DEVELOPMENT-SNAPSHOT-2017-07-26-a swift-DEVELOPMENT-SNAPSHOT-2017-07-27-a swift-DEVELOPMENT-SNAPSHOT-2017-07-28-a swift-DEVELOPMENT-SNAPSHOT-2017-07-29-a swift-DEVELOPMENT-SNAPSHOT-2017-07-30-a swift-DEVELOPMENT-SNAPSHOT-2017-07-31-a swift-DEVELOPMENT-SNAPSHOT-2017-08-01-a swift-DEVELOPMENT-SNAPSHOT-2017-08-02-a swift-DEVELOPMENT-SNAPSHOT-2017-08-03-a swift-DEVELOPMENT-SNAPSHOT-2017-08-14-a swift-DEVELOPMENT-SNAPSHOT-2017-08-15-a swift-DEVELOPMENT-SNAPSHOT-2017-08-21-a swift-DEVELOPMENT-SNAPSHOT-2017-09-01-a swift-DEVELOPMENT-SNAPSHOT-2017-09-02-a swift-DEVELOPMENT-SNAPSHOT-2017-09-03-a swift-DEVELOPMENT-SNAPSHOT-2017-09-04-a swift-DEVELOPMENT-SNAPSHOT-2017-09-05-a swift-DEVELOPMENT-SNAPSHOT-2017-09-06-a swift-DEVELOPMENT-SNAPSHOT-2017-09-07-a swift-DEVELOPMENT-SNAPSHOT-2017-09-08-a swift-DEVELOPMENT-SNAPSHOT-2017-09-09-a swift-DEVELOPMENT-SNAPSHOT-2017-09-10-a swift-DEVELOPMENT-SNAPSHOT-2017-09-11-a swift-DEVELOPMENT-SNAPSHOT-2017-09-12-a swift-DEVELOPMENT-SNAPSHOT-2017-09-13-a swift-DEVELOPMENT-SNAPSHOT-2017-09-14-a swift-DEVELOPMENT-SNAPSHOT-2017-09-15-a swift-DEVELOPMENT-SNAPSHOT-2017-09-16-a swift-DEVELOPMENT-SNAPSHOT-2017-09-17-a swift-DEVELOPMENT-SNAPSHOT-2017-09-18-a swift-DEVELOPMENT-SNAPSHOT-2017-09-19-a swift-DEVELOPMENT-SNAPSHOT-2017-09-20-a swift-DEVELOPMENT-SNAPSHOT-2017-09-21-a swift-DEVELOPMENT-SNAPSHOT-2017-09-22-a swift-DEVELOPMENT-SNAPSHOT-2017-09-23-a swift-DEVELOPMENT-SNAPSHOT-2017-09-24-a swift-DEVELOPMENT-SNAPSHOT-2017-09-25-a swift-DEVELOPMENT-SNAPSHOT-2017-09-26-a swift-DEVELOPMENT-SNAPSHOT-2017-09-27-a
  5. 549de4f Add a test for the new swift run command by David Hart · 7 years ago

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:

sh ./litTest -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