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:
parent
96c3fec855
commit
bedc5f7da9
8 changed files with 40 additions and 25 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue