summaryrefslogtreecommitdiffstats
path: root/src/spdk/test/ioat/ioat.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/spdk/test/ioat/ioat.sh')
-rwxr-xr-xsrc/spdk/test/ioat/ioat.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/spdk/test/ioat/ioat.sh b/src/spdk/test/ioat/ioat.sh
new file mode 100755
index 00000000..b15f635e
--- /dev/null
+++ b/src/spdk/test/ioat/ioat.sh
@@ -0,0 +1,20 @@
+#!/usr/bin/env bash
+
+set -xe
+
+testdir=$(readlink -f $(dirname $0))
+rootdir=$(readlink -f $testdir/../..)
+source $rootdir/test/common/autotest_common.sh
+
+timing_enter ioat
+
+timing_enter perf
+$rootdir/examples/ioat/perf/perf -t 1
+timing_exit perf
+
+timing_enter verify
+$rootdir/examples/ioat/verify/verify -t 1
+timing_exit verify
+
+report_test_completion "ioat"
+timing_exit ioat