Closed Bug 642298 Opened 13 years ago Closed 13 years ago

Add jitflags to tinderbox output

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: paul.biggar, Assigned: paul.biggar)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fixed-in-tracemonkey])

Attachments

(2 files)

Add jitflags to tinderbox output. I use |make check| fairly regularly, and also read the jaegermonkey tinderbox output, so I find this useful.

Here's what the output looks like now. Ted says that the output is made-up, and I believe the tinderbox parser doesn't require any format after the first '|'.

TEST-PASS | jit_test.py                | /Users/pbiggar/work/mozilla/js_tests_in_make_check/js/src/jit-test/tests/basic/inArrayTest.js
TEST-PASS | jit_test.py -m             | /Users/pbiggar/work/mozilla/js_tests_in_make_check/js/src/jit-test/tests/basic/inArrayTest.js
TEST-PASS | jit_test.py -j             | /Users/pbiggar/work/mozilla/js_tests_in_make_check/js/src/jit-test/tests/basic/inArrayTest.js
TEST-PASS | jit_test.py -m -j          | /Users/pbiggar/work/mozilla/js_tests_in_make_check/js/src/jit-test/tests/basic/inArrayTest.js
TEST-PASS | jit_test.py -m -j -p       | /Users/pbiggar/work/mozilla/js_tests_in_make_check/js/src/jit-test/tests/basic/inArrayTest.js
TEST-PASS | jit_test.py -a -m          | /Users/pbiggar/work/mozilla/js_tests_in_make_check/js/src/jit-test/tests/basic/inArrayTest.js
TEST-PASS | jit_test.py -a -m -j       | /Users/pbiggar/work/mozilla/js_tests_in_make_check/js/src/jit-test/tests/basic/inArrayTest.js
TEST-PASS | jit_test.py -a -m -j -p    | /Users/pbiggar/work/mozilla/js_tests_in_make_check/js/src/jit-test/tests/basic/inArrayTest.js
TEST-PASS | jit_test.py -a -m -d       | /Users/pbiggar/work/mozilla/js_tests_in_make_check/js/src/jit-test/tests/basic/inArrayTest.js
Blocks: 642299
Attachment #521348 - Flags: review?(luke)
Comment on attachment 521348 [details] [diff] [review]
Add jitflags to tinderbox output

I think Dave's your man for these files.
Attachment #521348 - Flags: review?(luke) → review?(dmandelin)
I notice this patch changes the number of | characters in the output lines. Is the Tinderbox parser OK with that? It might be, but I'm not sure.

Bob, do you know exactly what Tinderbox requires?
I've noticed that tbpl hunts down related bugs based on the second column. For jstests.py, I made sure the path was left in there, since that's what we want tbpl to search for. For jit-test.py, the string "jit-test.py" was already in the second column, so I just added it there, and I believe it's no harm. However, I can move the path the second column, unless there's a reason not to.
I think jmaher, jgriffin or mcote are up to date with the tbpl requiremetns. Can you guys answer David's question in comment 3 ?
if this passes on try, then we should be fine.  I know that the tinderbox parsers are very specific in their regex, usually at the beginning of the line. 

here is what I think will be the code that parses:
http://mxr.mozilla.org/mozilla/source/webtools/tinderbox/ep_unittest.pl

It looks like we would do something like this / TEST-PASS | name(.+)$/

Some thing to keep in mind is we are actually looking for things past the first | to match what type of test this is. 

Again, try server is your best friend:)
OK, this passes try server and I can see that the tbpl parser has the right number of checks.
Comment on attachment 521348 [details] [diff] [review]
Add jitflags to tinderbox output

Sounds good, then. I think there might be a little inconsistency with the way spaces appear around the "|" characters, so maybe recheck that to make sure it prints the way you want.
Attachment #521348 - Flags: review?(dmandelin) → review+
(In reply to comment #8)
> Comment on attachment 521348 [details] [diff] [review]
> I think there might be a little inconsistency with the way
> spaces appear around the "|" characters, so maybe recheck that to make sure it
> prints the way you want.

Yeah, that's deliberate. In jit-test it occurs mid-string, so I want to keep a standard length. In jstests it's at the end, so no need to keep the standard length. Also, I deliberately sandwiched %-15s up against '|' because we almost never use 15 spaces, but if I used 14 then longer strings wouldn't line up.
http://hg.mozilla.org/tracemonkey/rev/a008ac5b817c
Assignee: general → pbiggar
Whiteboard: [fixed-in-tracemonkey]
http://hg.mozilla.org/mozilla-central/rev/a008ac5b817c
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: