Add script to run test suite with various settings

This script compiles the test suite using Clang and GCC,
and all four CMake release types.