aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2021-04-08 01:16:12 +0200
committerJakub Jirutka <jakub@jirutka.cz>2021-04-08 01:16:12 +0200
commitbd073eb7cbace29e9af86eeb11f83ede7c69ba8b (patch)
tree8e6fa0e566c73cc01e674dbfa1e0bf3fc87e8a45
parent59c217477ef3d65b6f8c5696c342a82472ffe3dc (diff)
downloadaports-bd073eb7cbace29e9af86eeb11f83ede7c69ba8b.tar.gz
aports-bd073eb7cbace29e9af86eeb11f83ede7c69ba8b.tar.bz2
aports-bd073eb7cbace29e9af86eeb11f83ede7c69ba8b.tar.xz
testing/ruby-pg_query: disable on all 32-bit arches due to bug
1) PgQuery#fingerprint returns expected hash value for 'SELECT 1' Failure/Error: expect(fingerprint(testdef['input'])).to eq(testdef['expectedHash']) expected: "50fde20626009aba" got: "0000000026009aba" (compared using ==) # ./spec/lib/fingerprint_spec.rb:39:in `block (3 levels) in <top (required)>' 5) PgQuery#fingerprint returns expected hash value for 'SELECT 1; SELECT a FROM b' Failure/Error: expect(fingerprint(testdef['input'])).to eq(testdef['expectedHash']) expected: "3efa3b10d558d06d" got: "00000000d558d06d" (compared using ==) # ./spec/lib/fingerprint_spec.rb:39:in `block (3 levels) in <top (required)>' ... and 75 very similar. It's clear that fingerprints are truncated on 32-bit.
-rw-r--r--testing/ruby-pg_query/APKBUILD3
1 files changed, 1 insertions, 2 deletions
diff --git a/testing/ruby-pg_query/APKBUILD b/testing/ruby-pg_query/APKBUILD
index 64a5890485..cf34f80292 100644
--- a/testing/ruby-pg_query/APKBUILD
+++ b/testing/ruby-pg_query/APKBUILD
@@ -7,8 +7,7 @@ pkgver=2.0.3
pkgrel=0
pkgdesc="PostgreSQL query parsing and normalization library for Ruby"
url="https://github.com/pganalyze/pg_query"
-# armhf: fingerprint tests fail
-arch="all !armhf"
+arch="all !x86 !armhf !armv7" # fingerprint feature is broken on 32-bit
license="BSD-3-Clause"
depends="ruby ruby-google-protobuf>=3.15.5"
checkdepends="ruby-json ruby-rspec"