summaryrefslogtreecommitdiff
path: root/tests/regression
diff options
context:
space:
mode:
authorXiaotian Wu <wuxiaotian@loongson.cn>2021-02-09 15:52:18 +0800
committerPaul Moore <paul@paul-moore.com>2023-02-18 22:07:36 -0500
commit80c2c9fe4eac515b31292c522b51657800028018 (patch)
treee88bdc9fe06b56cfe0ab5a2fad4702c6b59d2525 /tests/regression
parent6966ec77b195ac289ae168c7c5646d59a307f33f (diff)
downloadlibseccomp-80c2c9fe4eac515b31292c522b51657800028018.tar.gz
tests: Add 64-bit LoongArch support
[xen0n: LoongArch (and a few upcoming architectures / ABIs) does not have fstat, so the fstat in 06-sim-actions is also being changed to fstatfs for uniformity across the board.] Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn> Signed-off-by: WANG Xuerui <git@xen0n.name> Acked-by: Tom Hromatka <tom.hromatka@oracle.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tests/regression')
-rwxr-xr-xtests/regression4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/regression b/tests/regression
index 746cea9..32463c0 100755
--- a/tests/regression
+++ b/tests/regression
@@ -24,6 +24,7 @@
GLBL_ARCH_LE_SUPPORT=" \
x86 x86_64 x32 \
arm aarch64 \
+ loongarch64 \
mipsel mipsel64 mipsel64n32 \
ppc64le \
riscv64 \
@@ -47,6 +48,7 @@ GLBL_ARCH_32B_SUPPORT=" \
GLBL_ARCH_64B_SUPPORT=" \
x86_64 \
aarch64 \
+ loongarch64 \
mips64 \
parisc64 \
ppc64 \
@@ -801,7 +803,7 @@ function run_test_live() {
# setup the arch specific return values
case "$arch" in
- x86|x86_64|x32|arm|aarch64|parisc|parisc64|ppc|ppc64|ppc64le|ppc|s390|s390x|riscv64|sh|sheb)
+ x86|x86_64|x32|arm|aarch64|loongarch64|parisc|parisc64|ppc|ppc64|ppc64le|ppc|s390|s390x|riscv64|sh|sheb)
rc_kill_process=159
rc_kill=159
rc_allow=160