1#!/bin/sh
2
3set -e
4
5main() {
6  clean
7
8  ./bootstrap
9  ./configure
10  make test-all
11
12  clean
13
14  cmake .
15  make
16  make test
17
18  clean
19}
20
21clean() {
22  git clean -d -x -f
23  rm -fr tests/run-test-suite/data
24}
25
26main "$@"
27