Changeset 814 for cpp


Ignore:
Timestamp:
07/28/18 21:17:54 (6 years ago)
Author:
Maciej Komosinski
Message:

Passes all arguments (if any) to python tester

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/tests/go.sh

    r813 r814  
    11#/bin/bash
    22
    3 if [ "$1" != "-val" ] #just for safety, accept only -val (i.e., "use valgrind")
    4 then
    5         EXTRA_ARGS=""
    6         echo "Unsupported argument '$1'"
    7 else
    8         EXTRA_ARGS=$1
    9 fi
     3# "$@" allows to pass any command-line arguments of this script to python tester
    104
    115for testset in SDK-tests.txt geometry-tests.txt similarity-tests.txt
    126do
    13         python3 ../../tester/tester.py $EXTRA_ARGS -e '(.*)=../\1' -f $testset
     7        python3 ../../tester/tester.py "$@" -e '(.*)=../\1' -f $testset
    148done
Note: See TracChangeset for help on using the changeset viewer.