[test] Simplify test exceptions for force-slow-path
This allows the tests to continue running on the gc fuzzers while staying compatible with the --force-slow-path flag being passed randomly. When run in slow_path variants these tests are no-ops, but that's negligible as the tests are also fast without slow_path. Change-Id: I461c47b669b163e1e1594ea1a941f63e90f2221e Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1910947 Reviewed-by: Jakob Gruber <jgruber@chromium.org> Reviewed-by: Clemens Backes <clemensb@chromium.org> Commit-Queue: Michael Achenbach <machenbach@chromium.org> Cr-Commit-Position: refs/heads/master@{#64914}
This commit is contained in:
parent
aadf812c8e
commit
06f1864aeb
@ -26,6 +26,7 @@
|
|||||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
// Flags: --allow-natives-syntax --expose-gc --opt --no-always-opt
|
// Flags: --allow-natives-syntax --expose-gc --opt --no-always-opt
|
||||||
|
// Flags: --no-force-slow-path
|
||||||
|
|
||||||
var elements_kind = {
|
var elements_kind = {
|
||||||
fast_smi_only : 'fast smi only elements',
|
fast_smi_only : 'fast smi only elements',
|
||||||
|
@ -1057,24 +1057,6 @@
|
|||||||
'wasm/tier-up-testing-flag': [SKIP],
|
'wasm/tier-up-testing-flag': [SKIP],
|
||||||
}], # arch != x64 and arch != ia32 and arch != arm64 and arch != arm
|
}], # arch != x64 and arch != ia32 and arch != arm64 and arch != arm
|
||||||
|
|
||||||
##############################################################################
|
|
||||||
['variant == slow_path and gc_stress', {
|
|
||||||
# Slow tests.
|
|
||||||
'regress/regress-crbug-493779': [SKIP],
|
|
||||||
'string-replace-gc': [SKIP],
|
|
||||||
}], # variant == slow_path and gc_stress
|
|
||||||
|
|
||||||
##############################################################################
|
|
||||||
['variant == slow_path', {
|
|
||||||
# Slow tests doing too many array manipulations each of which takes slow
|
|
||||||
# path usually through a runtime call.
|
|
||||||
'regress/wasm/regress-9759': [SKIP],
|
|
||||||
'wasm/stack': [SKIP],
|
|
||||||
|
|
||||||
# Tests that are not compatible with the --force-slow-path mode.
|
|
||||||
'filter-element-kinds': [SKIP],
|
|
||||||
}], # variant == slow_path
|
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
['arch not in [x64, arm, arm64] or system != linux', {
|
['arch not in [x64, arm, arm64] or system != linux', {
|
||||||
# Unwinding info writer is only supported on x64, arm, and arm64 Linux
|
# Unwinding info writer is only supported on x64, arm, and arm64 Linux
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// Use of this source code is governed by a BSD-style license that can be
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
// found in the LICENSE file.
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// Flags: --enable-slow-asserts
|
// Flags: --enable-slow-asserts --no-force-slow-path
|
||||||
|
|
||||||
var s = "\u1234-------";
|
var s = "\u1234-------";
|
||||||
for (var i = 0; i < 17; i++) {
|
for (var i = 0; i < 17; i++) {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// Use of this source code is governed by a BSD-style license that can be
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
// found in the LICENSE file.
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// Flags: --no-wasm-tier-up --no-liftoff
|
// Flags: --no-wasm-tier-up --no-liftoff --no-force-slow-path
|
||||||
|
|
||||||
load("test/mjsunit/wasm/wasm-module-builder.js");
|
load("test/mjsunit/wasm/wasm-module-builder.js");
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
// Regression test for the r1513 fix.
|
// Regression test for the r1513 fix.
|
||||||
|
|
||||||
// Flags: --allow-natives-syntax
|
// Flags: --allow-natives-syntax --no-force-slow-path
|
||||||
|
|
||||||
var foo = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
|
var foo = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
|
||||||
assertEquals(39, foo.length);
|
assertEquals(39, foo.length);
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// Use of this source code is governed by a BSD-style license that can be
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
// found in the LICENSE file.
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// Flags: --expose-wasm
|
// Flags: --expose-wasm --no-force-slow-path
|
||||||
|
|
||||||
load("test/mjsunit/wasm/wasm-module-builder.js");
|
load("test/mjsunit/wasm/wasm-module-builder.js");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user