]> gitweb.michael.orlitzky.com - dead/whatever-dl.git/blobdiff - makefile
Update the makefile and test code so that the tests run with Ruby 1.9 and pass generally.
[dead/whatever-dl.git] / makefile
index 9e702a36b19787052a745a9485c112cb5decaff6..2a39f6bee4e7999a210492bb80f286fff2e68e8b 100644 (file)
--- a/makefile
+++ b/makefile
@@ -1,7 +1,9 @@
 .PHONY : test
 
+# Ruby 1.9 doesn't include the current directory in the load path, so
+# we pass them on the command-line.
 test:
-       ruby test/test_suite.rb
+       ruby -I. test/test_suite.rb
 
 remote_test:
-       ruby test/remote_test_suite.rb
+       ruby -I. test/remote_test_suite.rb