3
# Copyright © 2016 Canonical Ltd.
5
# This program is free software: you can redistribute it and/or modify
6
# it under the terms of the GNU General Public License version 3 as
7
# published by the Free Software Foundation.
9
# This program is distributed in the hope that it will be useful,
10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
# GNU General Public License for more details.
14
# You should have received a copy of the GNU General Public License
15
# along with this program. If not, see <http://www.gnu.org/licenses/>.
17
# Author: Daniel van Vugt <daniel.van.vugt@canonical.com>
20
### This is a wrapper script that runs all Mir's performance tests ###
26
for perf_test in mir_glmark2_performance_test ; do
27
tests_run=$(($tests_run + 1))
28
${bin_dir}/$perf_test || failures=$(($failures + 1))
31
passes=$(($tests_run - $failures))
33
echo "Mir Performance Tests ran $tests_run tests: $passes passed, $failures failed."