swift-integration-tests:验证生成的Swift快照的自动化测试行为正常

时间:2021-03-18 06:51:23
【文件属性】:
文件名称:swift-integration-tests:验证生成的Swift快照的自动化测试行为正常
文件大小:47KB
文件格式:ZIP
更新时间:2021-03-18 06:51:23
Python Swift软件包测试 用于验证生成的Swift快照的自动化测试可以正常运行。 用法 您应该在swift-project中将此存储库签出为“ llvm”的对等项。 使用以下命令运行测试: sh ./litTest -sv --param package-path=/path/to/downloadable-package . 路径是未归档的程序包根路径。 测验 这是存储库中的部分测试列表: 测试名称 功能性 基本的 检查swift --version输出 example-package-dealer 构建示例package-dealer软件包 代表 各种REPL完整性检查,尤其是导入Darwin和Glibc Swift建立自己的主机 使用快速构建进行自我构建 快速编译器 编译基本的swift文件 测试C-库-swiftpm 构建一个链接第3方库的程序包 测试基础包 构建一个导入基金会的软件
【文件预览】:
swift-integration-tests-main
----test-xctest-package()
--------main.swift(266B)
--------test-xctest-package.txt(880B)
----swift-compiler.py(483B)
----swift-package-init-lib.md(1KB)
----debugging-flags-SR85.py(821B)
----swift-build.txt(848B)
----test-multi-compile()
--------goodbye.swift(8B)
--------main.swift(8B)
--------hello.swift(43B)
--------swift-multi-compile.py(502B)
----example-package-dealer.py(1KB)
----swift-package-with-spaces.txt(1KB)
----swift-package-init-exec.md(1016B)
----test-static-stdlib()
--------main.swift(92B)
--------test-static-stdlib.test(168B)
--------test-dispatch-static-stdlib.test(224B)
--------dispatch_test.swift(119B)
----test-c-library-swiftpm()
--------testApp()
--------test.py(1KB)
--------z()
----litTest(110B)
----swift-run.md(650B)
----test-complex-xctest-package()
--------test-xctest-package.txt(540B)
--------SwiftCMixed()
----test-foundation-package()
--------main.swift(126B)
--------test-foundation-networking-fetch.txt(256B)
--------test-foundation-networking.swift(148B)
--------test-foundation-xml.txt(195B)
--------test-foundation-xml.swift(83B)
--------test-foundation-networking-fetch.swift(160B)
--------test-foundation-package.txt(939B)
--------test-foundation-networking.txt(244B)
----swift-build-self-host.py(819B)
----sk-stress-test.txt(581B)
----not(162B)
----CONTRIBUTING.md(468B)
----lit.cfg(10KB)
----test-codecov-package()
--------test-codecov-package.txt(610B)
--------foo()
----test-multi-compile-glibc()
--------goodbye.swift(8B)
--------main.swift(8B)
--------swift-multi-compile-glibc.py(529B)
--------hello.swift(57B)
----test-sourcekit-lsp()
--------pkg()
--------test-sourcekit-lsp.py(4KB)
----.gitignore(10B)
----test-snapshot-binaries()
--------linux_load_commands.py(5KB)
--------test-rpath-linux.py(2KB)
----basic.py(128B)
----test-static-lib()
--------main.swift(26B)
--------test-static-lib.py(734B)
--------staticLib.swift(43B)
----test-import-glibc()
--------import-glibc.swift(35B)
--------test-import-glibc.py(516B)
----README.md(2KB)
----repl()
--------test-repl-glibc.py(1KB)
--------test-repl-darwin.py(837B)
----test-lldb-with-swiftpm()
--------README.txt(784B)
--------Sources()
--------Package.swift(256B)

网友评论