Release Vulpes OS 2.7-preview.22
This commit is contained in:
parent
200d1fb235
commit
a138f97877
294 changed files with 515786 additions and 187 deletions
|
|
@ -341,6 +341,18 @@ export async function run(win) {
|
|||
}
|
||||
}
|
||||
async function requestedUiChecks() {
|
||||
const regressionMarker=`${root}/logs/test-ticket-regressions`;
|
||||
if(await IOUtils.exists(regressionMarker)) {
|
||||
await IOUtils.remove(regressionMarker);
|
||||
const {auditTickets}=ChromeUtils.importESModule(`resource://vulpes/host/TicketRegressionAudit.sys.mjs?run=${Date.now()}`);
|
||||
await auditTickets({win,evaluate,wait,tap,sleep,root});
|
||||
}
|
||||
const browserMarker=`${root}/logs/test-browser-visual`;
|
||||
if(await IOUtils.exists(browserMarker)) {
|
||||
await IOUtils.remove(browserMarker);
|
||||
const {auditBrowserVisual}=ChromeUtils.importESModule(`resource://vulpes/host/BrowserVisualAudit.sys.mjs?run=${Date.now()}`);
|
||||
await auditBrowserVisual({win,evaluate,sleep,root});
|
||||
}
|
||||
const appearanceMarker = `${root}/logs/test-appearance`;
|
||||
if (await IOUtils.exists(appearanceMarker)) {
|
||||
await IOUtils.remove(appearanceMarker);
|
||||
|
|
@ -382,6 +394,14 @@ export async function run(win) {
|
|||
}
|
||||
await IOUtils.writeJSON(`${root}/logs/appearance.json`,result);
|
||||
}
|
||||
const mediaMarker=`${root}/logs/test-media-feedback`;
|
||||
if(await IOUtils.exists(mediaMarker)) {
|
||||
await IOUtils.remove(mediaMarker);
|
||||
const {auditMediaFeedback}=ChromeUtils.importESModule('resource://vulpes/host/MediaFeedbackAudit.sys.mjs');
|
||||
const save=data=>IOUtils.writeJSON(`${root}/logs/media-feedback.json`,{bootId:report.bootId,...data});
|
||||
try {await auditMediaFeedback({win,evaluate,wait,tap,sleep,save});}
|
||||
catch(error){await save({passed:false,error:String(error)});}
|
||||
}
|
||||
const followupMarker=`${root}/logs/test-settings-followup`;
|
||||
if(await IOUtils.exists(followupMarker)) {
|
||||
await IOUtils.remove(followupMarker);
|
||||
|
|
|
|||
|
|
@ -70,6 +70,8 @@ def main():
|
|||
MOZ_ENABLE_WAYLAND='1', EGL_PLATFORM='wayland', GDK_GL='gles',
|
||||
VULPES_FULLSCREEN='1', VULPES_NATIVE_TOUCH='1',
|
||||
VULPES_WORKSPACE_ROOT=str(ROOT))
|
||||
if env.get('VULPES_TUNDRA') == '1':
|
||||
env['VULPES_SOCKET_CONTROL'] = '1'
|
||||
if args.hybris_egl:
|
||||
import hashlib
|
||||
graphics = ROOT/'trial/graphics'
|
||||
|
|
@ -174,8 +176,8 @@ Services.obs.addObserver({observe(win) {
|
|||
raise RuntimeError('Gaia server startup timeout')
|
||||
with (logs/'gecko.log').open('w') as output:
|
||||
debug_args=['--remote-allow-system-access','-marionette','-new-window','about:blank'] if env.get('TUNDRA_LOCAL_DEBUGGER')=='1' else []
|
||||
firefox = subprocess.Popen([str(runtime/'firefox'), *debug_args, '-purgecaches', '-no-remote',
|
||||
'-profile', str(profile), '-chrome', 'chrome://vulpes/content/shell.xhtml'],
|
||||
firefox = subprocess.Popen([str(runtime/'firefox'), '-purgecaches', '-no-remote',
|
||||
'-profile', str(profile), '-chrome', 'chrome://vulpes/content/shell.xhtml', *debug_args],
|
||||
env=env, stdout=output, stderr=subprocess.STDOUT, start_new_session=True)
|
||||
processes.append(firefox)
|
||||
result = firefox.wait()
|
||||
|
|
|
|||
Loading…
Reference in a new issue