Grammalecte  Diff

Differences From Artifact [27553159cb]:

To Artifact [56ef7e8bd1]:


447
448
449
450
451
452
453

454
455
456
457
458
459
460
461

            if xArgs.perf or xArgs.perf_memo:
                try:
                    tests = importlib.import_module(f"grammalecte.{sLang}.tests_core")
                except ImportError:
                    print(f"# Error. Import failed: grammalecte.{sLang}.tests_core")
                else:

                    tests.perf(sVersion, xArgs.perf_memo)

            # JavaScript linter
            if xArgs.lint_web_ext:
                with helpers.CD("_build/webext/"+sLang):
                    os.system(r'web-ext lint -o text')

            # Firefox







>
|







447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462

            if xArgs.perf or xArgs.perf_memo:
                try:
                    tests = importlib.import_module(f"grammalecte.{sLang}.tests_core")
                except ImportError:
                    print(f"# Error. Import failed: grammalecte.{sLang}.tests_core")
                else:
                    sResultFile = f"gc_lang/{sLang}/perf_memo.text"  if xArgs.perf_memo  else ""
                    tests.perf(sVersion, sResultFile)

            # JavaScript linter
            if xArgs.lint_web_ext:
                with helpers.CD("_build/webext/"+sLang):
                    os.system(r'web-ext lint -o text')

            # Firefox