Add tests/Add_test and tests/Genlog
[gpstools.git] / tests / Add_test
blob798ee021705c29636d923bc58321b6c1e860e862
1 #!/bin/bash
3 #=======================================================================
4 # Add_test
5 # File ID: 948f70c2-f989-11dd-be4a-000475e441b9
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