WIP FPC-III support
[linux/fpc-iii.git] / tools / testing / selftests / futex / run.sh
blob5e76ea18f9fa45181788080cfa39ceab6a08c65e
1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0-or-later
4 ###############################################################################
6 # Copyright © International Business Machines Corp., 2009
8 # DESCRIPTION
9 # Run all tests under the functional, performance, and stress directories.
10 # Format and summarize the results.
12 # AUTHOR
13 # Darren Hart <dvhart@linux.intel.com>
15 # HISTORY
16 # 2009-Nov-9: Initial version by Darren Hart <dvhart@linux.intel.com>
18 ###############################################################################
20 # Test for a color capable shell and pass the result to the subdir scripts
21 USE_COLOR=0
22 tput setf 7 || tput setaf 7
23 if [ $? -eq 0 ]; then
24 USE_COLOR=1
25 tput sgr0
27 export USE_COLOR
29 (cd functional; ./run.sh)