449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
|
unittest.TextTestRunner().run(xTestSuite)
if xArgs.perf or xArgs.perf_memo:
hDst = open("./gc_lang/"+sLang+"/perf_memo.txt", "a", encoding="utf-8", newline="\n") if xArgs.perf_memo else None
tests.perf(sVersion, hDst)
# Firefox (obsolete)
#if False:
# with helpers.cd("_build/xpi/"+sLang):
# spfFirefox = dVars['win_fx_dev_path'] if platform.system() == "Windows" else dVars['linux_fx_dev_path']
# os.system('jpm run -b "' + spfFirefox + '"')
if xArgs.web_ext or xArgs.firefox:
with helpers.cd("_build/webext/"+sLang):
if xArgs.lint_web_ext:
os.system(r'web-ext lint -o text')
if xArgs.firefox:
# Firefox Developper edition
spfFirefox = dVars['win_fx_dev_path'] if platform.system() == "Windows" else dVars['linux_fx_dev_path']
else:
# Firefox Nightly edition
|
|
|
|
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
|
unittest.TextTestRunner().run(xTestSuite)
if xArgs.perf or xArgs.perf_memo:
hDst = open("./gc_lang/"+sLang+"/perf_memo.txt", "a", encoding="utf-8", newline="\n") if xArgs.perf_memo else None
tests.perf(sVersion, hDst)
# Firefox (obsolete)
#if False:
# with helpers.CD("_build/xpi/"+sLang):
# spfFirefox = dVars['win_fx_dev_path'] if platform.system() == "Windows" else dVars['linux_fx_dev_path']
# os.system('jpm run -b "' + spfFirefox + '"')
if xArgs.web_ext or xArgs.firefox:
with helpers.CD("_build/webext/"+sLang):
if xArgs.lint_web_ext:
os.system(r'web-ext lint -o text')
if xArgs.firefox:
# Firefox Developper edition
spfFirefox = dVars['win_fx_dev_path'] if platform.system() == "Windows" else dVars['linux_fx_dev_path']
else:
# Firefox Nightly edition
|