Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b5522301 authored by Steve Block's avatar Steve Block
Browse files

Puts two regex layout tests back on the DumpRenderTree skipped list

fast/regex/test1.html and fast/regex/slow.html were removed from the skipped
list in https://android-git.corp.google.com/g/#change,43908

However, they cause DumpRenderTree to hang when run with V8, so are added back
to the list pending further investigation.

Bug: 2509394
Change-Id: I83c361c99fcd61e940a169f1ed00614529af48ff
parent cf0fd789
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -24,9 +24,8 @@ public class FileFilter {
    private static final String LOGTAG = "FileFilter";

    // Returns whether we should ignore this test and skip running it.
    // Currently we use this only for tests that crash the browser.
    // TODO: Once these crashes are fixed, we should probably eliminate this
    // method, as no test should crash.
    // Currently we use this only for tests that crash or hang DumpRenderTree.
    // TODO: Fix these and eliminate this method.
    public static boolean ignoreTest(String file) {
        for (int i = 0; i < ignoreTestList.length; i++) {
            if (file.endsWith(ignoreTestList[i])) {
@@ -74,6 +73,8 @@ public class FileFilter {

    static final String[] ignoreTestList = {
        "fast/js/regexp-charclass-crash.html", // RegExp is too large, causing OOM
        "fast/regex/test1.html", // Causes DumpRenderTree to hang with V8
        "fast/regex/slow.html", // Causes DumpRenderTree to hang with V8
        "editing/selection/move-left-right.html" // Causes DumpRenderTree to hang
    };