aboutsummaryrefslogtreecommitdiff
path: root/sntp/tests/tests-runner
diff options
context:
space:
mode:
Diffstat (limited to 'sntp/tests/tests-runner')
-rwxr-xr-xsntp/tests/tests-runner13
1 files changed, 13 insertions, 0 deletions
diff --git a/sntp/tests/tests-runner b/sntp/tests/tests-runner
new file mode 100755
index 000000000000..412516ca6536
--- /dev/null
+++ b/sntp/tests/tests-runner
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# $builddir is always .
+builddir=.
+# $srcdir will be set to the correct directory when this script is called from
+# the Makefiles generated by Automake.
+
+# Create output directory.
+mkdir -p $builddir/data
+
+# Test executable expects two arguments: test_input_dir and test_output_dir.
+./tests $srcdir/data $builddir/data
+