[C#] SF #3085906 - Possible fix running test-suite on Mac OSX.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ae0683a2d3
commit
a5837dd7e6
2 changed files with 6 additions and 1 deletions
|
|
@ -5,6 +5,10 @@ See the RELEASENOTES file for a summary of changes in each release.
|
||||||
Version 2.0.2 (in progress)
|
Version 2.0.2 (in progress)
|
||||||
===========================
|
===========================
|
||||||
|
|
||||||
|
|
||||||
|
2011-02-05: wsfulton
|
||||||
|
[C#] SF #3085906 - Possible fix running test-suite on Mac OSX.
|
||||||
|
|
||||||
2011-02-05: wsfulton
|
2011-02-05: wsfulton
|
||||||
SF #3173367 Better information during configure about Boost prerequisite for running
|
SF #3173367 Better information during configure about Boost prerequisite for running
|
||||||
the test-suite.
|
the test-suite.
|
||||||
|
|
|
||||||
|
|
@ -64,12 +64,13 @@ setup = \
|
||||||
# Compiles C# files then runs the testcase. A testcase is only run if
|
# Compiles C# files then runs the testcase. A testcase is only run if
|
||||||
# a file is found which has _runme.cs appended after the testcase name.
|
# a file is found which has _runme.cs appended after the testcase name.
|
||||||
# Note C# uses LD_LIBRARY_PATH under Unix, PATH under Cygwin/Windows and SHLIB_PATH on HPUX.
|
# Note C# uses LD_LIBRARY_PATH under Unix, PATH under Cygwin/Windows and SHLIB_PATH on HPUX.
|
||||||
|
# DYLD_FALLBACK_LIBRARY_PATH is cleared for MacOSX.
|
||||||
run_testcase = \
|
run_testcase = \
|
||||||
if [ -f $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX) ]; then \
|
if [ -f $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX) ]; then \
|
||||||
$(MAKE) -f $*/$(top_builddir)/$(EXAMPLES)/Makefile \
|
$(MAKE) -f $*/$(top_builddir)/$(EXAMPLES)/Makefile \
|
||||||
CSHARPFLAGS='-nologo $(CSHARPFLAGSSPECIAL) -out:$*_runme.exe' \
|
CSHARPFLAGS='-nologo $(CSHARPFLAGSSPECIAL) -out:$*_runme.exe' \
|
||||||
CSHARPSRCS='`$(CSHARPCYGPATH_W) $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX)` `find $* -name "*.cs" -exec $(CSHARPCYGPATH_W) "{}" \+`' csharp_compile && \
|
CSHARPSRCS='`$(CSHARPCYGPATH_W) $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX)` `find $* -name "*.cs" -exec $(CSHARPCYGPATH_W) "{}" \+`' csharp_compile && \
|
||||||
env LD_LIBRARY_PATH="$*:$$LD_LIBRARY_PATH" PATH="$*:$$PATH" SHLIB_PATH="$*:$$SHLIB_PATH" $(RUNTOOL) $(INTERPRETER) $*_runme.exe; \
|
env LD_LIBRARY_PATH="$*:$$LD_LIBRARY_PATH" PATH="$*:$$PATH" SHLIB_PATH="$*:$$SHLIB_PATH" DYLD_FALLBACK_LIBRARY_PATH= $(RUNTOOL) $(INTERPRETER) $*_runme.exe; \
|
||||||
else \
|
else \
|
||||||
cd $* && \
|
cd $* && \
|
||||||
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile \
|
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue