[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 02/03: Improve test suite for soname



This is an automated email from the git hooks/post-receive script.

broucaries-guest pushed a commit to branch master
in repository lintian.

commit 76e9f0fcda163da465f8d8cac7bb3741908f6d31
Author: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Date:   Mon Nov 14 14:09:40 2016 +0100

    Improve test suite for soname
    
    Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
---
 t/tests/binaries-doesnt-match-sonames/debian/Makefile    |  2 +-
 .../debian/debian/control.in                             | 16 +++++++++++++---
 .../debian/debian/libany5gcc1v5.install                  |  1 +
 .../debian/debian/libany5gcc1v5.symbols                  |  2 ++
 .../debian/debian/libany6gcc1v6.install                  |  1 +
 .../debian/debian/libany6gcc1v6.symbols                  |  2 ++
 .../debian/debian/libanygcc1v6.install                   |  1 -
 .../debian/debian/libanygcc1v6.symbols                   |  2 --
 8 files changed, 20 insertions(+), 7 deletions(-)

diff --git a/t/tests/binaries-doesnt-match-sonames/debian/Makefile b/t/tests/binaries-doesnt-match-sonames/debian/Makefile
index 78d4852..5e34afc 100644
--- a/t/tests/binaries-doesnt-match-sonames/debian/Makefile
+++ b/t/tests/binaries-doesnt-match-sonames/debian/Makefile
@@ -2,7 +2,7 @@ CC=gcc
 MYCFLAGS=-Wall -Winline -O2 -fPIC
 CFLAGS:=$(MYCFLAGS) $(CPPFLAGS) $(CFLAGS)
 
-SONAMES:= libany.so.1 libanygcc.so.1v6
+SONAMES:= libany.so.1 libany6gcc.so.1v6 libany5gcc.so.1
 LIBFILES:= $(patsubst %,%.0.1, $(SONAMES))
 
 all: $(LIBFILES)
diff --git a/t/tests/binaries-doesnt-match-sonames/debian/debian/control.in b/t/tests/binaries-doesnt-match-sonames/debian/debian/control.in
index f12c14e..df7dfe2 100644
--- a/t/tests/binaries-doesnt-match-sonames/debian/debian/control.in
+++ b/t/tests/binaries-doesnt-match-sonames/debian/debian/control.in
@@ -14,12 +14,22 @@ Description: {$description}
  things.  It should not be installed like a regular package.
 
 
-Package: libanygcc1v6
+Package: libany6gcc1v6
 Architecture: any
 Depends: $\{shlibs:Depends\}, $\{misc:Depends\}
-Description: {$description} with gcc version
+Description: {$description} with gcc 6 version
  This is a test package designed to exercise some feature or tag of
  Lintian.  It is part of the Lintian test suite and may do very odd
  things.  It should not be installed like a regular package.
  .
- It test if v6 string are correctly escaped
\ No newline at end of file
+ It test if v6 string are correctly escaped
+
+Package: libany5gcc1v5
+Architecture: any
+Depends: $\{shlibs:Depends\}, $\{misc:Depends\}
+Description: {$description} with gcc 5 version
+ This is a test package designed to exercise some feature or tag of
+ Lintian.  It is part of the Lintian test suite and may do very odd
+ things.  It should not be installed like a regular package.
+ .
+ It test if v5 string are correctly escaped
\ No newline at end of file
diff --git a/t/tests/binaries-doesnt-match-sonames/debian/debian/libany5gcc1v5.install b/t/tests/binaries-doesnt-match-sonames/debian/debian/libany5gcc1v5.install
new file mode 100644
index 0000000..283bc61
--- /dev/null
+++ b/t/tests/binaries-doesnt-match-sonames/debian/debian/libany5gcc1v5.install
@@ -0,0 +1 @@
+/usr/lib/libany5gcc.*
\ No newline at end of file
diff --git a/t/tests/binaries-doesnt-match-sonames/debian/debian/libany5gcc1v5.symbols b/t/tests/binaries-doesnt-match-sonames/debian/debian/libany5gcc1v5.symbols
new file mode 100644
index 0000000..a394502
--- /dev/null
+++ b/t/tests/binaries-doesnt-match-sonames/debian/debian/libany5gcc1v5.symbols
@@ -0,0 +1,2 @@
+libany5gcc.so.1 libany5gcc1v5 #MINVER#
+ e@Base 1.0
diff --git a/t/tests/binaries-doesnt-match-sonames/debian/debian/libany6gcc1v6.install b/t/tests/binaries-doesnt-match-sonames/debian/debian/libany6gcc1v6.install
new file mode 100644
index 0000000..9485e87
--- /dev/null
+++ b/t/tests/binaries-doesnt-match-sonames/debian/debian/libany6gcc1v6.install
@@ -0,0 +1 @@
+/usr/lib/libany6gcc.*
\ No newline at end of file
diff --git a/t/tests/binaries-doesnt-match-sonames/debian/debian/libany6gcc1v6.symbols b/t/tests/binaries-doesnt-match-sonames/debian/debian/libany6gcc1v6.symbols
new file mode 100644
index 0000000..aee5f00
--- /dev/null
+++ b/t/tests/binaries-doesnt-match-sonames/debian/debian/libany6gcc1v6.symbols
@@ -0,0 +1,2 @@
+libany6gcc.so.1v6 libany6gcc1v6 #MINVER#
+ e@Base 1.0
diff --git a/t/tests/binaries-doesnt-match-sonames/debian/debian/libanygcc1v6.install b/t/tests/binaries-doesnt-match-sonames/debian/debian/libanygcc1v6.install
deleted file mode 100644
index 6873a48..0000000
--- a/t/tests/binaries-doesnt-match-sonames/debian/debian/libanygcc1v6.install
+++ /dev/null
@@ -1 +0,0 @@
-/usr/lib/libanygcc.*
\ No newline at end of file
diff --git a/t/tests/binaries-doesnt-match-sonames/debian/debian/libanygcc1v6.symbols b/t/tests/binaries-doesnt-match-sonames/debian/debian/libanygcc1v6.symbols
deleted file mode 100644
index f102bd2..0000000
--- a/t/tests/binaries-doesnt-match-sonames/debian/debian/libanygcc1v6.symbols
+++ /dev/null
@@ -1,2 +0,0 @@
-libanygcc.so.1v6 libanygcc1v6 #MINVER#
- e@Base 1.0

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: