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
f2d4e2ea0d
Display Rout file when R test case fails
...
To aid debugging
2016-05-08 00:08:10 +01:00
William S Fulton
63e2f636de
Testcase fix for R
...
Workaround bug in R when a method with default arguments end in 'get'
2016-05-07 19:30:13 +01:00
William S Fulton
15ebf3df03
Fix assertion handling defaultargs
...
Occurs when using %extend for a template class and the extended methods
contain default arguments.
Closes #611
2016-05-07 12:33:29 +01:00
William S Fulton
5e6ab1d61d
Merge branch 'ejulien-python_operator_overload_test_suite'
...
* ejulien-python_operator_overload_test_suite:
Add __str__ to operator_overload testcase for python builtin
Python operator_overload runtime testcase cleanup
Work around a limitation of the Python binding generator related to the += family of operators.
Fix Python 3 division member operator when -builtin is not used.
Fix class member division operator.
Remove the PY3BUILTIN switch as its behavior can be achieved with the existing SWIG_FEATURES=-builtin switch.
Implement the operator overload test suite for Python.
Conflicts:
Examples/test-suite/operator_overload.i
2016-05-05 23:01:35 +01:00
William S Fulton
e7f9a3e8f4
Add __str__ to operator_overload testcase for python builtin
...
Just for debugging the testcase with -builtin
2016-05-05 21:10:52 +01:00
William S Fulton
a09ef99606
Python operator_overload runtime testcase cleanup
...
Remove C test code comment ... this code is in operator_overload.i already
2016-05-05 20:28:22 +01:00
Vadim Zeitlin
b97612f1d6
Make check-failing-test make macro more hygienic
...
Minor fix to avoid using the variable defined outside of the macro in its
expansion.
See #665 .
2016-05-03 17:23:25 +02:00
William S Fulton
3efdbc8f2e
Don't issue unnecessary base class ignored message
...
Don't warn about base class being ignored when the derived class is
itself ignored.
Closes #669
2016-05-02 22:50:09 +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
cc15fcebd0
Fix java testcase for jdk-1.9
...
Package.getName() returns an empty string instead of null in jdk-1.9
exposing bug in use of replaceAll whose 1st arg is a regex expression.
2016-05-01 16:32:15 +01:00
William S Fulton
e952a19a3d
Fix examples for lua 5.3
2016-05-01 11:52:02 +01:00
Vadim Zeitlin
9a7114cc38
Add check-failing target to check that failing tests still do fail
...
This is useful to remove the tests which pass after the latest fixes from the
list of the failing tests.
2016-04-20 19:55:29 +02:00
Vadim Zeitlin
3aafd9373f
Merge branch 'allow-failing-tests'
...
Closes #661 .
2016-04-20 01:52:32 +02:00
Vadim Zeitlin
4f222aa78e
Show the number of passed tests in "make check"
...
This is especially useful when some tests are disabled by using
FAILING_XXX_TESTS variables.
2016-04-20 01:52:22 +02:00
Ian Lance Taylor
0f54384ee3
[Go] Fix use of goout typemap when calling base method by
...
forcing the "type" attribute to the value we need.
2016-04-18 15:30:06 -07:00
Vadim Zeitlin
79b665f9ff
Add a possibility to disable failing test cases
...
Allow defining FAILING_{C,CPP,MULTI_CPP}_TESTS variables to exclude some tests
from the unit tests suite. This is useful to disable tests failing for some
language only.
2016-04-18 20:51:30 +02:00
Ian Lance Taylor
223c2a4835
[Go] Fixes for Go 1.6: avoid returning Go pointers from
...
directors that return string values; add a trailing 0 byte
when treating Go string as C char*.
2016-04-17 17:52:09 -07:00
Mike Romberg
32304449f9
disable namespace package build
2016-04-05 11:10:04 -06:00
Mike Romberg
6f1c0e3725
Attempt to calm the testing gods...
2016-04-05 11:10:03 -06:00
Mike Romberg
b6c93a14e4
use whatever name winders uses for .so files.
2016-04-05 11:09:14 -06:00
Mike Romberg
0a81b76b31
Examples (and tests) for python namespace packages
2016-04-05 11:06:02 -06:00
Mike Romberg
70a2a11f29
disable namespace package build
2016-04-05 10:58:51 -06:00
Mike Romberg
6f4aa4faf5
spelling
2016-04-05 10:58:50 -06:00
Mike Romberg
ce04d0cdf3
Attempt to calm the testing gods...
2016-04-05 10:58:50 -06:00
Mike Romberg
afc91fe923
use whatever name winders uses for .so files.
2016-04-05 10:58:50 -06:00
Mike Romberg
c0cc731ca8
Don't run example for old pythons
2016-04-05 10:58:50 -06:00
Mike Romberg
ba158e7919
Examples (and tests) for python namespace packages
2016-04-05 10:58:50 -06:00
Richard Beare
f7b794a4f3
run test and copying typemaps to std::string
2016-04-05 10:06:42 +10:00
William S Fulton
a97441613e
Merge branch 'ahnolds-py_gettar'
...
* ahnolds-py_gettar:
update changes file for attribute fix
Add python AttributeError test for non-existent attribute
Fixing python attribute lookup
Conflicts:
CHANGES.current
2016-04-02 18:06:03 +01:00
William S Fulton
333a46f07d
Add python AttributeError test for non-existent attribute
2016-04-02 18:03:08 +01:00
William S Fulton
bbd1b8ed05
Add tests for Python -builtin -O and compactdefaultargs and update changes file
2016-04-02 11:29:54 +01:00
William S Fulton
1d62790928
Fix assertion for some languages when wrapping a C++11 enum class that is private in a class.
...
Also don't wrap private enums for a few languages that attempted to do so.
Closes #594 .
2016-03-31 20:27:36 +01:00
William S Fulton
a15bbbaee5
Java - unsigned long long marshalling improvements for negative numbers
...
Affects marshalling of negative numbers from Java to C only.
A cast to signed long long in the C layer will now result in the expected value.
Closes #623 .
2016-03-31 18:56:32 +01:00
William S Fulton
896a0f1f31
Merge branch 'ptomulik-fix/nonclass-constants'
...
* ptomulik-fix/nonclass-constants:
fix handling of function pointers by %constant directive
2016-03-24 19:24:02 +00:00
Paweł Tomulik
174523aa80
fix handling of function pointers by %constant directive
2016-03-24 11:22:51 +01:00
Paweł Tomulik
350d43d988
handle const pointers to functions
2016-03-24 10:59:23 +01:00
William S Fulton
d98f7050a0
Merge branch 'alexwarg-fix-lua-getitem'
...
* alexwarg-fix-lua-getitem:
Add test case for Lua __getitem + inheritance
Fix lua base class methods with __getitem
2016-03-22 20:44:12 +00: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
9d4a4439da
Revert "scilab: runtime initialization needed in examples"
...
This reverts commit 54b84b8fa1 .
2016-03-18 08:56:23 +00:00
William S Fulton
5cd0678a4c
Scilab test-suite warning suppression
2016-03-17 19:43:12 +00:00
Alexander Warg
be907f96e0
Add test case for Lua __getitem + inheritance
2016-03-17 07:48:01 +01:00
joequant
6212800fe3
Merge pull request #636 from richardbeare/RExtraStdVectorNumericTypes
...
R extra std vector numeric types
2016-03-16 18:55:58 +08:00
Richard Beare
351e21bd4a
Added a run test for vector types. Tests creation of a std::vector
...
from and R vector and transparent conversion of the result.
2016-03-15 12:15:29 +11:00
Richard Beare
5c2cd32795
Corrected the testing in unittest so that all elements of
...
a vector result are checked. Previously it was just the first
element.
2016-03-15 12:14:20 +11:00
William S Fulton
5a4291911e
Correct Java runtime test
2016-03-14 20:54:21 +00:00
William S Fulton
870b814f5e
Add C++11 std::array container support for Java
2016-03-14 20:46:56 +00:00
William S Fulton
f119602447
clang illegal character encoding warning fixes in tests
2016-03-13 15:44:10 +00:00
William S Fulton
ac495d5c66
Merge branch 'char-escaping'
...
* char-escaping:
Add missing string_constant.i testcase
changes file update for char wrappers
C# char wrappers fixes for enum values, static const member char values and %csconst
D testing added for %dmanifestconst and char constants
Fix wrapping D constants using %dmanifestconst
Php fix for enum value of '\0'
Fix static const char member variables wrappers with %javaconst(1).
Expand char testing in enums and %constant
Java char changes file update
Java enum and static member variable escaping fix for chars
Add tests for enum values and static const member variables chars containing escape sequences
Minor documentation tweak
Conflicts:
CHANGES.current
2016-03-12 23:27:51 +00:00
William S Fulton
c985dd8bd1
Add missing string_constant.i testcase
2016-03-12 23:26:23 +00:00