view runtests.sh @ 44:b35ed8684036

Run monetdb in a service container So we can later test against multiple versions of MonetDB by taking the image name from a matrix
author Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
date Fri, 18 Dec 2020 10:53:15 +0100 (2020-12-18)
parents 5b27d21cf817
children
line wrap: on
line source
#!/bin/bash

set -e -x

export DBI_DSN=dbi:monetdb:database=demo

export PERL5LIB=$PWD/MonetDB-CLI-MapiPP:$PWD/MonetDB-CLI:$PWD

for i in DBD MonetDB-CLI/MonetDB MonetDB-CLI-MapiPP/MonetDB/CLI
do
	(
		cd $i
		perl Makefile.PL
		make
	)
done

make -C DBD test
:
make -C MonetDB-CLI/MonetDB test
:
make -C MonetDB-CLI-MapiPP/MonetDB/CLI test
: