Skip to content

Commit 4018c36

Browse files
committed
Add testing script
1 parent 7ac5252 commit 4018c36

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

scripts/test.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/sh
2+
set -e
3+
4+
# Navigate to the project root directory
5+
cd "$(git rev-parse --show-toplevel)"
6+
7+
# Navigate to the build directory
8+
cd build
9+
10+
# Run tests
11+
ctest --output-on-failure

0 commit comments

Comments
 (0)