30 lines · bash
1#!/bin/sh2# SPDX-License-Identifier: GPL-2.0-or-later3 4###############################################################################5#6# Copyright © International Business Machines Corp., 20097#8# DESCRIPTION9# Run all tests under the functional, performance, and stress directories.10# Format and summarize the results.11#12# AUTHOR13# Darren Hart <dvhart@linux.intel.com>14#15# HISTORY16# 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 scripts21USE_COLOR=022tput setf 7 || tput setaf 723if [ $? -eq 0 ]; then24 USE_COLOR=125 tput sgr026fi27export USE_COLOR28 29(cd functional; ./run.sh)30