check: one more test to be disabled for arm

Fix the %check so we run the testsuite unpatched first;  to see
that upstream potentially fixed the testsuite failure (and to
always show failed build-logs).

Version: 09.05.0300-1
This commit is contained in:
Pavel Raiskup 2016-06-19 06:34:50 +02:00
parent 3869bc7759
commit 042ebe06a1
2 changed files with 14 additions and 9 deletions

View File

@ -10,13 +10,15 @@ Related: rhbz#1330031
---
test/tests | 1 -
1 file changed, 1 deletion(-)
diff --git a/test/tests b/test/tests
index a699d5d..1909983 100644
index a06a575..f923e92 100644
--- a/test/tests
+++ b/test/tests
@@ -37,7 +37,6 @@ TESTBINS = exe/connect-test \
exe/cursor-block-delete-test \
@@ -34,10 +34,8 @@ TESTBINS = exe/connect-test \
exe/cursor-movement-test \
exe/cursor-commit-test \
exe/cursor-name-test \
- exe/cursor-block-delete-test \
exe/bookmark-test \
exe/declare-fetch-commit-test \
- exe/declare-fetch-block-test \

View File

@ -28,10 +28,6 @@ PostgreSQL system via ODBC (Open Database Connectivity).
%prep
%autosetup -p1 -n psqlodbc-%{version}
%ifarch armv7hl
cat %{SOURCE2} | patch -p1
%endif
cat <<EOF >README.rpmdist
The upstream psqlodbc testsuite is distributed in '%{name}-tests'
(sub)package.
@ -63,12 +59,19 @@ popd
pgtests_start
cd test && make installcheck || {
cd test && make installcheck %{_smp_mflags} || {
echo "=== trying to find all regression.diffs files in build directory ==="
find -name regression.diffs | while read line; do
cat "$line"
done
%ifarch armv7hl
echo "=== running the testsuite again with disabled expected failures ==="
cat %{SOURCE2} | patch -p2
make installcheck %{_smp_mflags}
%else
false
%endif
}