Merge tag 'for-linus-6.12a-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-block.git] / tools / testing / selftests / futex / run.sh
CommitLineData
2aa8470f 1#!/bin/sh
2874c5fd 2# SPDX-License-Identifier: GPL-2.0-or-later
2aa8470f
DH
3
4###############################################################################
5#
6# Copyright © International Business Machines Corp., 2009
7#
2aa8470f
DH
8# DESCRIPTION
9# Run all tests under the functional, performance, and stress directories.
10# Format and summarize the results.
11#
12# AUTHOR
13# Darren Hart <dvhart@linux.intel.com>
14#
15# HISTORY
16# 2009-Nov-9: Initial version by Darren Hart <dvhart@linux.intel.com>
17#
18###############################################################################
19
20# Test for a color capable shell and pass the result to the subdir scripts
21USE_COLOR=0
fecf861e 22tput setf 7 || tput setaf 7
2aa8470f
DH
23if [ $? -eq 0 ]; then
24 USE_COLOR=1
25 tput sgr0
26fi
27export USE_COLOR
28
29(cd functional; ./run.sh)