public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/postgresql-jdbc] rawhide: Use RPM macro to init tests
@ 2026-07-29 13:48 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-07-29 13:48 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/postgresql-jdbc
            Branch : rawhide
            Commit : 246ecf802f259d564c57f91070b6b3517feb6700
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-07-28T18:21:19-04:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/postgresql-jdbc/c/246ecf802f259d564c57f91070b6b3517feb6700?branch=rawhide

            Log:
            Use RPM macro to init tests

This fixes the build for flatpaks where the default postgresql may be
rebuilt in /app.

---
diff --git a/postgresql_jdbc_tests_start.sh b/postgresql_jdbc_tests_start.sh
index 3796841..b407842 100755
--- a/postgresql_jdbc_tests_start.sh
+++ b/postgresql_jdbc_tests_start.sh
@@ -6,7 +6,7 @@
 
 set -ex
 
-. /usr/share/postgresql-setup/postgresql_pkg_tests.sh
+eval $(rpm -E %postgresql_tests_init)
 
 PGTESTS_LOCALE=C.UTF-8
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-29 13:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-29 13:48 [rpms/postgresql-jdbc] rawhide: Use RPM macro to init tests Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox