Rename runtimes with interpreter (#1082)

This commit is contained in:
Fábio Rosado
2023-01-16 18:52:31 +00:00
committed by GitHub
parent 5a3c414c8f
commit bb5c59307a
33 changed files with 497 additions and 370 deletions

View File

@@ -37,11 +37,11 @@ class TestLogger(Plugin):
def afterStartup(self, config):
console.log('afterStartup called')
def beforePyScriptExec(self, runtime, src, pyscript_tag):
def beforePyScriptExec(self, interpreter, src, pyscript_tag):
console.log(f'beforePyScriptExec called')
console.log(f'before_src:{src}')
def afterPyScriptExec(self, runtime, src, pyscript_tag, result):
def afterPyScriptExec(self, interpreter, src, pyscript_tag, result):
console.log(f'afterPyScriptExec called')
console.log(f'after_src:{src}')
@@ -60,12 +60,12 @@ from js import console
class ExecTestLogger(Plugin):
def beforePyScriptExec(self, runtime, src, pyscript_tag):
def beforePyScriptExec(self, interpreter, src, pyscript_tag):
console.log(f'beforePyScriptExec called')
console.log(f'before_src:{src}')
console.log(f'before_id:{pyscript_tag.id}')
def afterPyScriptExec(self, runtime, src, pyscript_tag, result):
def afterPyScriptExec(self, interpreter, src, pyscript_tag, result):
console.log(f'afterPyScriptExec called')
console.log(f'after_src:{src}')
console.log(f'after_id:{pyscript_tag.id}')