git ignore log
[gpstools.git] / tests / Add_test
blob5fb925df5b939d693b8749eafd1fd8a505b0e27f
1 #!/bin/bash
3 #=======================================================================
4 # Add_test
5 # File ID: ed455754-28f3-11e5-a38e-fefdb24f8e10
7 # Create new *.t file in the current directory. Specify a name without
8 # the .t extension and a file with some common option tests will be
9 # created.
11 # License: GNU General Public License version 2 or later.
12 #=======================================================================
14 [ -z "$1" ] && { echo Syntax: $0 testname >&2; exit 1; }
16 name=$1
17 std -l perl-tests $name.t -t progname=$name -t exec=../$name -t testcmd=$name.t
18 chmod +x $name.t