File: all.rb

package info (click to toggle)
ruby-cabin 0.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 272 kB
  • sloc: ruby: 1,306; makefile: 12
file content (12 lines) | stat: -rw-r--r-- 339 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
require "test_helper"

base_dir = File.join(File.expand_path(File.dirname(__FILE__)), "cabin")

Dir.glob(File.join(base_dir, "test_*.rb")).each do |path|
  puts "Loading tests from #{path}"
  if path =~ /test_zeromq/
    puts "Skipping zeromq tests because they force ruby to exit if libzmq is not found"
    next
  end
  require path
end