test: fix test-linux-perf-logger for V8 14.3

Refs: e2e6dd8279
PR-URL: https://github.com/nodejs/node/pull/60488
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Richard Lau <richard.lau@ibm.com>
This commit is contained in:
Michaël Zasso
2025-11-08 09:05:01 +01:00
parent 8480f87375
commit 092a448ad0

View File

@@ -46,7 +46,7 @@ const testCases = [
matches: [
'JS:~functionOne .+/linux-perf-logger.js',
'JS:~functionTwo .+/linux-perf-logger.js',
String.raw`RegExp\.> src: 'test-regex' flags: 'gi'`,
String.raw`RegExp\.< src: 'test-regex' flags: 'gi'`,
],
noMatches: [
String.raw`JS:\*'functionOne`,
@@ -57,7 +57,7 @@ const testCases = [
title: '--perf-basic-prof compiled',
nodeFlags: ['--allow-natives-syntax', '--perf-basic-prof', '--no-turbo-inlining'],
matches: [
String.raw`RegExp\.> src: 'test-regex' flags: 'gi'`,
String.raw`RegExp\.< src: 'test-regex' flags: 'gi'`,
'JS:~functionOne .+/linux-perf-logger.js',
'JS:~functionTwo .+/linux-perf-logger.js',
String.raw`JS:\*'functionOne .+/linux-perf-logger.js`,