Bug 791759 - Fix jit-tests default jitflags. r=dmandelin

--HG--
extra : rebase_source : c1106b9936d7deb15e03ccb322abb75f1e19b3c6
This commit is contained in:
Till Schneidereit 2012-11-21 02:53:27 +01:00
parent 09eea9026a
commit 744ae80efb
2 changed files with 11 additions and 7 deletions

View File

@ -53,7 +53,8 @@ The general format in EBNF is:
item ::= flag | attribute
flag ::= "slow" | "allow-oom" | "valgrind" | "tz-pacific" |
"mjitalways" | "debug" |
"mjit" | "mjitalways" | "ion-eager" | "debug" |
"dump-bytecode" |
attribute ::= name ":" value
@ -69,7 +70,9 @@ The meaning of the items:
allow-oom If the test runs out of memory, it counts as passing.
valgrind Run test under valgrind.
tz-pacific Always run test with the Pacific time zone (TZ=PST8PDT).
mjit Run js with -m, whether --jitflags says to or not
mjitalways Run js with -a, whether --jitflags says to or not
ion-eager Run js with --ion-eager, whether --jitflags says to or not
debug Run js with -d, whether --jitflags says to or not
dump-bytecode Run js with -D, whether --jitflags says to or not

View File

@ -430,8 +430,9 @@ def main(argv):
help='Enable the |valgrind| flag, if valgrind is in $PATH.')
op.add_option('--valgrind-all', dest='valgrind_all', action='store_true',
help='Run all tests with valgrind, if valgrind is in $PATH.')
op.add_option('--jitflags', dest='jitflags', default='m,mn',
help='Example: --jitflags=m,mn to run each test with -m, -m -n [default=%default]')
op.add_option('--jitflags', dest='jitflags', default='',
help='Example: --jitflags=m,mn to run each test with "-m" and "-m -n" [default="%default"]. ' +
'Long flags, such as "--no-jm", should be set using --args.')
op.add_option('--avoid-stdio', dest='avoid_stdio', action='store_true',
help='Use js-shell file indirection instead of piping stdio.')
op.add_option('--write-failure-output', dest='write_failure_output', action='store_true',