William S Fulton
67190cbb2e
Add import_fragment test back in to Go test-suite
2017-06-16 19:24:22 +01:00
William S Fulton
b08d6ddbad
Temporarily disable failing tests
2017-06-06 07:14:18 +01:00
William S Fulton
67edda3bf5
Remove unused cvsignore target
2017-03-10 23:25:31 +00:00
Alec Cooper
14178be139
Fail if nocgo version fails
2016-01-23 16:17:33 -05:00
Alec Cooper
bec00500d6
Handle weak linking on OSX
...
If symbol is not defined at link time (even if it's weak/weak_import), the
linker must explicitly be told that's ok.
2016-01-23 16:16:00 -05:00
William S Fulton
ca64b06229
Consistent quoting in Makefile
2015-08-21 22:48:34 +01:00
William S Fulton
e00a8026a6
More remove SWIG_LIB variable
2015-08-21 22:48:34 +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
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
fcf2b68e84
Fixed errors due to last sync.
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
Ian Lance Taylor
1addbb46a8
[Go] Add imtype, goin, goout, godirectorin, and godirectorout
...
typemaps, to support writing Go code to convert between types.
2014-09-05 17:54:19 -07:00
Karl Wette
32212d5cc0
Fully clean Go test-suite
2014-05-29 02:24:33 +02:00
William S Fulton
2b5499a262
Slight simplification of test-suite build for new out-of-source changes
...
Provide default SRCDIR and SCRIPTDIR variables in common.mk and override
only where needed.
2014-05-15 23:11:07 +01:00
Karl Wette
f574a34155
Allow examples and test-suite to be built out of source tree
...
- Examples/Makefile.in rules use SRCDIR as the relative source directory
- ./config.status replicates Examples/ source directory tree in build
directory, and copies each Makefile to build directory, prefixed with
a header which sets SRCDIR to source directory
- Examples/test-suite/.../Makefile.in set SRCDIR from Autoconf-set srcdir
- Examples/test-suite/errors/Makefile.in needs to filter out source
directory from SWIG error messages
- Lua: embedded interpreters are passed location of run-time test
- Python: copy run-time scripts to build directory because of 2to3
conversion; import_packages example copies __init__.py from source
directory; test-suite sets SCRIPTDIR to location of run-time tests
- Javascript: binding.gyp renamed to binding.gyp.in so that $srcdir
can be substituted with SRCDIR; removed './' from require() statements
so that NODE_PATH can be used to point Node.js to build directory
2014-05-11 23:21:10 +02:00
Karl Wette
d5b765d388
Whitespace cleanup of all Makefiles*
...
- some of the %.clean rules in the test-suite Makefiles were using a single tab
as an empty rule, dangerous! I've replaced these with the safer '@exit 0'.
2014-05-02 20:06:11 +02:00
Ian Lance Taylor
3785454a87
[Go] Add support for Go 1.3, not yet released.
2014-01-21 11:18:55 -08:00
Ian Lance Taylor
8dba8b1fde
Go: Don't require that Go environment variables be set when running
...
examples or testsuite.
2013-12-18 11:03:39 -08:00
Ian Lance Taylor
1dca0af024
Update for Go 1.2 release. Add support for linking SWIG code directly
...
into executable, rather than using a shared library.
2013-12-16 19:50:17 -08: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
Ian Lance Taylor
2970f53c21
Remove the -rename option in the Go language support. Do a much
...
better job of checking for name conflicts. Ignore conflicting names
with a warning. Adjust the testsuite accordingly.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12135 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-17 18:59:26 +00:00
William S Fulton
96d86b0fec
Fix 'make partialcheck' for go
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12123 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-14 19:08:11 +00:00
William S Fulton
92f5c379b8
Fix 6g/8g detection
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12116 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-11 06:29:32 +00:00
Ian Lance Taylor
5af2978f77
Add support for the Go programming language.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12108 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-10 01:13:31 +00:00