summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2017-09-25 15:55:18 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2017-09-27 13:10:11 +0100
commit95e5f7ecf6b534a94e23e9b55b9c1a05a8c18c81 (patch)
treec8bd5d6d13324898f4d7a4dbc23c2240bedd36c1
parent01682113de50efdf8e554193e99e2625b9a4bcd4 (diff)
Make test 566-polymorphic-inlining more robust.
Test relies on having a profiling info, which might get collected. Test: 566-polymorphic-inlining Change-Id: I1e91d3d3f7697927d5741e342b08f9a71ecbb691
-rw-r--r--test/566-polymorphic-inlining/run20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/566-polymorphic-inlining/run b/test/566-polymorphic-inlining/run
new file mode 100644
index 0000000000..2919f46d82
--- /dev/null
+++ b/test/566-polymorphic-inlining/run
@@ -0,0 +1,20 @@
+#!/bin/bash
+#
+# Copyright 2017 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# -Xjitinitialsize:32M to prevent profiling info creation failure.
+exec ${RUN} \
+ --runtime-option -Xjitinitialsize:32M \
+ "${@}"