modify test-suite (barring python atm) to not rely on the -I path to find the input .i file - removes the new warning 125 and sets up the test-suite for testing with ccache. This change required the use of -outcurrentdir and moving the .i files from the language subdirectories to the directory above along with some .i file name changes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10949 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
53f786e5a6
commit
db83e51441
61 changed files with 390 additions and 709 deletions
|
|
@ -2,7 +2,7 @@
|
|||
# Makefile for guile test-suite (with SCM API)
|
||||
#######################################################################
|
||||
|
||||
EXTRA_TEST_CASES += ext_test.externaltest
|
||||
EXTRA_TEST_CASES += guilescm_ext_test.externaltest
|
||||
|
||||
include ../guile/Makefile
|
||||
|
||||
|
|
|
|||
|
|
@ -1,19 +0,0 @@
|
|||
%module ext_test
|
||||
|
||||
/* just use the imports_a.h header... for this test we only need a class */
|
||||
%{
|
||||
#include "imports_a.h"
|
||||
%}
|
||||
|
||||
%include "imports_a.h"
|
||||
|
||||
%{
|
||||
SCM test_create();
|
||||
SCM test_is_pointer(SCM val);
|
||||
%}
|
||||
|
||||
%init %{
|
||||
scm_c_define_gsubr("test-create", 0, 0, 0, (swig_guile_proc) test_create);
|
||||
scm_c_define_gsubr("test-is-pointer", 1, 0, 0, (swig_guile_proc) test_is_pointer);
|
||||
%}
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
(dynamic-call "scm_init_ext_test_module" (dynamic-link "./libext_test.so"))
|
||||
(dynamic-call "scm_init_guilescm_ext_test_module" (dynamic-link "./libguilescm_ext_test.so"))
|
||||
|
||||
; This is a test for SF Bug 1573892
|
||||
; If IsPointer is called before TypeQuery, the test-is-pointer will fail
|
||||
Loading…
Add table
Add a link
Reference in a new issue