Commit graph

2,845 commits

Author SHA1 Message Date
Geert Janssens
7dfe4a0653 Make guile test suite default to scm api
In other words guilescm becomes guile.
Deprecated gh api tests are moved to guilegh.
2013-04-28 22:06:21 +02:00
William S Fulton
52858d5353 Fix boost intrusive_ptr testcase compilation with latest boost/gcc 2013-04-27 18:40:57 +01:00
William S Fulton
bdf98744b1 Fix guilescm_ext_test and chicken_ext_test testcases 2013-04-23 22:29:52 +01:00
William S Fulton
486eca2faa Disable Ruby free_function test for now.
It is failing in Travis builds with 'ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-linux]' but okay with 'ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]'.

Relying on timely Garbage collection is probably flawed anyway.
2013-04-21 18:24:37 +01: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
9f95e30650 Fix PHP test-suite running examples recently broken in 0fa791d 2013-04-20 02:51:57 +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
62638bfd15 Pike - a few updates to get Pike 7.8 running most of the examples 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
13b66c997e Guile example makefiles - run some of the examples in the check target.
Still some are missing. Add some missing examples to check.list.
2013-04-20 02:27:57 +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
ceb5c59c8d XML 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
a6e2ee8580 Modula3 makefiles tweaks for consistency with other languages - they still don't work though 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
19975300c7 Tidy up android example makefiles and fix clean target 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
dbd86d3747 Ruby example not working when run - needs fixing/checking 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
439a353a36 Document patch #33 from previous commit and complete run time tests 2013-04-18 23:20:48 +01:00
Jesus Lopez
9be3235988 Support $descriptor() macro in fragments
Closes #36
2013-04-18 23:04:07 +01:00
William S Fulton
857e447654 Fix syntax error when preprocessor macros are defined inside of enum lists
Fixes SF Bug 428, Patch 333
2013-04-18 22:48:42 +01:00
Brant K. Kyser
25eaee49f3 Add check for smart pointer type in generated code for director connection. This fixes a crash in the generated code caused by the dynamic_cast returning 0 because the specified types are incorrect for smart pointer types.
Add runtime test to the C# test suite's director smartptr test that demonstrates crash in generated code when directors are used with smart pointer types.

Closes #34
2013-04-17 21:55:11 +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
William S Fulton
1fce0bd2b4 Workaround to Octave seg fault on exit in imports testcase only seems to work in 3.1, not 3.2. Just ignore test now 2013-04-08 21:48:09 +01:00
William S Fulton
dd2cd0298c Work around Octave seg fault on exit in imports testcase on Octave 3.1 and 3.2 2013-04-08 18:32:33 +01:00
William S Fulton
65b917dabb Some test-suite warning fixes 2013-04-06 16:19:17 -07:00
William S Fulton
5d529d5a76 Ruby 1.9 fixes.
SF Bug#1292 - Runtime fixes for Proc changes in ruby-1.9 when using STL wrappers that override the default predicate, such as:

  %template(Map) std::map<swig::LANGUAGE_OBJ, swig::LANGUAGE_OBJ, swig::BinaryPredicate<> >;

Fixes li_std_functors testcases for Ruby 1.9.

Also rb_respond_to return values have changed subtely in 1.9 and return should be treated as a flag instead of checking for Qtrue, see SF Bug #1159.

Also fix li_std_map, li_std_set silently failing - rb_protect behaviour seems to have changed when an exception is thrown, so code has been changed to use rb_rescue. A call to 'rb_set_errinfo(Qnil)' could have solved this after the rb_protect call, but it is only available in 1.9+ and Ruby API changes are not easily and transparently detectable.
2013-04-05 23:41:59 +01:00
William S Fulton
ee92a26819 Fixes for out of source builds for Ruby test-suite 2013-04-02 22:21:48 +01:00
William S Fulton
8801ea3f11 Fix incorrect assumptions in Ruby li_std_set test 2013-03-31 00:21:12 +00:00
William S Fulton
5878ca5f1a Fix autodoc test for python 2.4 2013-03-29 09:20:17 +00:00