File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -761,7 +761,7 @@ mod tests {
761761 assert ! ( !dst. exists( ) ) ;
762762 }
763763
764- #[ cfg( not( target_os = "macos" ) ) ]
764+ // #[cfg(not(target_os = "macos"))]
765765 #[ test]
766766 #[ cfg( feature = "kaleido" ) ]
767767 fn test_save_to_jpeg ( ) {
@@ -773,7 +773,7 @@ mod tests {
773773 assert ! ( !dst. exists( ) ) ;
774774 }
775775
776- #[ cfg( not( target_os = "macos" ) ) ]
776+ // #[cfg(not(target_os = "macos"))]
777777 #[ test]
778778 #[ cfg( feature = "kaleido" ) ]
779779 fn test_save_to_svg ( ) {
@@ -822,7 +822,7 @@ mod tests {
822822 }
823823
824824 #[ test]
825- #[ ignore] // Fails in the CI
825+ // #[ignore] // Fails in the CI
826826 #[ cfg( not( target_os = "macos" ) ) ]
827827 #[ cfg( feature = "kaleido" ) ]
828828 fn test_image_to_base64 ( ) {
@@ -851,7 +851,7 @@ mod tests {
851851 }
852852
853853 #[ test]
854- #[ ignore] // Fails in the CI
854+ // #[ignore] // Fails in the CI
855855 #[ cfg( not( target_os = "macos" ) ) ]
856856 #[ cfg( feature = "kaleido" ) ]
857857 fn test_image_to_svg_string ( ) {
Original file line number Diff line number Diff line change @@ -199,6 +199,7 @@ impl Kaleido {
199199 "--single-process" ,
200200 "--disable-gpu" ,
201201 "--timeout 2000" ,
202+ "--disable-gpu-vsync" ,
202203 ] )
203204 . stdin ( Stdio :: piped ( ) )
204205 . stdout ( Stdio :: piped ( ) )
@@ -237,6 +238,13 @@ impl Kaleido {
237238 }
238239 }
239240
241+ let stderr = process. stderr . take ( ) . unwrap ( ) ;
242+ let stderr_lines = BufReader :: new ( stderr) . lines ( ) ;
243+ for line in stderr_lines {
244+ let line = line. unwrap ( ) ;
245+ eprintln ! ( "{}" , line) ;
246+ }
247+
240248 Ok ( String :: default ( ) )
241249 }
242250}
You can’t perform that action at this time.
0 commit comments