tools: fix get_asan_state() in tools/test.py · nodejs/node@c6043fe · GitHub
Skip to content

Commit c6043fe

Browse files
joyeecheungtargos
authored andcommitted
tools: fix get_asan_state() in tools/test.py
The output of `node -p process.config.variables.asan` includes a newline character so it's never exactly "1", which means asan is always "off" for the status files. This fixes the detection by stripping whitespaces from the output. PR-URL: #52766 Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
1 parent 6e71acc commit c6043fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/test.py

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)