]> git.pld-linux.org Git - packages/libgav1.git/commitdiff
- try to skip tests unsupported on host CPU
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 6 Mar 2023 05:40:30 +0000 (06:40 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 6 Mar 2023 05:40:30 +0000 (06:40 +0100)
libgav1.spec

index 00033c2a522eed55c201b04f51b607c0c2a8e59b..bf218e0e3b1acf57a4fca7e8078f154b01e4b515 100644 (file)
@@ -77,6 +77,12 @@ cd build
 %if %{with tests}
 # how to execute all automatically?
 for f in $(echo ./*_test) ; do
+       if [ "$f" = "./common_avx2_test"] && ! grep -Fs avx2 ; then
+               continue
+       fi
+       if [ "$f" = "./common_sse4_test"] && ! grep -Fs sse4_1 ; then
+               continue
+       fi
        $f
 done
 %endif
This page took 0.209299 seconds and 4 git commands to generate.