Skip to content

Instantly share code, notes, and snippets.

@sl
Created April 28, 2019 02:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sl/0ecaefebf41cbdbcba96610aabe9b7a3 to your computer and use it in GitHub Desktop.
Save sl/0ecaefebf41cbdbcba96610aabe9b7a3 to your computer and use it in GitHub Desktop.
[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