Ruby 1.9: Add current dir to load path when running Ruby
Ruby 1.9 changes the default load path to _not_ include the current directory. This breaks running the test cases. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13965 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ff95b17588
commit
eab417a3a1
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ ruby_naming.cpptest: SWIGOPT += -autorename
|
|||
# a file is found which has _runme.rb appended after the testcase name.
|
||||
run_testcase = \
|
||||
if [ -f $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX) ]; then \
|
||||
env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH $(RUNTOOL) $(RUBY) $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX); \
|
||||
env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH $(RUNTOOL) $(RUBY) -I. $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX); \
|
||||
fi
|
||||
|
||||
# Clean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue