Skip to content

Commit

Permalink
change the test script name
Browse files Browse the repository at this point in the history
  • Loading branch information
a-masterov committed Dec 17, 2024
1 parent 700395f commit 25cbfc7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions compute/patches/pg_graphql.patch
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
commit e22cdb9e3b373e2bb2ecb61ac41c5a56be1fdb5e
commit ec6a491d126882966a696f9ad5d3698935361d55
Author: Alexey Masterov <[email protected]>
Date: Tue Dec 17 10:25:00 2024 +0100

Changes required to run tests on Neon

diff --git a/test.sh b/test.sh
diff --git a/neon-test.sh b/neon-test.sh
new file mode 100755
index 0000000..47beef2
--- /dev/null
+++ b/test.sh
+++ b/neon-test.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+set -ex
Expand Down
4 changes: 2 additions & 2 deletions docker-compose/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ LIST=$( (echo -e "${SKIP//","/"\n"}"; ls -d -- *-src) | sort | uniq -u)
for d in ${LIST}; do
[ -d "${d}" ] || continue
psql -c "select 1" >/dev/null || break
if [ -f "${d}/test.sh" ]; then
if [ -f "${d}/neon-test.sh" ]; then
cd "${d}" || exit 1
./test.sh || FAILED="${d} ${FAILED}"
./neon-test.sh || FAILED="${d} ${FAILED}"
cd ..
else
USE_PGXS=1 make -C "${d}" installcheck || FAILED="${d} ${FAILED}"
Expand Down

0 comments on commit 25cbfc7

Please sign in to comment.