xref: /freebsd/contrib/ntp/sntp/tests/tests-runner (revision 416ba5c74546f32a993436a99516d35008e9f384)
1*2b15cb3dSCy Schubert#!/bin/sh
2*2b15cb3dSCy Schubert
3*2b15cb3dSCy Schubert# $builddir is always .
4*2b15cb3dSCy Schubertbuilddir=.
5*2b15cb3dSCy Schubert# $srcdir will be set to the correct directory when this script is called from
6*2b15cb3dSCy Schubert# the Makefiles generated by Automake.
7*2b15cb3dSCy Schubert
8*2b15cb3dSCy Schubert# Create output directory.
9*2b15cb3dSCy Schubertmkdir -p $builddir/data
10*2b15cb3dSCy Schubert
11*2b15cb3dSCy Schubert# Test executable expects two arguments: test_input_dir and test_output_dir.
12*2b15cb3dSCy Schubert./tests $srcdir/data $builddir/data
13*2b15cb3dSCy Schubert
14