Commit graph

169 commits

Author SHA1 Message Date
William S Fulton
af8f77a627 Fix to ensure 2to3 for Python 3 examples is run 2013-05-27 00:27:31 +01:00
William S Fulton
dd36f28ac7 Migrate Guile examples build into common Examples makefile
- Now Guile examples are built in a consistent way to other target
languages.
- Also set GUILE_AUTO_COMPILE=0 to remove auto-compilation is enabled
  warnings
2013-05-09 19:28:09 +01:00
William S Fulton
d974e9aced Guile examples consistency changes
Use new guile_embedded_run target or guile_run target for running the
examples like the other target languages (for suppressing stdout if run
from top level).

Consistency with other target language file renames: use runme.scm for
scripts and example.i, example.c for example code.

Add class example to examples being tested.
2013-05-09 18:35:18 +01:00
William S Fulton
7964ebe34f Tidy up pike version display 2013-05-08 17:36:03 +01:00
William S Fulton
cd4c1d3c3f Tidy up target language versions display 2013-05-08 16:48:27 +01:00
William S Fulton
10acae18d2 Correct Guile Makefile to fix test-suite/examples on Cygwin 2013-05-08 13:05:11 +01:00
William S Fulton
7d29f88641 Cosmetic on unknown javac version display 2013-05-03 19:55:41 +01:00
William S Fulton
5690323b8f Rework perl5 compiler and linker flags
This fixes perl on cygwin. Probably on other platforms too.
2013-05-03 19:39:11 +01:00
Geert Janssens
7297f5aa51 Don't use obsolete -scm option in own makefiles 2013-04-28 22:38:20 +02:00
Geert Janssens
b819d2a91e Drop guilegh interface
All of guile's interface files now use the scm interface.
This should not affect any users. Swig generated code
using the scm interface can be mixed with gh interface
using user code.
It does simplify maintenance of the guile swig code though.
2013-04-28 22:06:24 +02:00
Geert Janssens
b072f22930 Add support for guile 2.0: configure and makefiles.
Note: guile-config is badly broken for guile 2. So
the guile configure  section has been rewritten to
use pkg-config instead.

Manually resolved conflicts:
	Examples/Makefile.in
