Closed Bug 572120 Opened 15 years ago Closed 15 years ago

Unable to override extraArgs in runtestBase.compile_test()

Categories

(Tamarin Graveyard :: Tools, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED
Q3 11 - Serrano

People

(Reporter: brbaker, Assigned: brbaker)

References

Details

Attachments

(1 file, 1 obsolete file)

The testing suite code has the ability to override/add additional asc args to the compilation of the test media by having either a <filename>.asc_args file or a dir.asc_args file. (see test/performance/dir.asc_args for more documentation). There is a problem however that you are unable to override any args that are passed into the compile_test() via the extraArgs param. This param is currently only used in the performance suite and is currently passing /-AS3 and -optimize/. There is a new jsmicro performance suite that was added that needs to have the ability to disable the -AS3 switch when compiling.
Flags: flashplayer-triage+
This will allow extraArgs to be overridden by use of *.asc_args Also add a verbose call to show the compilation command (use -v to see how the media is compiled) I would like Chris to review this, I can see no reason why the extraArgs should not be overridden if a *.asc_args file is present.
Attachment #451283 - Flags: superreview?(cpeyer)
Attachment #451283 - Flags: review?(lhansen)
Blocks: 572089
There was a logic error in the check to see if the /mode/ was recognized, should have been and /and/ check not /or/. This error made the mode always default to /merge/ and override never worked, which can also be seen by the fact that the override path referenced a variable that did not exist.
Attachment #451283 - Attachment is obsolete: true
Attachment #451313 - Flags: review?(cpeyer)
Attachment #451283 - Flags: superreview?(cpeyer)
Attachment #451283 - Flags: review?(lhansen)
Assignee: nobody → brbaker
Status: NEW → ASSIGNED
Flags: flashplayer-qrb+
Priority: -- → P3
Target Milestone: --- → flash10.2
Comment on attachment 451313 [details] [diff] [review] v2. patch to override extraArgs and make /override|/ in asc_args actually work Looks good - tested against a variety of dir.asc_arg inputs.
Attachment #451313 - Flags: review?(cpeyer) → review+
Comment on attachment 451313 [details] [diff] [review] v2. patch to override extraArgs and make /override|/ in asc_args actually work patch pushed changeset - 4841:0f0fc3c46227
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Pushed a follow up patch: changeset: 4843:e2ba887d6270 description: Bug 572120: fix an issue with ascargs not having a trailing space when appending extraArgs to it (r+cpeyer)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: