summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/137-cfi/expected.txt1
-rwxr-xr-xtest/137-cfi/run6
-rw-r--r--test/Android.run-test.mk5
-rwxr-xr-xtest/run-test5
4 files changed, 10 insertions, 7 deletions
diff --git a/test/137-cfi/expected.txt b/test/137-cfi/expected.txt
index 6a5618ebc6..8db7853696 100644
--- a/test/137-cfi/expected.txt
+++ b/test/137-cfi/expected.txt
@@ -1 +1,2 @@
JNI_OnLoad called
+JNI_OnLoad called
diff --git a/test/137-cfi/run b/test/137-cfi/run
index 9c567b6813..66575fcd27 100755
--- a/test/137-cfi/run
+++ b/test/137-cfi/run
@@ -14,4 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-exec ${RUN} "$@" -Xcompiler-option --generate-debug-info
+# Test with full DWARF debugging information.
+${RUN} "$@" -Xcompiler-option --generate-debug-info
+
+# Test with minimal compressed debugging information.
+${RUN} "$@" -Xcompiler-option --generate-mini-debug-info
diff --git a/test/Android.run-test.mk b/test/Android.run-test.mk
index 48e10c3378..36dd9f4ea7 100644
--- a/test/Android.run-test.mk
+++ b/test/Android.run-test.mk
@@ -621,11 +621,6 @@ ART_TEST_KNOWN_BROKEN += $(call all-run-test-names,$(TARGET_TYPES),$(RUN_TYPES),
TEST_ART_BROKEN_MULTI_IMAGE_RUN_TESTS :=
-# Test is flaky b/26733951.
-ART_TEST_KNOWN_BROKEN += $(call all-run-test-names,$(TARGET_TYPES),$(RUN_TYPES),$(PREBUILD_TYPES), \
- $(COMPILER_TYPES),$(RELOCATE_TYPES),$(TRACE_TYPES),$(GC_TYPES),$(JNI_TYPES),$(IMAGE_TYPES), \
- $(PICTEST_TYPES),$(DEBUGGABLE_TYPES),961-default-iface-resolution-generated,$(ALL_ADDRESS_SIZES))
-
# Clear variables ahead of appending to them when defining tests.
$(foreach target, $(TARGET_TYPES), $(eval ART_RUN_TEST_$(call name-to-var,$(target))_RULES :=))
$(foreach target, $(TARGET_TYPES), \
diff --git a/test/run-test b/test/run-test
index 033e2c6467..faa597e1ca 100755
--- a/test/run-test
+++ b/test/run-test
@@ -733,7 +733,10 @@ fi
# To cause tests to fail fast, limit the file sizes created by dx, dex2oat and ART output to 2MB.
build_file_size_limit=2048
run_file_size_limit=2048
-if echo "$test_dir" | grep -Eq "(083|089|964|971)" > /dev/null; then
+
+# Add tests requiring a higher ulimit to this list. Ulimits might need to be raised to deal with
+# large amounts of expected output or large generated files.
+if echo "$test_dir" | grep -Eq "(083|089|961|964|971)" > /dev/null; then
build_file_size_limit=5120
run_file_size_limit=5120
fi