ci: run tests on WOA hardware (#20031)

* ci: run tests on WOA hardware

* Temporarily disable test until #20008 is resolved

* deterministically run tests in sorted order
This commit is contained in:
John Kleinschmidt 2019-09-03 13:13:06 -04:00 committed by GitHub
parent 96c3fec855
commit bedc5f7da9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 40 additions and 25 deletions

View file

@ -2,6 +2,7 @@
from __future__ import print_function
import argparse
import os
import platform
import shutil
import subprocess
import sys
@ -46,7 +47,10 @@ def main():
env['ELECTRON_ENABLE_STACK_DUMPING'] = 'true'
# FIXME: Enable after ELECTRON_ENABLE_LOGGING works again
# env['ELECTRON_ENABLE_LOGGING'] = 'true'
subprocess.check_call([electron, test_path] + sys.argv[1:], env=env)
testargs = [electron, test_path]
if sys.platform == 'win32' and platform.machine() == 'ARM64':
testargs.append('--disable-accelerated-video-decode')
subprocess.check_call(testargs, env=env)
except subprocess.CalledProcessError as e:
returncode = e.returncode
except KeyboardInterrupt: