Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
art
Commits
d8cd1c83
Commit
d8cd1c83
authored
9 years ago
by
Nicolas Geoffray
Committed by
Gerrit Code Review
9 years ago
Browse files
Options
Download
Plain Diff
Merge "Revert "Make run-test default to optimizing compiler.""
parents
24950e1e
4650c939
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
test/run-test
test/run-test
+4
-8
No files found.
test/run-test
View file @
d8cd1c83
...
...
@@ -126,9 +126,6 @@ image_suffix=""
pic_image_suffix
=
""
multi_image_suffix
=
""
android_root
=
"/system"
# By default we will use optimizing.
image_args
=
"-Xcompiler-option --compiler-backend=Optimizing"
image_suffix
=
"-optimizing"
while
true
;
do
if
[
"x
$1
"
=
"x--host"
]
;
then
...
...
@@ -248,22 +245,22 @@ while true; do
run_args
=
"
${
run_args
}
--zygote"
shift
elif
[
"x
$1
"
=
"x--interpreter"
]
;
then
image
_args
=
"--interpreter"
run
_args
=
"
${
run_args
}
--interpreter"
image_suffix
=
"-interpreter"
shift
elif
[
"x
$1
"
=
"x--jit"
]
;
then
image
_args
=
"--jit"
run
_args
=
"
${
run_args
}
--jit"
image_suffix
=
"-jit"
shift
elif
[
"x
$1
"
=
"x--optimizing"
]
;
then
image
_args
=
"-Xcompiler-option --compiler-backend=Optimizing"
run
_args
=
"
${
run_args
}
-Xcompiler-option --compiler-backend=Optimizing"
image_suffix
=
"-optimizing"
shift
elif
[
"x
$1
"
=
"x--no-verify"
]
;
then
run_args
=
"
${
run_args
}
--no-verify"
shift
elif
[
"x
$1
"
=
"x--verify-soft-fail"
]
;
then
image
_args
=
"
${
run_args
}
--verify-soft-fail"
run
_args
=
"
${
run_args
}
--verify-soft-fail"
image_suffix
=
"-interp-ac"
shift
elif
[
"x
$1
"
=
"x--no-optimize"
]
;
then
...
...
@@ -352,7 +349,6 @@ while true; do
fi
done
run_args
=
"
${
run_args
}
${
image_args
}
"
# Allocate file descriptor real_stderr and redirect it to the shell's error
# output (fd 2).
if
[
${
BASH_VERSINFO
[1]
}
-ge
4
]
&&
[
${
BASH_VERSINFO
[2]
}
-ge
1
]
;
then
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment