Debian Codegraph @

Testing/Docker/test.sh

raw
1 #!/bin/bash
2
3 # This is a script to build the modules and run the test suite in the base
4 # Docker container.
5
6 die() {
7 echo "Error: $@" 1>&2
8 exit 1;
9 }
10
11 cd /usr/src/KWStyle-build || die "Could not cd into the build directory"
12
13 cmake \
14 -G Ninja \
15 -DCMAKE_BUILD_TYPE:STRING=Release \
16 /usr/src/KWStyle || die "CMake configuration failed"
17 ctest -VV -D Experimental || die "ctest failed"
18