1 |
commit: d4f9cf472e99ff8983f73a4f093fd8c7efe7611b |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 15 09:23:16 2018 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 15 09:23:16 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4f9cf47 |
7 |
|
8 |
dev-scheme/gauche-qdbm: fix tests |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
dev-scheme/gauche-qdbm/files/gauche-qdbm-test.patch | 13 +++++++++++++ |
13 |
dev-scheme/gauche-qdbm/gauche-qdbm-0.2-r1.ebuild | 1 + |
14 |
2 files changed, 14 insertions(+) |
15 |
|
16 |
diff --git a/dev-scheme/gauche-qdbm/files/gauche-qdbm-test.patch b/dev-scheme/gauche-qdbm/files/gauche-qdbm-test.patch |
17 |
new file mode 100644 |
18 |
index 00000000000..2153c8978fe |
19 |
--- /dev/null |
20 |
+++ b/dev-scheme/gauche-qdbm/files/gauche-qdbm-test.patch |
21 |
@@ -0,0 +1,13 @@ |
22 |
+--- a/test.scm |
23 |
++++ b/test.scm |
24 |
+@@ -32,8 +32,8 @@ |
25 |
+ (test* "qdbm-dpclosed?" #t (qdbm-dpclosed? qdbm)) |
26 |
+ (test* "qdbm-dpremove" #t (qdbm-dpremove "test.dbm")) |
27 |
+ |
28 |
+-(test* "qdbm-innerhash" -468784272 (qdbm-dpinnerhash "key")) |
29 |
+-(test* "qdbm-outerhash" -448645494 (qdbm-dpouterhash "key")) |
30 |
++(test* "qdbm-innerhash" 604957552 (qdbm-dpinnerhash "key")) |
31 |
++(test* "qdbm-outerhash" 625096330 (qdbm-dpouterhash "key")) |
32 |
+ (test* "qdbm-primenum" 10223 (qdbm-dpprimenum 10000)) |
33 |
+ |
34 |
+ ;; The following is taken from ext/dbm/test.scm. |
35 |
|
36 |
diff --git a/dev-scheme/gauche-qdbm/gauche-qdbm-0.2-r1.ebuild b/dev-scheme/gauche-qdbm/gauche-qdbm-0.2-r1.ebuild |
37 |
index d05007bfdd6..8bfec2a242d 100644 |
38 |
--- a/dev-scheme/gauche-qdbm/gauche-qdbm-0.2-r1.ebuild |
39 |
+++ b/dev-scheme/gauche-qdbm/gauche-qdbm-0.2-r1.ebuild |
40 |
@@ -23,6 +23,7 @@ S="${WORKDIR}/${MY_P}" |
41 |
|
42 |
PATCHES=( |
43 |
"${FILESDIR}"/${PN}-gauche-package.patch |
44 |
+ "${FILESDIR}"/${PN}-test.patch |
45 |
"${FILESDIR}"/${PN}-undefined-reference.patch |
46 |
) |