Codebase list ruby-fxruby / run/867a9ad8-16f3-49f2-8da1-08141b9b00dd/main debian / patches / dont-run-test.patch
run/867a9ad8-16f3-49f2-8da1-08141b9b00dd/main

Tree @run/867a9ad8-16f3-49f2-8da1-08141b9b00dd/main (Download .tar.gz)

dont-run-test.patch @run/867a9ad8-16f3-49f2-8da1-08141b9b00dd/mainraw · history · blame

From: Sophie Brun <[email protected]>
Date: Tue, 8 Mar 2022 12:15:51 +0100
Subject: don't run the tests during the build

Last-Update: 2022-03-08
tests require xvfb-run: it fails to run on i386 on build machine.
Drop the tests to build the package
---
 Rakefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Index: ruby-fxruby.git/Rakefile
===================================================================
--- ruby-fxruby.git.orig/Rakefile
+++ ruby-fxruby.git/Rakefile
@@ -81,9 +81,9 @@ CLEAN.include( ".config", "ext/fox16_c/M
 CLOBBER.include( "pkg" )
 
 # Make sure extension is built before tests are run
-task :test => [:compile] do
-  sh "ruby -w -W2 -Ilib test/TS_All.rb -v"
-end
+#task :test => [:compile] do
+#  sh "ruby -w -W2 -Ilib test/TS_All.rb -v"
+#end
 
 task :default => ["ext/fox16_c/extconf.rb", "fxruby:configure"]