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
RevLine 
[813]1#/bin/bash
2
3if [ "$1" != "-val" ] #just for safety, accept only -val (i.e., "use valgrind")
[812]4then
[813]5        EXTRA_ARGS=""
6        echo "Unsupported argument '$1'"
[812]7else
[813]8        EXTRA_ARGS=$1
[812]9fi
[813]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.