[Groonga-commit] pgroonga/pgroonga at f203bb0 [master] test: add workaround for PostgreSQL 10beta2

Zurück zum Archiv-Index

Kouhei Sutou null+****@clear*****
Tue Jul 18 23:42:08 JST 2017


Kouhei Sutou	2017-07-18 23:42:08 +0900 (Tue, 18 Jul 2017)

  New Revision: f203bb0815e7948f5f85ff2ebc50758d586442c1
  https://github.com/pgroonga/pgroonga/commit/f203bb0815e7948f5f85ff2ebc50758d586442c1

  Message:
    test: add workaround for PostgreSQL 10beta2
    
    PGAPPNAME=pg_regress/${TEST_PATH} is used internally. If PGAPPNAME is
    longer than 64 bytes, psql logs NOTICE level "truncated" message. It
    fails tests.

  Modified files:
    test/run-sql-test.sh

  Modified: test/run-sql-test.sh (+6 -2)
===================================================================
--- test/run-sql-test.sh    2017-07-18 23:08:11 +0900 (ca57e49)
+++ test/run-sql-test.sh    2017-07-18 23:42:08 +0900 (ff079b1)
@@ -33,10 +33,14 @@ done
 
 DEBUG=1 HAVE_MSGPACK=1 run make -j$(nproc) > /dev/null
 run make install > /dev/null
+launcher="--launcher=$(pwd)/test/short-pgappname"
 if [ -n "${test_names}" ]; then
-  make installcheck REGRESS="${test_names}"
+  make installcheck \
+       EXTRA_REGRESS_OPTS="${launcher}" \
+       REGRESS="${test_names}"
 else
-  make installcheck
+  make installcheck \
+       EXTRA_REGRESS_OPTS="${launcher}"
 fi
 if [ $? != 0 ]; then
   cat regression.diffs
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index