Closed Bug 539629 Opened 15 years ago Closed 15 years ago

lirasm: don't have two ways of running the tests

Categories

(Core Graveyard :: Nanojit, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: n.nethercote, Assigned: n.nethercote)

References

Details

(Whiteboard: fixed-in-nanojit, fixed-in-tracemonkey)

Attachments

(2 files)

In nanojit-central, we have a make target for running the NJ tests. In TM we have to use the testlirc.sh script. This sucks. My proposal is to change the NJ-central make target to just invoke the testlirc.sh script. This'll require changing the script such that it outputs results in a way suitable for tinderbox, but this shouldn't be hard.
Attached patch NJ patchSplinter Review
This patch: - Removes the testing done from the Makefile, just invokes testlirc.sh instead. - Changes testlirc.sh to take the location of the 'lirasm' executable as an argument, needed to handle differences in directory layout in NJ-central vs TM. - Changes testlirc.sh to produce output in the tinderbox format.
Attachment #422659 - Flags: review?(graydon)
Attached patch TM patchSplinter Review
Attachment #422660 - Flags: review?(graydon)
I actually wanted to move towards using the makefile (make does better rule-chaining and parallel execution than sh) but every time I suggest this someone yells at me about the misery they feel writing in make-language (as though bourne shell is better?) So I guess this is ok. It'll be more popular anyway :)
Attachment #422659 - Flags: review?(graydon) → review+
Attachment #422660 - Flags: review?(graydon) → review+
http://hg.mozilla.org/tracemonkey/rev/c9d6e88d3320 http://hg.mozilla.org/tracemonkey/rev/b6fafac39034 Nb: no need to change anything in TR for this bug, because it doesn't have a copy of lirasm.
Whiteboard: fixed-in-nanojit → fixed-in-nanojit, fixed-in-tracemonkey
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: