This is useful for debugging infinite loops and for testing with GC zeal.
Created attachment 512287 [details] [diff] [review]
I copied this code from jstests.py. I guess eventually this infrastructure should be shared.
Created attachment 527832 [details] [diff] [review]
I never felt like this patch was really done. This new one makes it a lot easier to do GC zeal testing. It adds a --args option to jit-tests so you can specify -Z. And for both jit-tests and jstests, it prints timeout failures separate from other kinds of failures. This makes it much easier to see if anything actually went wrong.
cdleary-bot mozilla-central merge info: