summaryrefslogtreecommitdiff
path: root/scripts/TestUtil.py
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2015-08-27 17:48:59 +0200
committerJose <jose@zeroc.com>2015-08-27 17:48:59 +0200
commitc4527a81cb4e2f1fcc2dcc971931388590d16e76 (patch)
treeb235d94eee565f22cbf97d7a3777f561358ad5e0 /scripts/TestUtil.py
parentUpdate test script to support Yocto and ARMv7 with IceE (diff)
downloadice-c4527a81cb4e2f1fcc2dcc971931388590d16e76.tar.bz2
ice-c4527a81cb4e2f1fcc2dcc971931388590d16e76.tar.xz
ice-c4527a81cb4e2f1fcc2dcc971931388590d16e76.zip
Minor fix to TestUtil script
Diffstat (limited to 'scripts/TestUtil.py')
-rwxr-xr-xscripts/TestUtil.py5
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).