File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed
Expand file tree Collapse file tree 2 files changed +12
-5
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 @@ -198,7 +198,7 @@ impl Kaleido {
198198 "--disable-software-rasterizer" ,
199199 "--single-process" ,
200200 "--disable-gpu" ,
201- "--timeout 2000 " ,
201+ "--no-sandbox " ,
202202 ] )
203203 . stdin ( Stdio :: piped ( ) )
204204 . stdout ( Stdio :: piped ( ) )
@@ -237,6 +237,13 @@ impl Kaleido {
237237 }
238238 }
239239
240+ let stderr = process. stderr . take ( ) . unwrap ( ) ;
241+ let stderr_lines = BufReader :: new ( stderr) . lines ( ) ;
242+ for line in stderr_lines {
243+ let line = line. unwrap ( ) ;
244+ eprintln ! ( "{}" , line) ;
245+ }
246+
240247 Ok ( String :: default ( ) )
241248 }
242249}
You can’t perform that action at this time.
0 commit comments