Sha256: 4766e4851f73b8fd7d97f39846002faa06e1d9b1295f8d0766cc7cc2d69b5dc4

Contents?: true

Size: 1.52 KB

Versions: 2

Compression:

Stored size: 1.52 KB

Contents

#!/usr/bin/env ruby
#
# Copyright (C) 2010-2011  Kouhei Sutou <kou@clear-code.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

$VERBOSE = true

$KCODE = "u" if RUBY_VERSION < "1.9"

require 'pathname'

base_dir = Pathname(__FILE__).dirname.parent.expand_path
rroonga_dir = base_dir.parent + "rroonga"
rroonga_ext_dir = rroonga_dir + "ext" + "groonga"
rroonga_lib_dir = rroonga_dir + "lib"
lib_dir = base_dir + "lib"
test_dir = base_dir + "test"

require "rubygems"
require "bundler/setup"

require 'test/unit'
require 'test/unit/notify'

Test::Unit::Priority.enable

$LOAD_PATH.unshift(rroonga_ext_dir.to_s)
$LOAD_PATH.unshift(rroonga_lib_dir.to_s)
$LOAD_PATH.unshift(lib_dir.to_s)

$LOAD_PATH.unshift(test_dir.to_s)
require 'racknga-test-utils'

Dir.glob("#{test_dir}/**/test{_,-}*.rb") do |file|
  require file.sub(/\.rb$/, '')
end

exit Test::Unit::AutoRunner.run(false)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
racknga-0.9.3 test/run-test.rb
racknga-0.9.2 test/run-test.rb