Commit c3dcd856 authored by Torsten Landschoff's avatar Torsten Landschoff

Introduced the first autopkgtest for SWIG, checking the bug #768280.

parent a18cc96c
swig (3.0.2-2) unstable; urgency=low
* Introduced the first autopkgtest for SWIG, checking the bug #768280.
-- Torsten Landschoff <torsten@debian.org> Sun, 15 Feb 2015 20:47:25 +0100
swig (3.0.2-1) unstable; urgency=medium
* New upstream release.
......
......@@ -11,17 +11,14 @@ Build-Depends: dpkg-dev (>= 1.16.1~),
debhelper (>= 7.0),
dh-autoreconf,
default-jdk [!hppa !mips !mipsel !alpha !arm !hurd-i386],
guile-2.0-dev,
libchicken-dev [!m68k !mips !mipsel],
libperl-dev,
libpcre3-dev,
php5-cgi,
php5-dev,
python-dev,
ruby,
ruby-dev,
tcl-dev,
tk-dev
XS-Testsuite: autopkgtest
Package: swig3.0
Architecture: any
......
Tests: flatnested-crash
Depends: swig3.0
#! /bin/sh
# Regression test for https://bugs.debian.org/768280
set -e
cat <<-'EOF' > nested_scope.i
%module nested_scope
%feature ("flatnested");
%inline %{
class Outer1 {
struct Nested1;
public:
struct Nested2;
};
struct Outer1::Nested2 {
int data;
};
%}
EOF
swig3.0 -version
swig3.0 -c++ -python nested_scope.i
echo "Wrapping for Python: okay"
swig3.0 -c++ -ruby nested_scope.i
echo "Wrapping for Ruby: okay"
swig3.0 -c++ -tcl nested_scope.i
echo "Wrapping for Tcl: okay"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment