blob: 22b004f2b23ec6bb2c7748c6b804c292c276daf6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
# perf list tests
# SPDX-License-Identifier: GPL-2.0
set -e
err=0
shelldir=$(dirname "$0")
# shellcheck source=lib/setup_python.sh
. "${shelldir}"/lib/setup_python.sh
test_list_json() {
echo "Json output test"
perf list -j | $PYTHON -m json.tool
echo "Json output test [Success]"
}
test_list_json
exit $err
|