summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Moore <pmoore@redhat.com>2013-01-30 14:50:31 -0500
committerPaul Moore <pmoore@redhat.com>2013-03-28 11:33:14 -0400
commitadac51bd79a2c289355ef53cb804b524427a0c96 (patch)
treeafbe630270ab1d23fe7859421f5d103013f1cfda
parenta3c6fffd7d883f889e01f3d662edbad15a62a209 (diff)
downloadlibseccomp-adac51bd79a2c289355ef53cb804b524427a0c96.tar.gz
tests: add support for the x32 and arm architectures
Signed-off-by: Paul Moore <pmoore@redhat.com>
-rwxr-xr-xtests/regression7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/regression b/tests/regression
index e4df007..b9f81f8 100755
--- a/tests/regression
+++ b/tests/regression
@@ -21,7 +21,7 @@
# along with this library; if not, see <http://www.gnu.org/licenses>.
#
-GLBL_ARCH_SUPPORT="x86 x86_64"
+GLBL_ARCH_SUPPORT="x86 x86_64 x32 arm"
GLBL_SYS_RESOLVER="../tools/sys_resolver"
####
@@ -804,10 +804,7 @@ else
fi
# determine the current system's architecture
-arch=$(uname -m)
-if [[ $arch != "x86_64" ]]; then
- arch="x86"
-fi
+arch=$(../tools/arch_detect)
# display the test output and run the requested tests
echo "=============== $(date) ===============" >&$logfd