Skip to content

Instantly share code, notes, and snippets.

@sl sl/tasks.json
Created Apr 28, 2019

Embed
What would you like to do?
[Swift Complier Environment Configuration] Run Tests Task
{
"label": "Run Test",
"type": "shell",
"command": "${LLVM_LIT_DIR}/lit.py",
"args": [
"-sv",
"--param",
"swift_site_config=${SWIFT_BUILD_DIR}/test-macosx-x86_64/lit.site.cfg",
"${fileDirname}",
"--filter=${fileBasename}"
],
"group": {
"kind": "test",
"isDefault": true
}
},
{
"label": "Run All Tests",
"type": "shell",
"command": "${LLVM_LIT_DIR}/lit.py",
"args": [
"-sv",
"--param",
"swift_site_config=${SWIFT_BUILD_DIR}/test-macosx-x86_64/lit.site.cfg",
"${SWIFT_SOURCE_DIR}/test",
],
"group": "test"
},
{
"label": "Run Specific Test(s)",
"type": "shell",
"command": "${LLVM_LIT_DIR}/lit.py",
"args": [
"-sv",
"--param",
"swift_site_config=${SWIFT_BUILD_DIR}/test-macosx-x86_64/lit.site.cfg",
"${SWIFT_SOURCE_DIR}/test",
"--filter=${input:testFilter}"
],
"group": "test"
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.