Closed
Bug 1459880
Opened 7 years ago
Closed 7 years ago
Various refactoring in the jsshell test harness
Categories
(Core :: JavaScript Engine, enhancement)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla62
Tracking | Status | |
---|---|---|
firefox62 | --- | fixed |
People
(Reporter: Ms2ger, Assigned: Ms2ger)
References
(Blocks 1 open bug)
Details
Attachments
(7 files, 1 obsolete file)
1.67 KB,
patch
|
jandem
:
review+
|
Details | Diff | Splinter Review |
1.90 KB,
patch
|
jandem
:
review+
|
Details | Diff | Splinter Review |
2.65 KB,
patch
|
jandem
:
review+
|
Details | Diff | Splinter Review |
946 bytes,
patch
|
jandem
:
review+
|
Details | Diff | Splinter Review |
3.77 KB,
patch
|
jandem
:
review+
|
Details | Diff | Splinter Review |
7.37 KB,
patch
|
jandem
:
review+
|
Details | Diff | Splinter Review |
1.78 KB,
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•7 years ago
|
||
Attachment #8973976 -
Flags: review?(jdemooij)
Assignee | ||
Comment 2•7 years ago
|
||
Attachment #8973977 -
Flags: review?(jdemooij)
Assignee | ||
Comment 3•7 years ago
|
||
Attachment #8973978 -
Flags: review?(jdemooij)
Assignee | ||
Comment 4•7 years ago
|
||
Attachment #8973979 -
Flags: review?(jdemooij)
Assignee | ||
Comment 5•7 years ago
|
||
Attachment #8973980 -
Flags: review?(jdemooij)
Assignee | ||
Comment 6•7 years ago
|
||
Attachment #8973981 -
Flags: review?(jdemooij)
Assignee | ||
Comment 7•7 years ago
|
||
(This change did not end up being as useful for my future work as I thought, so I don't feel strongly about whether it should land or not.)
Attachment #8973982 -
Flags: review?(jdemooij)
Comment 8•7 years ago
|
||
Comment on attachment 8973976 [details] [diff] [review]
part a: Use a |with| statement to open exclusion files
Review of attachment 8973976 [details] [diff] [review]:
-----------------------------------------------------------------
I may forward reviews here to someone more familiar with the test harness, but this one at least is simple enough.
Attachment #8973976 -
Flags: review?(jdemooij) → review+
Updated•7 years ago
|
Attachment #8973977 -
Flags: review?(jdemooij) → review+
Updated•7 years ago
|
Attachment #8973978 -
Flags: review?(jdemooij) → review+
Updated•7 years ago
|
Attachment #8973979 -
Flags: review?(jdemooij) → review+
Updated•7 years ago
|
Attachment #8973980 -
Flags: review?(jdemooij) → review+
Comment 9•7 years ago
|
||
Comment on attachment 8973981 [details] [diff] [review]
part f: Use an iterative algorithm for |RefTestCase.prefix_command|
Review of attachment 8973981 [details] [diff] [review]:
-----------------------------------------------------------------
Canceling review per:
<jandem> Ms2ger: why do we need the os.path.exists check now in prefix_command?
<Ms2ger> jandem, oh, good point, I didn't mean to put that in that patch
Attachment #8973981 -
Flags: review?(jdemooij)
Assignee | ||
Comment 10•7 years ago
|
||
Comment on attachment 8973981 [details] [diff] [review]
part f: Use an iterative algorithm for |RefTestCase.prefix_command|
Review of attachment 8973981 [details] [diff] [review]:
-----------------------------------------------------------------
::: js/src/tests/lib/tests.py
@@ +177,5 @@
> + while path != '':
> + assert path != '/'
> + path = os.path.dirname(path)
> + shell_path = os.path.join(path, 'shell.js')
> + if os.path.exists(shell_path):
Remove this check for now, doesn't belong in this patch.
Comment 11•7 years ago
|
||
Comment on attachment 8973981 [details] [diff] [review]
part f: Use an iterative algorithm for |RefTestCase.prefix_command|
Review of attachment 8973981 [details] [diff] [review]:
-----------------------------------------------------------------
r=me with the if-statement removed.
Attachment #8973981 -
Flags: review+
Comment 12•7 years ago
|
||
Comment on attachment 8973982 [details] [diff] [review]
part g: Introduce a PathOptions class for included and excluded paths
Review of attachment 8973982 [details] [diff] [review]:
-----------------------------------------------------------------
Yeah this is definitely more readable.
Attachment #8973982 -
Flags: review?(jdemooij) → review+
Assignee | ||
Comment 13•7 years ago
|
||
Attachment #8973981 -
Attachment is obsolete: true
Attachment #8974020 -
Flags: review?(jdemooij)
Assignee | ||
Comment 14•7 years ago
|
||
Comment on attachment 8974020 [details] [diff] [review]
part f: Use an iterative algorithm for |RefTestCase.prefix_command| (v2)
r=jandem in comment 11
Attachment #8974020 -
Flags: review?(jdemooij) → review+
Comment 15•7 years ago
|
||
Pushed by Ms2ger@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c1a42cd32776
part a: Use a |with| statement to open exclusion files; r=jandem
https://hg.mozilla.org/integration/mozilla-inbound/rev/c388fb0d97f4
part b: Remove unused |reldir| argument from |load_reftests|; r=jandem
https://hg.mozilla.org/integration/mozilla-inbound/rev/f70e5f5fcb0d
part c: Consolidate the arguments to |_find_all_js_files|; r=jandem
https://hg.mozilla.org/integration/mozilla-inbound/rev/532eadb71ad0
part d: Correct the documentation for |load_tests|; r=jandem
https://hg.mozilla.org/integration/mozilla-inbound/rev/8c4c664ec99f
part e: Merge the RefTest and RefTestCase classes; r=jandem
https://hg.mozilla.org/integration/mozilla-inbound/rev/aabb6982d6c9
part f: Use an iterative algorithm for |RefTestCase.prefix_command|; r=jandem
https://hg.mozilla.org/integration/mozilla-inbound/rev/e6dea32cd53b
part g: Introduce a PathOptions class for included and excluded paths; r=jandem
Comment 16•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c1a42cd32776
https://hg.mozilla.org/mozilla-central/rev/c388fb0d97f4
https://hg.mozilla.org/mozilla-central/rev/f70e5f5fcb0d
https://hg.mozilla.org/mozilla-central/rev/532eadb71ad0
https://hg.mozilla.org/mozilla-central/rev/8c4c664ec99f
https://hg.mozilla.org/mozilla-central/rev/aabb6982d6c9
https://hg.mozilla.org/mozilla-central/rev/e6dea32cd53b
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox62:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in
before you can comment on or make changes to this bug.
Description
•