File: run-test.rb

package info (click to toggle)
ruby-csv 3.3.5-1~exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 796 kB
  • sloc: ruby: 6,862; makefile: 4; sh: 4
file content (14 lines) | stat: -rwxr-xr-x 334 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env ruby

$VERBOSE = true

$LOAD_PATH.unshift("test")
$LOAD_PATH.unshift("test/lib")
$LOAD_PATH.unshift("lib")

Dir.glob("test/csv/**/*test_*.rb") do |test_rb|
  # Ensure we only load syntax that we can handle
  next if RUBY_VERSION < "2.7" && test_rb.end_with?("test_patterns.rb")

  require File.expand_path(test_rb)
end