2013-04-28 22:06:22 +02:00
William S Fulton
205d50a8c9 Ruby 1.9 fixes: use ruby -I in Makefile and workaround clash with 1.9 builtin Complex numbers in the operator example. 2013-04-21 14:05:56 +01:00
William S Fulton
58a59919dd Chicken - make check-examples run like other examples - not all run very well though! 2013-04-20 02:28:48 +01:00
William S Fulton
2b2305cce9 Mzscheme - fix for running examples during 'make check-examples' - they don't run very well though\! 2013-04-20 02:28:48 +01:00
William S Fulton
7fd18b361e Ocaml example makefiles - run examples - there are plenty of problems currently though 2013-04-20 02:28:48 +01:00
William S Fulton
ea84fe6445 Allegrocl, clisp, cffi, uffi makefile targets added for running examples - untested. 2013-04-19 22:47:29 +01:00
William S Fulton
e3d0947058 D example makefiles tweaks for consistency with other languages. 2013-04-19 22:47:29 +01:00
William S Fulton
9a6167822b Pike example makefiles tweaks for consistency with other languages. Attempt to add runtime tests to 'make check' - untested. 2013-04-19 22:47:29 +01:00
William S Fulton
280cd16b7e Ocaml example makefiles tweaks for consistency with other languages. Attempt to add runtime tests to 'make check' - untested. 2013-04-19 22:47:28 +01:00
William S Fulton
238554fe61 Mzscheme example makefiles tweaks for consistency with other languages. Attempt to add runtime tests to 'make check' - untested. 2013-04-19 22:47:28 +01:00
William S Fulton
2e48e5b852 Guile example makefiles tweaks for consistency with other languages. 'make check' still incomplete. 2013-04-19 22:47:28 +01:00
William S Fulton
897b2361cb Chicken makefiles tweaks for consistency with other languages - still more to be done though 2013-04-19 22:47:28 +01:00
William S Fulton
24c28b061e Add in make -s (silent) detection and keep Android builds quiet when run from top level makefile
Fix parallel make for Android example makefiles
2013-04-19 22:47:27 +01:00
William S Fulton
1d77a1b981 Android makefiles rewrite to use common code 2013-04-19 22:47:27 +01:00
William S Fulton
6a48eb5e47 Lua examples now run during 'make check' and makefile tidyup. 2013-04-19 22:47:27 +01:00
William S Fulton
3489d0db32 Tcl examples now run during 'make check' and makefile tidyup. 2013-04-19 22:47:27 +01:00
William S Fulton
bdf38a8507 Ruby examples makefiles and use RUNPIPE and tidyup 2013-04-19 22:47:26 +01:00
William S Fulton
bfb695c512 R examples makefile tidyup 2013-04-19 22:47:26 +01:00
William S Fulton
cc4ac0a9e9 Python examples makefiles clean target fixed and use RUNPIPE and tidyup 2013-04-19 22:47:26 +01:00
William S Fulton
0fa791d1ea PHP examples makefiles clean target fixed and use RUNPIPE and tidyup 2013-04-19 22:47:26 +01:00
William S Fulton
92ffedceb5 Perl examples makefiles clean target fixed and use RUNPIPE and tidyup 2013-04-19 22:47:26 +01:00
William S Fulton
14a89fac86 Octave examples clean target fixed and makefiles use new RUNPIPE and general consistency tidyup 2013-04-19 22:47:25 +01:00
William S Fulton
6acfda55d1 Go examples makefiles clean target fixed and use RUNPIPE and tidyup 2013-04-19 22:47:25 +01:00
William S Fulton
760c398c49 Run csharp examples during 'make check-examples' 2013-04-19 22:28:03 +01:00
William S Fulton
8713199267 Move javac compile for examples into common Makefile for examples 2013-04-19 22:28:03 +01:00
William S Fulton
05adcee56f Run java examples during 'make check-examples' 2013-04-19 22:28:02 +01:00
William S Fulton
635a90c91c Add RUNPIPE in makefiles - a generic mechanism for suppressing stdout when running the examples - the idea is to run 'make check-examples' which runs the examples but suppresses the output except for errors. Initial implementation for Java. 2013-04-19 22:28:02 +01:00
William S Fulton
970c72b6da make check-csharp-version fix for MS compiler 2013-04-09 22:52:54 +01:00
William S Fulton
3e26318427 Add target language version display during make check. Individual language versions can be checked using 'make check-<lang>-version'. 2013-04-09 19:52:40 +01:00
Paweł Tomulik
9d0d59ead7 remove __pycache__ directories when cleaning python test cases 2013-01-06 16:55:38 +01:00
Karl Wette
18ef95083d octave: prevent writing to history file when running tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13942 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-11-28 20:23:17 +00:00
Ian Lance Taylor
a42882dcee Adjust for change in the size of the Go type int. Until some time in
the future, require a -intgosize option when invoking SWIG.  Otherwise
there is no reliable way for us to know the size of int, and we need
to know.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-10-05 04:58:00 +00:00
Joseph Wang
b9570501aa Call gcc for C in R
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13720 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-26 02:09:53 +00:00
Karl Wette
daffde6c28 Updated Octave module_load examples for new module loading
- Module compiled twice to check '-globals .' behaviour
- Only one runme.m needed since clearing modules should
  now be safe for all Octave versions.
- Tests new module loading syntax and behaviour

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-14 09:24:34 +00:00
Karl Wette
e4a92ee692 Link Octave tests and examples against Octave libraries
- Tests for bugs associated with loading .oct modules

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13083 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-14 09:23:06 +00:00
William S Fulton
442422fee0 Remove annoying echo of compiler invocation by R CMD SHLIB
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12987 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-14 22:57:48 +00:00
Ian Lance Taylor
911ee91de1 Add support for go tool used in Go 1.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12923 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-14 22:12:45 +00:00
Joseph Wang
99f94cc0d2 change Makefile.in to compile class outside of R build system so
that we get in the -fPIC


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12918 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-13 14:37:29 +00:00
Xavier Delacour
005bc89482 Fix OCTAVE_PATH in octave Makefiles (from Karl Wette)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12910 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-02-27 17:08:14 +00:00
Olly Betts
07c97f8742 Fix comment typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12862 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-03 21:49:44 +00:00