FTBFS: work-around one test failure on armv7hl

Related: rhbz#1330031
Version: 09.05.0210-1
This commit is contained in:
Pavel Raiskup 2016-04-25 12:32:28 +02:00
parent 665c211ae6
commit a4bcb5c35a
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,35 @@
From 0953b4fa77a1d3b1a905111771da9d994a5a0b5b Mon Sep 17 00:00:00 2001
From: Pavel Raiskup <praiskup@redhat.com>
Date: Mon, 25 Apr 2016 12:24:31 +0200
Subject: [PATCH] Hack the expected file only for arm
This has been reported upstream:
http://www.postgresql.org/message-id/1891019.xN52Kdy8p1@nb.usersys.redhat.com
Related: rhbz#1330031
---
test/expected/declare-fetch-block.out | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/test/expected/declare-fetch-block.out b/test/expected/declare-fetch-block.out
index 2368b59..2f60b3b 100644
--- a/test/expected/declare-fetch-block.out
+++ b/test/expected/declare-fetch-block.out
@@ -2,9 +2,9 @@ connected
fetchIdx=1, fetched rows=84, total rows=84
fetchIdx=2, fetched rows=36, total rows=120
next total rows=120
-prior total rows=120
-next total rows=120
-prior total rows=120
+prior total rows=20
+next total rows=0
+prior total rows=0
FetchScroll beyond the end failed 100
-encountered EOF at 120
-disconnecting
+FetchScroll the 1st row failed
+No error information
--
2.5.5

View File

@ -11,6 +11,9 @@ Source0: http://ftp.postgresql.org/pub/odbc/versions/src/psqlodbc-%{version}.tar
Source1: postgres-testing.sh
Patch0: postgresql-odbc-09.05.0210-revert-money-fix.patch
%ifarch armv7hl
Patch1: postgresql-odbc-tests-arm.patch
%endif
BuildRequires: unixODBC-devel postgresql-devel
BuildRequires: postgresql-server
@ -101,6 +104,7 @@ the PostgreSQL unixODBC driver.
- rebase to latest upstream version, per release notes:
https://odbc.postgresql.org/docs/release.html
- revert one upstream commit to fix testsuite issues
- workaround one armv7hl related issue during self-testing (rhbz#1330031)
* Thu Apr 14 2016 Pavel Raiskup <praiskup@redhat.com> - 09.05.0200-2
- enable testsuite during build