[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

swig ruby binding testing problem.

From: Gyoung-Yoon Noh <nohmad_at_sub-port.net>
Date: 2005-07-21 23:10:15 CEST

'check-swig-rb' task fails in testing svn extension.
I've found subversion/binding/swig/ruby/test/runner.rb code
referes nonexistent path.

--- subversion-1.2.1-orig/subversion/bindings/swig/ruby/test/run-test.rb
2005-03-30 18:34:49.000000000 +0900
+++ subversion-1.2.1/subversion/bindings/swig/ruby/test/run-test.rb
2005-07-22 05:48:18.615008256 +0900
@@ -4,10 +4,10 @@
 require "fileutils"

 ENV["PATH"] = File.join(Dir.pwd, "..", "..", "..", "svnserve") + ":" +
ENV["PATH"]
-ext_dir = File.join(Dir.pwd, ".ext")
-ext_svn_dir = File.join(ext_dir, "svn")
+ext_dir = File.join(Dir.pwd, ".libs")
+ext_svn_dir = File.join(Dir.pwd, "svn")
 FileUtils.mkdir_p(ext_svn_dir)
-FileUtils.ln_sf(File.join(Dir.pwd, ".libs"), File.join(ext_svn_dir,
"ext"))
+FileUtils.ln_sf(ext_dir, File.join(ext_svn_dir, "ext"))
 at_exit {FileUtils.rm_rf(ext_dir)}

 $LOAD_PATH.unshift(ext_dir)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 22 00:44:12 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.