Skip to content

Commit

Permalink
Add RUBYFLAGS for Ruby testing
Browse files Browse the repository at this point in the history
make check RUBYFLAGS=-v can be useful
  • Loading branch information
wsfulton committed Sep 25, 2015
1 parent 4c2da81 commit 004ae16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Examples/Makefile.in
Expand Up @@ -1096,7 +1096,7 @@ ruby_cpp_static: $(SRCDIR_SRCS)
# -----------------------------------------------------------------

ruby_run:
$(RUNTOOL) $(RUBY) -I. $(RUBY_SCRIPT) $(RUNPIPE)
$(RUNTOOL) $(RUBY) $(RUBYFLAGS) -I. $(RUBY_SCRIPT) $(RUNPIPE)

# -----------------------------------------------------------------
# Version display
Expand Down
2 changes: 1 addition & 1 deletion Examples/test-suite/ruby/Makefile.in
Expand Up @@ -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 $(SCRIPTDIR)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX) ]; then \
env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH $(RUNTOOL) $(RUBY) -I$(srcdir):. $(SCRIPTDIR)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX); \
env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH $(RUNTOOL) $(RUBY) $(RUBYFLAGS) -I$(srcdir):. $(SCRIPTDIR)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX); \
fi

# Clean
Expand Down

0 comments on commit 004ae16

Please sign in to comment.