autotest: remove extra process_core invocations
The top-level autotest.sh script will catch any core dumps at the end of the test run, so sprinkling process_core in the individual test scripts is unnecessary. Also make the per-component test scripts run with 'set -e' (exit on error). Change-Id: I85f124e164ca93d35eaf672a428a841c119c550b Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
e634bb8db1
commit
3b38dd8282
@ -1,5 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
testdir=$(readlink -f $(dirname $0))
|
||||
rootdir="$testdir/../../.."
|
||||
source $rootdir/scripts/autotest_common.sh
|
||||
@ -8,7 +10,6 @@ timing_enter memory
|
||||
|
||||
timing_enter vtophys
|
||||
$testdir/vtophys
|
||||
process_core
|
||||
timing_exit vtophys
|
||||
|
||||
timing_exit memory
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
testdir=$(readlink -f $(dirname $0))
|
||||
rootdir="$testdir/../../.."
|
||||
source $rootdir/scripts/autotest_common.sh
|
||||
@ -16,23 +18,19 @@ timing_exit unit
|
||||
|
||||
timing_enter aer
|
||||
$testdir/aer/aer
|
||||
process_core
|
||||
timing_exit aer
|
||||
|
||||
timing_enter identify
|
||||
$rootdir/examples/nvme/identify/identify
|
||||
process_core
|
||||
timing_exit identify
|
||||
|
||||
timing_enter perf
|
||||
$rootdir/examples/nvme/perf/perf -q 128 -w read -s 12288 -t 5
|
||||
process_core
|
||||
timing_exit perf
|
||||
|
||||
#Now test nvme reset function
|
||||
timing_enter reset
|
||||
$testdir/reset/reset -q 64 -w write -s 4096 -t 15
|
||||
process_core
|
||||
timing_exit reset
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user