]> Git Repo - J-linux.git/blob - tools/perf/tests/shell/lib/setup_python.sh
Merge tag 'vfs-6.13-rc7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
[J-linux.git] / tools / perf / tests / shell / lib / setup_python.sh
1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0
3
4 if [ "x$PYTHON" = "x" ]
5 then
6   python3 --version >/dev/null 2>&1 && PYTHON=python3
7 fi
8 if [ "x$PYTHON" = "x" ]
9 then
10   python --version >/dev/null 2>&1 && PYTHON=python
11 fi
12 if [ "x$PYTHON" = "x" ]
13 then
14   echo Skipping test, python not detected please set environment variable PYTHON.
15   exit 2
16 fi
This page took 0.026401 seconds and 4 git commands to generate.