Open Bug 1950920 Opened 5 months ago Updated 5 months ago

./mach jstests --jorendb is broken

Categories

(Core :: JavaScript Engine, enhancement, P5)

enhancement

Tracking

()

People

(Reporter: bthrall, Unassigned)

References

(Blocks 1 open bug)

Details

Trying to use ./mach jstests --jorendb to debug tests reports the following error:

./mach jstests -J Iterator/range.js           02/27/2025 11:35:28 AM
jorendb version -0.0
INITIAL ARGS: --enable-iterator-range,-f,/home/bryan/src/unified-jj/js/src/tests/shell.js,-f,/home/bryan/src/unified-jj/js/src/tests/non262/shell.js,-f,/home/bryan/src/unified-jj/js/src/tests/non262/Iterator/range.js
arg: --enable-iterator-range
  load script.js after --boolean
arg: /home/bryan/src/unified-jj/js/src/tests/shell.js
  arg /home/bryan/src/unified-jj/js/src/tests/shell.js
arg: -f
  load -f /home/bryan/src/unified-jj/js/src/tests/non262/shell.js
arg: -f
  load -f /home/bryan/src/unified-jj/js/src/tests/non262/Iterator/range.js
jorendb: scriptPath = undefined
jorendb: scriptArgs = --enable-iterator-range,-f,/home/bryan/src/unified-jj/js/src/tests/shell.js,-f,/home/bryan/src/unified-jj/js/src/tests/non262/shell.js,-f,/home/bryan/src/unified-jj/js/src/tests/non262/Iterator/range.js
jorendb: actualScriptArgs = /home/bryan/src/unified-jj/js/src/tests/shell.js
Top of run loop
Loading JavaScript file -f
Caught exception Error: can't open /home/bryan/src/unified-jj/js/src/tests/-f: No such file or directory
@/home/bryan/src/unified-jj/js/examples/jorendb.js:880:41

It looks like the list of arguments passed to jorendb is wrong.

Blocks: sm-testing
Severity: -- → S4
Priority: -- → P5
Severity: S4 → N/A
You need to log in before you can comment on or make changes to this bug.