Open Bug 780568 Opened 12 years ago Updated 2 years ago

Avoid argument duplication between --jitflags= and --args= flags in jstests and jit-tests.

Categories

(Core :: JavaScript Engine, defect)

defect

Tracking

()

UNCONFIRMED

People

(Reporter: zaichenkov, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [js:t])

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11

Steps to reproduce:

Now it is possible to mention the same arguments in --jitflags= and --args= flags in both test suites ("jstests" and "jit-tests"), i.e. "--jitflags=am,amd --args='-a'". It can be seen from the example that argument '-a' is occurred twice in every test case.


Actual results:

The number of total test cases is 
<the number of tests found> * <the number of comma-separated values in --jitflags>.



Expected results:

In case we run "--jitflags=am,amd --args='-a'", the number of test cases remains minimal, so there is no need to avoid argument duplication.
However, if we run "--jitflags=am,amd --args='-a,-m'", 'am' flags can be eliminated, so the number of test cases can be minimized.

The task is to avoid argument duplication in order to minimize the number of test cases. This has to be implemented for both "jstests" and "jit-test".
Blocks: 745230
Depends on: 745251
OS: Linux → All
Hardware: x86_64 → All
Whiteboard: [js:t]
Assignee: general → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.