blob: 88bcb1767362dcb38b9e0c62131d89362ba2ba86 [file] [log] [blame]
Darren Hart2aa84702015-05-12 21:07:52 -07001#!/bin/sh
2
3###############################################################################
4#
5# Copyright © International Business Machines Corp., 2009
6#
7# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 2 of the License, or
10# (at your option) any later version.
11#
12# DESCRIPTION
13# Run all tests under the functional, performance, and stress directories.
14# Format and summarize the results.
15#
16# AUTHOR
17# Darren Hart <dvhart@linux.intel.com>
18#
19# HISTORY
20# 2009-Nov-9: Initial version by Darren Hart <dvhart@linux.intel.com>
21#
22###############################################################################
23
24# Test for a color capable shell and pass the result to the subdir scripts
25USE_COLOR=0
SeongJae Parkfecf8612016-10-02 11:02:18 +090026tput setf 7 || tput setaf 7
Darren Hart2aa84702015-05-12 21:07:52 -070027if [ $? -eq 0 ]; then
28 USE_COLOR=1
29 tput sgr0
30fi
31export USE_COLOR
32
33(cd functional; ./run.sh)