source: cpp/tests/go.sh @ 813

Last change on this file since 813 was 813, checked in by Maciej Komosinski, 6 years ago

Improved the script that runs unit tests

  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 320 bytes
Line 
1#/bin/bash
2
3if [ "$1" != "-val" ] #just for safety, accept only -val (i.e., "use valgrind")
4then
5        EXTRA_ARGS=""
6        echo "Unsupported argument '$1'"
7else
8        EXTRA_ARGS=$1
9fi
10
11for testset in SDK-tests.txt geometry-tests.txt similarity-tests.txt
12do
13        python3 ../../tester/tester.py $EXTRA_ARGS -e '(.*)=../\1' -f $testset
14done
Note: See TracBrowser for help on using the repository browser.