diff options
author | Keith Maxwell <keith.maxwell@gmail.com> | 2020-04-07 00:41:02 +0100 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2020-04-10 09:08:43 +0000 |
commit | 2f67d9331622080bbe7c773fce5712f10307765c (patch) | |
tree | b0f880cd2062bb4ddc4b9edb39264ec422107243 /community/ruby-unf_ext/test-helper.patch | |
parent | b58feaab7a22d8ddf49a6929fc4579929b7ee5bd (diff) | |
download | aports-2f67d9331622080bbe7c773fce5712f10307765c.tar.bz2 aports-2f67d9331622080bbe7c773fce5712f10307765c.tar.xz |
community/ruby-unf_ext: move from testing
Diffstat (limited to 'community/ruby-unf_ext/test-helper.patch')
-rw-r--r-- | community/ruby-unf_ext/test-helper.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/community/ruby-unf_ext/test-helper.patch b/community/ruby-unf_ext/test-helper.patch new file mode 100644 index 0000000000..40c17a7d83 --- /dev/null +++ b/community/ruby-unf_ext/test-helper.patch @@ -0,0 +1,20 @@ +--- a/test/helper.rb ++++ b/test/helper.rb +@@ -1,17 +1,4 @@ +-require 'rubygems' +-require 'bundler' +-begin +- Bundler.setup(:default, :development) +-rescue Bundler::BundlerError => e +- $stderr.puts e.message +- $stderr.puts "Run `bundle install` to install missing gems" +- exit e.status_code +-end + require 'test/unit' +- +-$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) +-$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..')) +-$LOAD_PATH.unshift(File.dirname(__FILE__)) + require 'unf_ext' + + class Test::Unit::TestCase |