aboutsummaryrefslogtreecommitdiff
path: root/test/performance/odp_cpu_bench_run.sh
blob: 15be2e729b66f1fc57f0bf1643dd4f7cdaa17301 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
#
# SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) 2022 Nokia
#

TEST_DIR="${TEST_DIR:-$(dirname $0)}"

# Use short run time in make check

$TEST_DIR/odp_cpu_bench${EXEEXT} -t 1

if [ $? -ne 0 ] ; then
    echo Test FAILED
    exit 1
fi

exit 0