Closed
Bug 1625522
Opened 5 years ago
Closed 5 years ago
./mach jit-test --run-binast fails with `TypeError: startswith first arg must be bytes or a tuple of bytes, not str`
Categories
(Core :: JavaScript Engine, defect, P2)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla76
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox74 | --- | unaffected |
firefox75 | --- | wontfix |
firefox76 | --- | fixed |
People
(Reporter: mgaudet, Assigned: sfink)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
Trying to run BinAST tests with a mach build gets me
~/unified$ ./mach jit-test --run-binast
Traceback (most recent call last):
File "/home/matthew/unified/js/src/jit-test/jit_test.py", line 403, in <module>
main(sys.argv[1:])
File "/home/matthew/unified/js/src/jit-test/jit_test.py", line 233, in main
if not is_binast_enabled.startswith('true'):
Reporter | ||
Comment 1•5 years ago
|
||
./js/src/jit-test/jit_test.py --run-binast ./obj-opt-x86_64-pc-linux-gnu/dist/bin/js
does work however
Assignee | ||
Comment 2•5 years ago
|
||
(In reply to Matthew Gaudet (he/him) [:mgaudet] from comment #1)
./js/src/jit-test/jit_test.py --run-binast ./obj-opt-x86_64-pc-linux-gnu/dist/bin/js
does work however
Yeah, that's because it uses your system python, which must be Python 2 for you. On my Fedora 31, it's now Python 3. And I foolishly made ./mach jit-test
force Python 3 because it made me feel good before it made me feel bad (from the regressions).
Comment 3•5 years ago
|
||
Type: task → defect
Updated•5 years ago
|
Priority: -- → P2
Assignee | ||
Comment 4•5 years ago
|
||
Updated•5 years ago
|
Assignee: nobody → sphink
Status: NEW → ASSIGNED
Pushed by sfink@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6e5d9f93f320
py3 compatibility with jit-test --run-binast r=arai
Comment 6•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox76:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
Updated•5 years ago
|
Keywords: regression
Comment 7•5 years ago
|
||
Doesn't seem like this is a common enough scenario to worry about uplifting to 75, but LMK if you feel strongly otherwise.
status-firefox74:
--- → unaffected
status-firefox75:
--- → wontfix
status-firefox-esr68:
--- → unaffected
Updated•5 years ago
|
Has Regression Range: --- → yes
You need to log in
before you can comment on or make changes to this bug.
Description
•