[ruby-oci8-commit] [276] trunk/ruby-oci8/test/config.rb: * test/config.rb, test/test_all.rb, test/test_array_dml.rb,
nobody at rubyforge.org
nobody at rubyforge.org
Tue Aug 5 09:51:31 EDT 2008
Revision: 276
Author: kubo
Date: 2008-08-05 09:51:30 -0400 (Tue, 05 Aug 2008)
Log Message:
-----------
* test/config.rb, test/test_all.rb, test/test_array_dml.rb,
test/test_bind_raw.rb, test/test_bind_time.rb, test/test_break.rb,
test/test_clob.rb, test/test_connstr.rb, test/test_datetime.rb,
test/test_dbi.rb, test/test_dbi_clob.rb, test/test_metadata.rb,
test/test_object.rb, test/test_oci8.rb, test/test_oradate.rb,
test/test_oranumber.rb, test/test_rowid.rb:
fix to run tests in directories outside of 'test' directory.
Modified Paths:
--------------
trunk/ruby-oci8/test/config.rb
Modified: trunk/ruby-oci8/test/config.rb
===================================================================
--- trunk/ruby-oci8/test/config.rb 2008-08-04 14:13:56 UTC (rev 275)
+++ trunk/ruby-oci8/test/config.rb 2008-08-05 13:51:30 UTC (rev 276)
@@ -12,9 +12,9 @@
nls_lang = nls_lang.upcase unless nls_lang.nil?
case nls_lang
when 'JA16EUC'
- $lobfile = '../doc/api.ja.rd' # EUC-JP file
+ $lobfile = File.dirname(__FILE__) + '/../doc/api.ja.rd' # EUC-JP file
else
- $lobfile = '../doc/api.en.rd' # ASCII file
+ $lobfile = File.dirname(__FILE__) + '/../doc/api.en.rd' # ASCII file
end
$lobreadnum = 256 # counts in charactors
More information about the ruby-oci8-commit
mailing list