From 07fb042d25d69b765d7466b837dd89c6e387044d Mon Sep 17 00:00:00 2001
From: Jan Tattermusch <jtattermusch@google.com>
Date: Tue, 26 Jan 2016 10:46:56 -0800
Subject: [PATCH] fix check_arch_option

---
 tools/run_tests/run_tests.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py
index a390864237..488af3b4da 100755
--- a/tools/run_tests/run_tests.py
+++ b/tools/run_tests/run_tests.py
@@ -553,6 +553,7 @@ def _check_arch_option(arch):
     _windows_arch_option(arch)
   elif platform_string() == 'linux':
     # On linux, we need to be running under docker with the right architecture.
+    runtime_arch = platform.architecture()[0]
     if arch == 'default':
       return
     elif runtime_arch == '64bit' and arch == 'x64':
-- 
GitLab