summaryrefslogtreecommitdiffstats
path: root/src/spdk/test/env/env.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/spdk/test/env/env.sh')
-rwxr-xr-xsrc/spdk/test/env/env.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/spdk/test/env/env.sh b/src/spdk/test/env/env.sh
new file mode 100755
index 00000000..7aa560f2
--- /dev/null
+++ b/src/spdk/test/env/env.sh
@@ -0,0 +1,24 @@
+#!/usr/bin/env bash
+
+set -e
+
+testdir=$(readlink -f $(dirname $0))
+rootdir=$(readlink -f $testdir/../..)
+source $rootdir/test/common/autotest_common.sh
+
+timing_enter env
+
+timing_enter memory
+$testdir/memory/memory_ut
+timing_exit memory
+
+timing_enter vtophys
+$testdir/vtophys/vtophys
+timing_exit vtophys
+
+timing_enter pci
+$testdir/pci/pci_ut
+timing_exit pci
+
+report_test_completion "env"
+timing_exit env