Codebase list pspp / 2ca12d7
Import Debian changes 0.7.9+git20120620-1.1 pspp (0.7.9+git20120620-1.1) unstable; urgency=low * Non-maintainer upload. * debian/patches/699263: Add patch from upstream to fix test suite failures. Since the default epoch depends on the current year, the test suite broke on January 1, 2013. The patch adds the epoch to the test suite. (Closes: #699263) Sebastian Ramacher authored 11 years ago Andreas Tille committed 5 years ago
3 changed file(s) with 41 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 pspp (0.7.9+git20120620-1.1) unstable; urgency=low
1
2 * Non-maintainer upload.
3 * debian/patches/699263: Add patch from upstream to fix test suite failures.
4 Since the default epoch depends on the current year, the test suite broke
5 on January 1, 2013. The patch adds the epoch to the test suite. (Closes:
6 #699263)
7
8 -- Sebastian Ramacher <sramacher@debian.org> Tue, 05 Feb 2013 00:25:38 +0100
9
010 pspp (0.7.9+git20120620-1) unstable; urgency=low
111
212 * New upstream snapshot, fixes non-ASCII import issue (Closes: #676371).
0 Description: Fix dependency on current year in tests.
1 The tests for expressions broke on Jan 1, 2013 because the default epoch
2 depends on the current year. This commit fixes the tests by setting a
3 fixed epoch for dates.
4 Last-Update: 2013-02-04
5 Origin: upstream,
6 http://git.savannah.gnu.org/gitweb/?p=pspp.git;a=commit;h=65a665dc6
7 Bug-Debian: http://bugs.debian.org/699263
8
9 ---
10 tests/language/expressions/evaluate.at | 3 ++-
11 1 files changed, 2 insertions(+), 1 deletions(-)
12
13 --- a/tests/language/expressions/evaluate.at
14 +++ b/tests/language/expressions/evaluate.at
15 @@ -3,12 +3,13 @@
16 AT_DATA([evaluate.sps],
17 [set mxwarn 1000.
18 set mxerr 1000.
19 +set epoch 1940.
20 m4_foreach([check], [m4_shift($@)],
21 [DEBUG EVALUATE NOOPT m4_argn(4, check)/[]m4_car(check).
22 DEBUG EVALUATE m4_argn(4, check)/[]m4_car(check).
23 ])])
24 AT_CAPTURE_FILE([evaluate.sps])
25 - m4_pushdef([i], [2])
26 + m4_pushdef([i], [3])
27 AT_CHECK([pspp --testing-mode --error-file=- --no-output evaluate.sps],
28 [m4_if(m4_bregexp([m4_foreach([check], [m4_shift($@)], [m4_argn(3, check)])], [error:]), [-1], [0], [1])],
29 [stdout])
00 fix_paths_in_manpage
1 699263