From 140b84dd7dc10b4a525fc534db70c772ed2a4c28 Mon Sep 17 00:00:00 2001 From: Jeremiah Senkpiel Date: Mon, 16 May 2016 12:37:42 -0400 Subject: [PATCH] tools: print stderr on bad test.py `vmArch` check This makes it so you can see why the check fails if it does. Typically that sort of thing can happen if you are modifying bootstrapping or `process`. PR-URL: https://github.com/nodejs/node/pull/6786 Reviewed-By: Ben Noordhuis Reviewed-By: Anna Henningsen --- tools/test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/test.py b/tools/test.py index d50fd5b4662c36..80cc1287fc17dc 100755 --- a/tools/test.py +++ b/tools/test.py @@ -1571,6 +1571,7 @@ def Main(): vmArch = archEngineContext.stdout.rstrip() if archEngineContext.exit_code is not 0 or vmArch == "undefined": print "Can't determine the arch of: '%s'" % vm + print archEngineContext.stderr.rstrip() continue env = { 'mode': mode,