diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2014-03-10 10:25:03 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2014-03-14 10:54:55 +0000 |
commit | f366960273b026322f7e7cc3c1eb0cd632ebc73e (patch) | |
tree | 51449f8ad44217e8ad922158e47512bb4fb57ff0 /tests/show-dependencies.setup | |
parent | 8592fe5681fb131f05434d208133bbc82f8109e1 (diff) | |
download | morph-f366960273b026322f7e7cc3c1eb0cd632ebc73e.tar.gz |
tests: Allow running ./check on 32-bit x86
uname will return the same string morph expects as an architecture on
x86_64, but the canonical x86_32 architecture names match i?86 instead.
To make it work on 32-bit, we replace calls to uname with morph
print-architecture, which does the translation for us.
Diffstat (limited to 'tests/show-dependencies.setup')
-rwxr-xr-x | tests/show-dependencies.setup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/show-dependencies.setup b/tests/show-dependencies.setup index e1cc71ae..510656e6 100755 --- a/tests/show-dependencies.setup +++ b/tests/show-dependencies.setup @@ -347,7 +347,7 @@ cat <<EOF > xfce-system.morph { "name": "xfce-system", "kind": "system", - "arch": "$(uname -m)", + "arch": "$("$SRCDIR/scripts/test-morph" print-architecture)", "strata": [ { "build-mode": "test", |