Commit 30e21589 authored by Dan Elphick's avatar Dan Elphick Committed by Commit Bot

[tests] Disable stress mode in source collection tests

In InterpreterCollectSourcePositions tests always unset
FLAG_stress_lazy_source_positions as the tests cannot work with it due
to assuming that source positions won't be collected immediately after a
normal compile.

Bug: v8:8510
Change-Id: I194ed06c59336f5af3b7b2113a12c1a21dd6bcac
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1709425
Commit-Queue: Dan Elphick <delphick@chromium.org>
Commit-Queue: Mythri Alle <mythria@chromium.org>
Auto-Submit: Dan Elphick <delphick@chromium.org>
Reviewed-by: 's avatarMythri Alle <mythria@chromium.org>
Cr-Commit-Position: refs/heads/master@{#62832}
parent 30a1c6e7
......@@ -5063,6 +5063,7 @@ TEST(InterpreterGetBytecodeHandler) {
TEST(InterpreterCollectSourcePositions) {
FLAG_enable_lazy_source_positions = true;
FLAG_stress_lazy_source_positions = false;
HandleAndZoneScope handles;
Isolate* isolate = handles.main_isolate();
......@@ -5088,6 +5089,7 @@ TEST(InterpreterCollectSourcePositions) {
TEST(InterpreterCollectSourcePositions_StackOverflow) {
FLAG_enable_lazy_source_positions = true;
FLAG_stress_lazy_source_positions = false;
HandleAndZoneScope handles;
Isolate* isolate = handles.main_isolate();
......@@ -5124,6 +5126,7 @@ TEST(InterpreterCollectSourcePositions_StackOverflow) {
TEST(InterpreterCollectSourcePositions_ThrowFrom1stFrame) {
FLAG_enable_lazy_source_positions = true;
FLAG_stress_lazy_source_positions = false;
HandleAndZoneScope handles;
Isolate* isolate = handles.main_isolate();
......@@ -5159,6 +5162,7 @@ TEST(InterpreterCollectSourcePositions_ThrowFrom1stFrame) {
TEST(InterpreterCollectSourcePositions_ThrowFrom2ndFrame) {
FLAG_enable_lazy_source_positions = true;
FLAG_stress_lazy_source_positions = false;
HandleAndZoneScope handles;
Isolate* isolate = handles.main_isolate();
......@@ -5215,6 +5219,7 @@ void CheckStringEqual(const char* expected_ptr, Handle<Object> actual_handle) {
TEST(InterpreterCollectSourcePositions_GenerateStackTrace) {
FLAG_enable_lazy_source_positions = true;
FLAG_stress_lazy_source_positions = false;
HandleAndZoneScope handles;
Isolate* isolate = handles.main_isolate();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment