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)
Tamarin Graveyard
Tools
Tracking
(Not tracked)
VERIFIED
FIXED
Q3 11 - Serrano
People
(Reporter: brbaker, Assigned: brbaker)
References
Details
Attachments
(1 file, 1 obsolete file)
|
2.04 KB,
patch
|
cpeyer
:
review+
|
Details | Diff | Splinter Review |
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+
| Assignee | ||
Comment 1•15 years ago
|
||
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)
| Assignee | ||
Comment 2•15 years ago
|
||
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)
Updated•15 years ago
|
Assignee: nobody → brbaker
Status: NEW → ASSIGNED
Flags: flashplayer-qrb+
Priority: -- → P3
Target Milestone: --- → flash10.2
Comment 3•15 years ago
|
||
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+
| Assignee | ||
Comment 4•15 years ago
|
||
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
| Assignee | ||
Updated•15 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 5•15 years ago
|
||
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)
| Assignee | ||
Updated•15 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•