summaryrefslogtreecommitdiff
path: root/tools/test.py
diff options
context:
space:
mode:
authorAshok <coderatlabs@gmail.com>2018-04-14 16:07:29 +0530
committerRuben Bridgewater <ruben@bridgewater.de>2018-04-23 15:49:23 +0200
commit5af28c26cf8422c4ae11ba9d131c993a252485d9 (patch)
treebb36a00171338463a7583a576a63eba7c88031db /tools/test.py
parentf85d5996db11107edb4d078f5eafcd4cc588cd9c (diff)
downloadnode-new-5af28c26cf8422c4ae11ba9d131c993a252485d9.tar.gz
test: fix test when NODE_OPTIONS env var is set to --trace-warnings
PR-URL: https://github.com/nodejs/node/pull/20027 Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'tools/test.py')
-rwxr-xr-xtools/test.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/test.py b/tools/test.py
index 8eaa2611d0..9bee9c2a22 100755
--- a/tools/test.py
+++ b/tools/test.py
@@ -54,6 +54,7 @@ skip_regex = re.compile(r'# SKIP\S*\s+(.*)', re.IGNORECASE)
VERBOSE = False
+os.environ['NODE_OPTIONS'] = ''
# ---------------------------------------------
# --- P r o g r e s s I n d i c a t o r s ---