Thrift-1714:Explicitly add CWD to Ruby test_suites.rb
authorJake Farrell <jfarrell@apache.org>
Sat, 6 Oct 2012 02:51:45 +0000 (02:51 +0000)
committerJake Farrell <jfarrell@apache.org>
Sat, 6 Oct 2012 02:51:45 +0000 (02:51 +0000)
Client: rb
Patch: Nathan Beyer

test/rb/Makefile.am contains a invocation or the ruby interpreter to run test_suites.rb that needs modification to run correctly on Ruby 1.9+. Ruby 1.9+ doesn't include the CWD by default anymore.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1394906 13f79535-47bb-0310-9956-ffa450edef68

test/rb/Makefile.am

index a6f431c..58b11f2 100644 (file)
@@ -24,5 +24,5 @@ stubs: ../ThriftTest.thrift ../SmallTest.thrift
        $(THRIFT) --gen rb ../SmallTest.thrift
 
 check: stubs
-       $(RUBY) test_suite.rb
+       $(RUBY) -I. test_suite.rb