Merge branch 'master' into publish-prebuilt
This commit is contained in:
commit
c8e2e37146
30 changed files with 201 additions and 67 deletions
|
@ -18,14 +18,20 @@ LINUX_DEPS = [
|
|||
'libnotify-dev',
|
||||
'libnss3-dev',
|
||||
'libxtst-dev',
|
||||
]
|
||||
|
||||
LINUX_DEPS_NO_ARM = [
|
||||
'gcc-multilib',
|
||||
'g++-multilib',
|
||||
]
|
||||
|
||||
LINUX_DEPS_ARM = [
|
||||
'libc6-dev-armhf-cross',
|
||||
'linux-libc-dev-armhf-cross',
|
||||
'g++-arm-linux-gnueabihf',
|
||||
'binutils-aarch64-linux-gnu',
|
||||
'libc6-dev-armhf-cross',
|
||||
'linux-libc-dev-armhf-cross',
|
||||
'g++-arm-linux-gnueabihf',
|
||||
'g++-4.8-multilib-arm-linux-gnueabihf',
|
||||
'gcc-4.8-multilib-arm-linux-gnueabihf',
|
||||
]
|
||||
|
||||
|
||||
|
@ -53,6 +59,8 @@ def main():
|
|||
deps = LINUX_DEPS
|
||||
if target_arch == 'arm':
|
||||
deps += LINUX_DEPS_ARM
|
||||
else:
|
||||
deps += LINUX_DEPS_NO_ARM
|
||||
execute(['sudo', 'apt-get', 'install'] + deps)
|
||||
|
||||
execute(['sh', '-e', '/etc/init.d/xvfb', 'start'])
|
||||
|
|
|
@ -81,6 +81,14 @@ def parse_args():
|
|||
help='Run tests in CI mode',
|
||||
action='store_true',
|
||||
required=False)
|
||||
parser.add_argument('-g', '--grep',
|
||||
help='Only run tests matching <pattern>',
|
||||
metavar='pattern',
|
||||
required=False)
|
||||
parser.add_argument('-i', '--invert',
|
||||
help='Inverts --grep matches',
|
||||
action='store_true',
|
||||
required=False)
|
||||
parser.add_argument('-v', '--verbose',
|
||||
action='store_true',
|
||||
help='Prints the output of the subprocesses')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue