From c4527a81cb4e2f1fcc2dcc971931388590d16e76 Mon Sep 17 00:00:00 2001 From: Jose Date: Thu, 27 Aug 2015 17:48:59 +0200 Subject: Minor fix to TestUtil script --- scripts/TestUtil.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'scripts/TestUtil.py') diff --git a/scripts/TestUtil.py b/scripts/TestUtil.py index 0ff214a1cb7..40b6bb05f7b 100755 --- a/scripts/TestUtil.py +++ b/scripts/TestUtil.py @@ -323,8 +323,11 @@ else: if(p.wait() != 0): print("uname failed:\n" + p.stdout.read().strip()) sys.exit(1) - if p.stdout.readline().decode('UTF-8').strip() == "x86_64" and os.environ.get("LP64", "") != "no": + line = p.stdout.readline().decode('UTF-8').strip() + if line == "x86_64" and os.environ.get("LP64", "") != "no": x64 = True + elif line == "armv7l": + armv7l = True # # The PHP interpreter is called "php5" on some platforms (e.g., SLES). -- cgit v1.2.3