]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Fix test-erasure-code-plugins.sh test on ARM 11086/head
authorBassam Tabbara <bassam.tabbara@quantum.com>
Thu, 29 Sep 2016 19:26:43 +0000 (12:26 -0700)
committerBassam Tabbara <bassam.tabbara@quantum.com>
Thu, 29 Sep 2016 19:27:33 +0000 (12:27 -0700)
The ISA plugin is not available on ARM, this test now excludes it.

Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
src/test/erasure-code/test-erasure-code-plugins.sh

index 3fa49c9a2010305bb1f7db3d323afb3b3bc2f555..75d65193cae6b9b9ad79bc24dd7631d568ec6024 100755 (executable)
@@ -9,15 +9,19 @@ case $arch in
     i[[3456]]86*|x86_64*|amd64*)
         legacy_jerasure_plugins=(jerasure_generic jerasure_sse3 jerasure_sse4)
         legacy_shec_plugins=(shec_generic shec_sse3 shec_sse4)
+        plugins=(jerasure shec lrc isa)
         ;;
     aarch64*|arm*) 
         legacy_jerasure_plugins=(jerasure_generic jerasure_neon)
         legacy_shec_plugins=(shec_generic shec_neon)
+        plugins=(jerasure shec lrc)
+        ;;
+    *)
+        echo "unsupported platform ${arch}."
+        return 1
         ;;
 esac
 
-plugins=(jerasure shec lrc isa)
-
 function run() {
     local dir=$1
     shift