William S Fulton
5b0611dbcd
Fix compiler flags used during R testing
...
CFLAGS and CXXFLAGS were not being passed properly when compiling
wrappers.
2017-06-13 19:36:35 +01:00
Olly Betts
8855ef2b48
[Perl] Fix testsuite to work without . in @INC
...
"." was removed from @INC in Perl 5.26 for security reasons, and has
also been removed from older versions in some distros.
Fixes https://github.com/swig/swig/issues/997 reported by lfam.
2017-06-13 17:32:37 +12:00
William S Fulton
cf1fb6ca16
Fixes for make partialcheck-ocaml-test-suite
2017-03-20 19:30:46 +00:00
William S Fulton
a4393e2103
Remove unnecessary file check in Ocaml Makefile
...
First of two fixes for 'make partialcheck-ocaml-test-suite'
2017-03-20 19:30:10 +00:00
William S Fulton
5104c40d9a
Ocaml Makefile cosmetic style fixes
2017-03-20 19:28:53 +00:00
Olly Betts
fa785cdd46
[PHP7] Send errors to stderr so they escape RUNPIPE
2016-12-06 08:35:22 +13:00
Olly Betts
75a00cd15e
[PHP7] Make default C++ extension .cxx
...
This is SWIG's default for every language except PHP, and now is a
good time to make this change so that once we drop PHP5 support, we'll
have the same default everywhere. It's easy to override the default
with -cppext cxx to get the PHP5 behaviour.
2016-11-30 13:27:13 +13:00
Olly Betts
1169874f59
[PHP] Add support for PHP7.
...
PHP5's C extension API has changed substantially so you need to use
-php7 to specify you want PHP7 compatible wrappers.
Fixes https://github.com/swig/swig/issues/571
2016-11-30 13:05:59 +13:00
William S Fulton
df30ae0f0b
Examples makefile changes to make it easier to test python3 without -py3
...
Use:
make check-python-test-suite PY3=1 SWIGOPTPY3=
make check-python-examples PY3=1 SWIGOPTPY3=
2016-06-05 22:39:34 +01:00
William S Fulton
2d267c99f6
Fix RUNTOOL for Octave examples
2016-05-14 21:32:24 +01:00
William S Fulton
cf5fcd0a9b
Display output when running the R examples
...
Running 'make check-r-examples' is quiet like the other examples and
running 'make check-r-examples RUNPIPE=' will display the examples
output like the other languages. The output displayed when running
each example in its own particular directory. The output is less than
what was previously in the .Rout file as -q --slave is used.
2016-05-08 00:08:10 +01:00
William S Fulton
57f1c378b2
Remove JNI checks due to numerous spurious warnings in some versions of jdk-1.8
...
Was happening with openjdk-1.9 on Ubuntu 16.04 Xenial Xerus and also seen in jdk-1.8 on Fedora 23 (jdk-1.8.0_65-b17)
2016-05-01 17:35:55 +01:00
William S Fulton
7aa5f07dfd
Fix 'make partialcheck-test-suite'
...
Python pep8 should not be run as part of partialcheck
Javascript should also only invoke SWIG during partialcheck
2016-03-18 18:56:55 +00:00
William S Fulton
004ae163e5
Add RUBYFLAGS for Ruby testing
...
make check RUBYFLAGS=-v can be useful
2015-09-25 23:15:25 +01:00
William S Fulton
e00a8026a6
More remove SWIG_LIB variable
2015-08-21 22:48:34 +01:00
William S Fulton
8e2bc595c6
Remove use of preinst-swig script
...
Complete the prototype removal in ca1431.
The script prevents SWIGTOOL=gdb from working as gdb can't be used to
debug a shell script, it requires a binary.
Add support for SWIGTOOL in all the examples.
SWIG_LIB_DIR and SWIGEXE must now instead be set by all Makefiles.
See issue #473 .
2015-08-21 22:43:17 +01:00
William S Fulton
ca1431f4cf
Prototype removal of swig-preinst in the test-suite and examples
...
Prototype for Java test-suite and Java class example.
SWIG_LIB_DIR and SWIGEXE must now instead be set by all Makefiles.
SWIG_LIB is explicitly set where necessary.
Allows use of 'make SWIGTOOL="gdb --args"' to work as gdb can't be used
to debug a shell script, for both examples and test-suite.
See issue #473 .
2015-08-18 08:00:01 +01:00
William S Fulton
023b0186f0
Fix R out-of-source build examples
2015-08-13 06:48:17 +01:00
Ian Lance Taylor
c6b3088e58
[Go] Add Makefile testing support for changes in upcoming Go 1.5 release.
...
No effect on the SWIG program itself.
2015-06-19 14:29:38 -07:00
William S Fulton
0f94ea9208
Example and test-suite makefile tidy up
...
Python output is less verbose if pep8 is not available (tweaks for patch #416 )
2015-05-11 00:09:40 +01:00
Jon Schlueter
ae8554bb4c
Add pep8 check for Examples/python
...
build step as part of build process for make check-python-examples
warnings from pep8 are not treated as failures.
using same initial ignore list as used for test-suite pep8
2015-05-08 08:46:06 -04:00
William S Fulton
3d61e84be6
Add CSHARPOPTIONS for users to customise C# compiler flags
2015-04-04 02:17:57 +01:00
Olly Betts
226b4dec5b
Probe for camlp4 in configure
...
See issue #364 .
2015-03-25 12:44:05 +13:00
Simon Marchetto
cfebdc36af
scilab: compile examples & test-suite with debug infos
2015-03-24 16:52:18 +01:00
Ian Lance Taylor
4c399718d0
[Go] Add -I $(SRCDIR) to CGO_CPPFLAGS.
2015-03-09 10:06:04 -07:00
Ian Lance Taylor
b1311b0d88
[Go] Use -I ../../.. instead of -I $(pwd) to see if this helps with
...
Travis. (Travis is reporting failures that I can not recreate.)
2015-03-08 20:30:47 -07:00
Ian Lance Taylor
9ad497c08e
[Go] Add -cgo option, required for Go version 1.5 and later.
2015-03-02 14:03:33 -08:00
Ian Lance Taylor
40f5b1ecc6
[Go] Fixes so that the go_subdir_import test will work with gccgo.
2015-02-22 11:01:24 -08:00
Misha Seltzer
beed5f3479
Changed to using $() instead of ${} in the makefile for consistancy
2015-02-17 10:27:45 +02:00
Misha Seltzer
9e2c75c2a8
Fix running tests when the test build outputs are generated in a different folder. (Fixes Travis' test runs).
2015-02-17 10:27:45 +02:00
Misha Seltzer
8da4d20308
Fixed SWIG go for cases when SWIG %import-s another package which is located in a subdirectory.
2015-02-17 10:27:45 +02:00
William S Fulton
c84838fded
Correct Examples makefile for guile
...
C++ testcases were not rebuilding
2015-02-11 19:49:21 +00:00
Simon Marchetto
0544765abd
remove -nobuilder option
2015-01-26 12:29:40 +01:00
Simon Marchetto
adc4b788df
Merge remote-tracking branch 'origin/master' into gsoc2012-scilab
...
Conflicts:
.gitignore
.travis.yml
configure.ac
2015-01-26 10:50:20 +01:00
William S Fulton
253c6e1163
Scilab makefile tidyup
2015-01-19 07:52:38 +00:00
William S Fulton
fb94b312e0
Fix incorrect flags being passed to javac on cygwin/mingw
2015-01-17 23:17:57 +00:00
Simon Marchetto
78705a5175
gateway source is moved into wrapper source
2015-01-07 18:04:29 +01:00
William S Fulton
063aa9e3c5
Revert "Fix D examples clean"
...
This reverts commit c26010eb01 .
2014-12-28 19:14:25 +00:00
William S Fulton
c26010eb01
Fix D examples clean
2014-12-28 17:35:18 +00:00
William S Fulton
2b04d37b94
Tidy up Javascript build system
2014-12-28 16:13:22 +00:00
William S Fulton
d79f11501d
Don't delete checked in files with 'make distclean'
...
Occurs when ruby is not detected.
Fixes #290 .
2014-12-28 15:26:27 +00:00
David Nadlinger
86276568df
D: Fix out-of-source build for examples.
2014-11-06 23:04:36 +01:00
Simon Marchetto
784a901bc4
scilab: fix primitive types test compilation warnings
2014-10-20 17:44:24 +02:00
Simon Marchetto
c0741a7269
scilab: build now examples/tests with standard tools in (no more builder.sce)
2014-10-20 14:57:32 +02:00
William S Fulton
42da040a07
Show mono info in 'make check-csharp-version'
...
For diagnosing configuration of mono runtime
2014-10-14 19:22:25 +01:00
William S Fulton
8128b1e12f
For Android examples, replace hard coded tool names with those detected at configure time.
2014-09-15 19:44:18 +01:00
Simon Marchetto
ef687d801e
scilab: fix C++ examples cleaning
2014-09-15 10:22:42 +02:00
Simon Marchetto
d89f3bde90
scilab: fix Examples Makefile exit code
2014-09-12 12:04:40 +02:00
William S Fulton
2831d891cd
Use CXXSRCS for testing for Scilab like other languages
2014-09-02 20:12:19 +01:00
William S Fulton
a022dc44cd
Add RUNPIPE back in for Scilab examples
2014-09-01 19:46:56 +01:00