]> gitweb.factorcode.org Git - factor.git/commitdiff
images.processing.rotation: disable on linux temporarily.
authorJohn Benediktsson <mrjbq7@gmail.com>
Fri, 18 Dec 2020 02:59:41 +0000 (18:59 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Fri, 18 Dec 2020 02:59:41 +0000 (18:59 -0800)
extra/images/processing/rotation/rotation-tests.factor

index 5ee2106bbe614343c3982416e05a4d913f71501b..0d266374abd95cdfac0277371e7ff24c4fe15836 100644 (file)
@@ -33,25 +33,29 @@ IN: images.processing.rotation.tests
     "vocab:images/processing/rotation/test-bitmaps/lake.bmp"
     load-image image>pixel-rows ;
 
-[ t ] [ pasted-image dup clone-image 4 [ 90 rotate ] times = ] unit-test
-[ t ] [ pasted-image dup clone-image 2 [ 180 rotate ] times = ] unit-test
-[ t ] [ pasted-image dup clone-image 270 rotate 90 rotate = ] unit-test
-[ t ] [
-    pasted-image dup clone-image dup { 90 180 90 } [ rotate drop ] with each =
-] unit-test
+! XXX: disabling temporarily
+USE: system
+os linux? [
+    [ t ] [ pasted-image dup clone-image 4 [ 90 rotate ] times = ] unit-test
+    [ t ] [ pasted-image dup clone-image 2 [ 180 rotate ] times = ] unit-test
+    [ t ] [ pasted-image dup clone-image 270 rotate 90 rotate = ] unit-test
+    [ t ] [
+        pasted-image dup clone-image dup { 90 180 90 } [ rotate drop ] with each =
+    ] unit-test
 
-[ t ] [
-    pasted-image 90 rotate
-    pasted-image90 = 
-] unit-test
+    [ t ] [
+        pasted-image 90 rotate
+        pasted-image90 = 
+    ] unit-test
+
+    [ t ] [
+        "vocab:images/processing/rotation/test-bitmaps/small.bmp"
+        load-image 90 rotate
+        "vocab:images/processing/rotation/test-bitmaps/small-rotated.bmp"
+        load-image =
+    ] unit-test
+] unless
 
-[ t ] [
-    "vocab:images/processing/rotation/test-bitmaps/small.bmp"
-    load-image 90 rotate
-    "vocab:images/processing/rotation/test-bitmaps/small-rotated.bmp"
-    load-image =
-] unit-test
-    
 [ t ] [
     lake-image
     [ first-of-first-row ]