diff options
Diffstat (limited to 'scripts/TestUtil.py')
-rwxr-xr-x | scripts/TestUtil.py | 5 |
1 files changed, 4 insertions, 1 deletions
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). |