@@ -35,8 +35,16 @@ EOF
schedules=""
# REGRESS_OPTS is split on whitespace, so an option whose value
# contains spaces or quotes is not supported
+ prev=""
for o in $(echo "$vars" | sed -n 's/^REGRESS_OPTS=//p'); do
+ if [ -n "$prev" ]; then
+ o="$prev=$o"
+ prev=""
+ fi
case "$o" in
+ --temp-config|--temp-instance|--dbname|--inputdir|--expecteddir|--schedule)
+ prev="$o"
+ ;;
--temp-config=*) conf=$(basename "${o#--temp-config=}") ;;
--temp-instance=*|--dbname=*) ;;
--inputdir=*) inputdir="${o#--inputdir=}"; opts="$opts $o" ;;
Options such as --temp-config were only recognised as "--opt=value". Written as "--opt value", the server config was not installed and the tests failed with: could not open "./regress.conf" to read extra config: No such file or directory Signed-off-by: Babanpreet Singh <bbnpreetsingh@gmail.com> --- meta-oe/classes/ptest-pgxs.bbclass | 8 ++++++++ 1 file changed, 8 insertions(+)