mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Swift: autopep8 integration tests
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from create_database_utils import *
|
||||
|
||||
run_codeql_database_create([
|
||||
'swift package clean',
|
||||
'swift build'
|
||||
'swift package clean',
|
||||
'swift build'
|
||||
], lang='swift')
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
from create_database_utils import *
|
||||
|
||||
run_codeql_database_create([
|
||||
'make',
|
||||
'make',
|
||||
], lang='swift')
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
from create_database_utils import *
|
||||
|
||||
run_codeql_database_create([
|
||||
'swift package clean',
|
||||
'swift build'
|
||||
'swift package clean',
|
||||
'swift build'
|
||||
], lang='swift')
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from create_database_utils import *
|
||||
|
||||
run_codeql_database_create([
|
||||
'env',
|
||||
'swift package clean',
|
||||
'swift build'
|
||||
'env',
|
||||
'swift package clean',
|
||||
'swift build'
|
||||
], lang='swift', keep_trap=True)
|
||||
|
||||
@@ -21,7 +21,7 @@ this_dir = pathlib.Path(__file__).parent.resolve()
|
||||
def options():
|
||||
p = argparse.ArgumentParser()
|
||||
p.add_argument("--test-dir", "-d", type=pathlib.Path, action="append")
|
||||
#FIXME: the following should be the default
|
||||
# FIXME: the following should be the default
|
||||
p.add_argument("--check-databases", action="store_true")
|
||||
p.add_argument("--learn", action="store_true")
|
||||
p.add_argument("--threads", "-j", type=int, default=0)
|
||||
|
||||
Reference in New Issue
Block a user