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