Package: check Version: 0.9.10-5 Severity: important User: multiarch-de...@lists.alioth.debian.org Usertags: multiarch
Package check_0.9.10-5 is marked as "Multi-Arch: same" but the file usr/share/info/check.info.gz differs between architectures. Undetermined build tool is generating this file with differing timestamps between architectures. Diffs between amd64 and i386 is attached. Jenny
jenny@ergates:~/debiandevel/currentbuilds/check$ diff -ur amd64/ i386/ diff -ur amd64/usr/share/info/check.info i386/usr/share/info/check.info --- amd64/usr/share/info/check.info 2013-08-17 20:27:24.000000000 +0100 +++ i386/usr/share/info/check.info 2013-08-17 20:48:45.000000000 +0100 @@ -454,8 +454,8 @@ Here are the changes to 'check_money.c' for our first unit test: - --- tests/check_money.1.c 2013-06-29 15:21:33.313821647 +0200 - +++ tests/check_money.2.c 2013-06-29 15:21:33.313821647 +0200 + --- tests/check_money.1.c 2013-04-18 10:19:01.000000000 +0000 + +++ tests/check_money.2.c 2013-04-18 10:19:01.000000000 +0000 @@ -1,5 +1,18 @@ +#include <check.h> +#include "../src/money.h" @@ -536,8 +536,8 @@ We will patch our header 'money.h' as follows: - --- src/money.1.h 2013-06-29 15:21:33.313821647 +0200 - +++ src/money.2.h 2013-06-29 15:21:33.313821647 +0200 + --- src/money.1.h 2013-04-18 10:19:01.000000000 +0000 + +++ src/money.2.h 2013-04-18 10:19:01.000000000 +0000 @@ -1,4 +1,11 @@ #ifndef MONEY_H #define MONEY_H @@ -568,8 +568,8 @@ of 'check_money.c'. Note that we include stdlib.h to get the definitions of 'EXIT_SUCCESS' and 'EXIT_FAILURE'. - --- tests/check_money.2.c 2013-06-29 15:21:33.313821647 +0200 - +++ tests/check_money.3.c 2013-06-29 15:21:33.313821647 +0200 + --- tests/check_money.2.c 2013-04-18 10:19:01.000000000 +0000 + +++ tests/check_money.3.c 2013-04-18 10:19:01.000000000 +0000 @@ -1,18 +1,38 @@ +#include <stdlib.h> #include <check.h> @@ -646,8 +646,8 @@ fastest solution possible and implement stubs for each of the functions in 'money.c'. Here is the diff: - --- src/money.1.c 2013-06-29 15:21:33.313821647 +0200 - +++ src/money.3.c 2013-06-29 15:21:33.313821647 +0200 + --- src/money.1.c 2013-04-18 10:19:01.000000000 +0000 + +++ src/money.3.c 2013-04-18 10:19:01.000000000 +0000 @@ -0,0 +1,26 @@ +#include <stdlib.h> +#include "money.h" @@ -773,8 +773,8 @@ tests. We first have to create a Money structure to hold the amount, and then implement the function to return the correct amount: - --- src/money.3.c 2013-06-29 15:21:33.313821647 +0200 - +++ src/money.4.c 2013-06-29 15:21:33.313821647 +0200 + --- src/money.3.c 2013-04-18 10:19:01.000000000 +0000 + +++ src/money.4.c 2013-04-18 10:19:01.000000000 +0000 @@ -1,26 +1,31 @@ #include <stdlib.h> #include "money.h" @@ -836,8 +836,8 @@ that, the symmetric 'money_free()', and 'money_currency()' too, in order to make our unit test pass again, here is a diff: - --- src/money.4.c 2013-06-29 15:21:33.313821647 +0200 - +++ src/money.5.c 2013-06-29 15:21:33.313821647 +0200 + --- src/money.4.c 2013-04-18 10:19:01.000000000 +0000 + +++ src/money.5.c 2013-04-18 10:19:01.000000000 +0000 @@ -1,31 +1,41 @@ #include <stdlib.h> #include "money.h" @@ -1005,8 +1005,8 @@ 'amount == 0'. Let's put these in a separate test case called "Limits" so that 'money_suite' is changed like so: - --- tests/check_money.3.c 2013-06-29 15:21:33.313821647 +0200 - +++ tests/check_money.6.c 2013-06-29 15:21:33.313821647 +0200 + --- tests/check_money.3.c 2013-04-18 10:19:01.000000000 +0000 + +++ tests/check_money.6.c 2013-04-18 10:19:01.000000000 +0000 @@ -1,38 +1,63 @@ #include <stdlib.h> #include <check.h> @@ -1077,8 +1077,8 @@ "Limits" test case will be reported as "Limits", giving you additional information about where things broke. - --- src/money.5.c 2013-06-29 15:21:33.313821647 +0200 - +++ src/money.6.c 2013-06-29 15:21:33.313821647 +0200 + --- src/money.5.c 2013-04-18 10:19:01.000000000 +0000 + +++ src/money.6.c 2013-04-18 10:19:01.000000000 +0000 @@ -1,41 +1,46 @@ #include <stdlib.h> #include "money.h" @@ -1234,8 +1234,8 @@ named 'setup()' and 'teardown()', but they must take 'void' and return 'void'. We'll update 'check_money.c' with the following patch: - --- tests/check_money.6.c 2013-06-29 15:21:33.313821647 +0200 - +++ tests/check_money.7.c 2013-06-29 15:21:33.313821647 +0200 + --- tests/check_money.6.c 2013-04-18 10:19:01.000000000 +0000 + +++ tests/check_money.7.c 2013-04-18 10:19:01.000000000 +0000 @@ -1,63 +1,75 @@ #include <stdlib.h> #include <check.h>