Skip to content

Commit 09e581d

Browse files
committed
Detect Error pattern without ": " + message.
(cherry picked from commit 7dc6ee9)
1 parent f82ad90 commit 09e581d

File tree

1 file changed

+2
-2
lines changed
  • graal-js/src/com.oracle.truffle.js.test.external/src/com/oracle/truffle/js/test/external/suite

1 file changed

+2
-2
lines changed

graal-js/src/com.oracle.truffle.js.test.external/src/com/oracle/truffle/js/test/external/suite/TestRunnable.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0
@@ -62,7 +62,7 @@
6262

6363
public abstract class TestRunnable implements Runnable {
6464
private static final int LONG_RUNNING_TEST_SECONDS = 55;
65-
protected static final Pattern EXTERNAL_LAUNCHER_ERROR_PATTERN = Pattern.compile("^(\\w+Error)(?::|\\s+at)");
65+
protected static final Pattern EXTERNAL_LAUNCHER_ERROR_PATTERN = Pattern.compile("^(\\w+Error)(?:: .*)?\\R");
6666
protected static final Pattern EXTERNAL_LAUNCHER_EXCEPTION_PATTERN = Pattern.compile("^([\\w\\.]+Exception):");
6767

6868
private static final ConcurrentMap<Integer, Source[]> HARNESS_SOURCES = new ConcurrentHashMap<>();

0 commit comments

Comments
 (0)