[Glacier] Add a basic unit testing framework.
This commit is contained in:
parent
83b0d9ab61
commit
09d902dfb5
7 changed files with 43 additions and 0 deletions
14
scripts/test.sh
Executable file
14
scripts/test.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#! /bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
pushd "$DIR/.."
|
||||
cmake -B test-bin/ -G Ninja -D enable_testing=on
|
||||
pushd test-bin/
|
||||
ninja build_test
|
||||
ctest --output-on-failure
|
||||
popd
|
||||
popd
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue