#!/bin/bash

set -e

VERSIONS=$(pg_buildext supported-versions)

cd test

trap "cat pgagent.out" ERR

for v in $VERSIONS; do
	rm -f pgagent.out
	pg_buildext installcheck-$v
	cat pgagent.out
done
