Permalink
Browse files

Ruby 1.9.2 relative directory compatibility for script/tc.

  • Loading branch information...
1 parent e296df6 commit a6d65454d39fb872d351d70f454112a101ac9d83 @gkellogg committed Dec 20, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 script/tc
View
@@ -2,7 +2,7 @@
require 'rubygems'
$:.unshift(File.join(File.expand_path(File.dirname(__FILE__)), "..", 'lib'))
require 'rdf_context'
-require 'spec/rdfa_helper'
+require File.join(File.expand_path(File.dirname(__FILE__)), "..", "spec", "rdfa_helper")
require 'getoptlong'
def run_tc(tc)
@@ -48,7 +48,7 @@ test_cases = RdfaHelper::TestCase.test_cases(suite)
::RdfContext::debug = debug
-puts test_cases.length
+puts "#{suite}: #{test_cases.length} test cases"
test_cases.each do |tc|
next unless ARGV.empty? || ARGV.any? {|n| tc.name.match(/#{n}/)}

0 comments on commit a6d6545

Please sign in to comment.