Automated tests for validating the generated Swift snapshots behave correctly
Switch branches/tags
swift-DEVELOPMENT-SNAPSHOT-2018-10-03-a swift-DEVELOPMENT-SNAPSHOT-2018-10-02-a swift-DEVELOPMENT-SNAPSHOT-2018-10-01-a swift-DEVELOPMENT-SNAPSHOT-2018-09-28-a swift-DEVELOPMENT-SNAPSHOT-2018-09-27-a swift-DEVELOPMENT-SNAPSHOT-2018-09-22-a swift-DEVELOPMENT-SNAPSHOT-2018-09-21-a swift-DEVELOPMENT-SNAPSHOT-2018-09-20-a swift-DEVELOPMENT-SNAPSHOT-2018-09-19-a swift-DEVELOPMENT-SNAPSHOT-2018-09-18-a swift-DEVELOPMENT-SNAPSHOT-2018-09-14-a swift-DEVELOPMENT-SNAPSHOT-2018-09-13-a swift-DEVELOPMENT-SNAPSHOT-2018-09-10-a swift-DEVELOPMENT-SNAPSHOT-2018-09-08-a swift-DEVELOPMENT-SNAPSHOT-2018-09-07-a swift-DEVELOPMENT-SNAPSHOT-2018-09-04-a swift-DEVELOPMENT-SNAPSHOT-2018-08-25-a swift-DEVELOPMENT-SNAPSHOT-2018-08-24-a swift-DEVELOPMENT-SNAPSHOT-2018-08-23-a swift-DEVELOPMENT-SNAPSHOT-2018-08-22-a swift-DEVELOPMENT-SNAPSHOT-2018-08-21-a swift-DEVELOPMENT-SNAPSHOT-2018-08-20-a swift-DEVELOPMENT-SNAPSHOT-2018-08-18-a swift-DEVELOPMENT-SNAPSHOT-2018-08-16-a swift-DEVELOPMENT-SNAPSHOT-2018-08-15-a swift-DEVELOPMENT-SNAPSHOT-2018-08-14-a swift-DEVELOPMENT-SNAPSHOT-2018-08-10-a swift-DEVELOPMENT-SNAPSHOT-2018-08-09-a swift-DEVELOPMENT-SNAPSHOT-2018-08-06-a swift-DEVELOPMENT-SNAPSHOT-2018-08-02-a swift-DEVELOPMENT-SNAPSHOT-2018-08-01-a swift-DEVELOPMENT-SNAPSHOT-2018-07-31-a swift-DEVELOPMENT-SNAPSHOT-2018-07-30-a swift-DEVELOPMENT-SNAPSHOT-2018-07-28-a swift-DEVELOPMENT-SNAPSHOT-2018-07-27-a swift-DEVELOPMENT-SNAPSHOT-2018-07-24-a swift-DEVELOPMENT-SNAPSHOT-2018-07-23-a swift-DEVELOPMENT-SNAPSHOT-2018-07-22-a swift-DEVELOPMENT-SNAPSHOT-2018-07-21-a swift-DEVELOPMENT-SNAPSHOT-2018-07-20-a swift-DEVELOPMENT-SNAPSHOT-2018-07-19-a swift-DEVELOPMENT-SNAPSHOT-2018-07-18-a swift-DEVELOPMENT-SNAPSHOT-2018-07-17-a swift-DEVELOPMENT-SNAPSHOT-2018-07-16-a swift-DEVELOPMENT-SNAPSHOT-2018-07-14-a swift-DEVELOPMENT-SNAPSHOT-2018-07-13-a swift-DEVELOPMENT-SNAPSHOT-2018-07-12-a swift-DEVELOPMENT-SNAPSHOT-2018-07-11-a swift-DEVELOPMENT-SNAPSHOT-2018-07-09-a swift-DEVELOPMENT-SNAPSHOT-2018-07-07-a swift-DEVELOPMENT-SNAPSHOT-2018-07-06-a swift-DEVELOPMENT-SNAPSHOT-2018-07-05-a swift-DEVELOPMENT-SNAPSHOT-2018-07-04-a swift-DEVELOPMENT-SNAPSHOT-2018-07-03-a swift-DEVELOPMENT-SNAPSHOT-2018-07-02-a swift-DEVELOPMENT-SNAPSHOT-2018-07-01-a swift-DEVELOPMENT-SNAPSHOT-2018-06-30-a swift-DEVELOPMENT-SNAPSHOT-2018-06-29-a swift-DEVELOPMENT-SNAPSHOT-2018-06-27-a swift-DEVELOPMENT-SNAPSHOT-2018-06-26-a swift-DEVELOPMENT-SNAPSHOT-2018-06-25-a swift-DEVELOPMENT-SNAPSHOT-2018-06-24-a swift-DEVELOPMENT-SNAPSHOT-2018-06-23-a swift-DEVELOPMENT-SNAPSHOT-2018-06-22-a swift-DEVELOPMENT-SNAPSHOT-2018-06-21-a swift-DEVELOPMENT-SNAPSHOT-2018-06-20-a swift-DEVELOPMENT-SNAPSHOT-2018-06-19-a swift-DEVELOPMENT-SNAPSHOT-2018-06-18-a swift-DEVELOPMENT-SNAPSHOT-2018-06-17-a swift-DEVELOPMENT-SNAPSHOT-2018-06-16-a swift-DEVELOPMENT-SNAPSHOT-2018-06-15-a swift-DEVELOPMENT-SNAPSHOT-2018-06-14-a swift-DEVELOPMENT-SNAPSHOT-2018-06-08-a swift-DEVELOPMENT-SNAPSHOT-2018-06-07-a swift-DEVELOPMENT-SNAPSHOT-2018-06-06-a swift-DEVELOPMENT-SNAPSHOT-2018-06-05-a swift-DEVELOPMENT-SNAPSHOT-2018-06-04-a swift-DEVELOPMENT-SNAPSHOT-2018-06-03-a swift-DEVELOPMENT-SNAPSHOT-2018-06-02-a swift-DEVELOPMENT-SNAPSHOT-2018-06-01-a swift-DEVELOPMENT-SNAPSHOT-2018-05-31-a swift-DEVELOPMENT-SNAPSHOT-2018-05-30-a swift-DEVELOPMENT-SNAPSHOT-2018-05-29-a swift-DEVELOPMENT-SNAPSHOT-2018-05-28-a swift-DEVELOPMENT-SNAPSHOT-2018-05-27-a swift-DEVELOPMENT-SNAPSHOT-2018-05-26-a swift-DEVELOPMENT-SNAPSHOT-2018-05-25-a swift-DEVELOPMENT-SNAPSHOT-2018-05-24-a swift-DEVELOPMENT-SNAPSHOT-2018-05-23-a swift-DEVELOPMENT-SNAPSHOT-2018-05-22-a swift-DEVELOPMENT-SNAPSHOT-2018-05-21-a swift-DEVELOPMENT-SNAPSHOT-2018-05-20-a swift-DEVELOPMENT-SNAPSHOT-2018-05-19-a swift-DEVELOPMENT-SNAPSHOT-2018-05-18-a swift-DEVELOPMENT-SNAPSHOT-2018-05-17-a swift-DEVELOPMENT-SNAPSHOT-2018-05-14-a swift-DEVELOPMENT-SNAPSHOT-2018-05-13-a swift-DEVELOPMENT-SNAPSHOT-2018-05-11-a swift-DEVELOPMENT-SNAPSHOT-2018-05-10-a swift-DEVELOPMENT-SNAPSHOT-2018-05-08-a
Nothing to show
Clone or download
aciidb0mb3r Merge pull request #34 from hartbit/patch-1
Fix error message for missing llvm-bin-dir
Latest commit 6cfcfc9 Aug 16, 2018
Permalink
Failed to load latest commit information.
repl print() function for Python 2 and 3 (#24) Sep 28, 2017
test-c-library-swiftpm Rename --chdir to --package-path Jun 15, 2017
test-complex-xctest-package Convert SwiftPM tests to use latest manifests Jul 12, 2018
test-foundation-package Convert SwiftPM tests to use latest manifests Jul 12, 2018
test-import-glibc Add all existing tests to integration repo Dec 10, 2015
test-lldb-with-c-package Rename --chdir to --package-path Jun 15, 2017
test-multi-compile-glibc Add all existing tests to integration repo Dec 10, 2015
test-multi-compile Add all existing tests to integration repo Dec 10, 2015
test-snapshot-binaries [REPL] Test RPATH is set correctly on linux. Aug 9, 2018
test-static-lib Add all existing tests to integration repo Dec 10, 2015
test-xctest-package Convert SwiftPM tests to use latest manifests Jul 12, 2018
.gitignore Add all existing tests to integration repo Dec 10, 2015
CONTRIBUTING.md Add CONTRIBUTING.md Dec 11, 2015
README.md Update the example instantiation to ./litTest Mar 21, 2016
basic.py Add all existing tests to integration repo Dec 10, 2015
debugging-flags-SR85.py Rename --chdir to --package-path Jun 15, 2017
example-package-dealer.py Rename --chdir to --package-path Jun 15, 2017
lit.cfg Fix error message for missing llvm-bin-dir Aug 10, 2018
litTest Add a test that `swift package update` checks for modified packages. May 26, 2016
not Add a test that `swift package update` checks for modified packages. May 26, 2016
swift-build-self-host.py Disable swift-build-self-host test Jul 19, 2018
swift-build.txt Convert SwiftPM tests to use latest manifests Jul 12, 2018
swift-compiler.py Add all existing tests to integration repo Dec 10, 2015
swift-package-init-exec.md Rename --chdir to --package-path Jun 15, 2017
swift-package-init-lib.md Rename --chdir to --package-path Jun 15, 2017
swift-package-with-spaces.txt Convert SwiftPM tests to use latest manifests Jul 12, 2018
swift-run.md Add a test for the new swift run command Jul 11, 2017

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:

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 Name Functionality
basic Check output of swift --version
example-package-dealer Build the example package-dealer package
repl Various REPL sanity checks, notably importing Darwin and Glibc
swift-build-self-host Use swift build to build itself
swift-compiler Compile a basic swift file
test-c-library-swiftpm Build a package that links a 3rd party library
test-foundation-package Build a package that imports Foundation
test-import-glibc Compile a source file importing and using Glibc
test-multi-compile Compile multiple source files into an executable
test-multi-compile-glibc Compile multiple source files importing Glibc into an executable
test-static-lib Compile multiple source files into a static library
test-xctest-package Build a package that imports XCTest