Skip to content

Automated tests for validating the generated Swift snapshots behave correctly

Notifications You must be signed in to change notification settings

kateinoigakukun/swift-integration-tests

This branch is 102 commits behind swiftlang/swift-integration-tests:main.

Folders and files

NameName
Last commit message
Last commit date
Mar 31, 2021
Mar 4, 2019
Mar 24, 2019
Jul 12, 2018
Feb 3, 2021
Dec 10, 2015
Oct 7, 2019
Dec 10, 2015
Dec 10, 2015
Mar 31, 2021
Mar 30, 2021
Dec 10, 2015
Jul 19, 2019
Mar 4, 2019
Dec 10, 2015
Dec 11, 2015
Mar 21, 2016
Dec 10, 2015
Mar 4, 2019
Mar 4, 2019
Mar 17, 2021
Mar 30, 2021
May 26, 2016
Nov 30, 2020
Mar 4, 2019
Mar 4, 2019
Dec 10, 2015
Mar 24, 2019
Mar 24, 2019
Mar 4, 2019
Mar 24, 2019

Repository files navigation

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

About

Automated tests for validating the generated Swift snapshots behave correctly

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 87.2%
  • Swift 11.1%
  • Other 1.7%