Codebase list ruby-fxruby / ddf7fc7 debian / patches / dont-run-test.patch
ddf7fc7

Tree @ddf7fc7 (Download .tar.gz)

dont-run-test.patch @ddf7fc7raw · 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"]