[Tests/GRPC] Skip GRPC tests on the qemu/arm environment either
authorWook Song <wook16.song@samsung.com>
Wed, 14 Jul 2021 08:35:02 +0000 (17:35 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 19 Jul 2021 07:55:45 +0000 (16:55 +0900)
Since some system calls required by GRPC are not supported on qemu/arm
as well, this patch blocks SSAT-based GRPC test cases' running on such
environment.

See also: 8a3eedc95a814a27949de4850f4ed6b670ac3616

Signed-off-by: Wook Song <wook16.song@samsung.com>
packaging/nnstreamer.spec
tests/nnstreamer_grpc/runTest.sh

index 5bf03df..8de9a3d 100644 (file)
@@ -782,11 +782,11 @@ export NNSTREAMER_CONVERTERS=${NNSTREAMER_BUILD_ROOT_PATH}/ext/nnstreamer/tensor
 %endif
     pushd tests
 
-    %ifarch aarch64
+    %ifarch %arm aarch64
     ## @todo Workaround for QEMU compatibility issue. Newer qemu may be ok with this.
-    export SKIP_QEMU_ARM64_INCOMPATIBLE_TESTS=1
+    export SKIP_QEMU_ARM_INCOMPATIBLE_TESTS=1
     %else
-    export SKIP_QEMU_ARM64_INCOMPATIBLE_TESTS=0
+    export SKIP_QEMU_ARM_INCOMPATIBLE_TESTS=0
     %endif
 
     ssat -n -p=1 --summary summary.txt -cn _n
index c07f6cd..ed016d1 100755 (executable)
@@ -19,8 +19,8 @@ fi
 testInit $1
 
 # Skip test on qemu env.
-if [[ "$SKIP_QEMU_ARM64_INCOMPATIBLE_TESTS" == "1" ]]; then
-  echo "Skip ssat tests on qemu/arm64 env."
+if [[ "$SKIP_QEMU_ARM_INCOMPATIBLE_TESTS" == "1" ]]; then
+  echo "Skip ssat tests on qemu/arm and qemu/arm64 environments."
   report
   exit
 fi