Add installation script for phoronix-static.
[gcc-perf-regression-tester.git] / finish_log.sh
blob3e8afcfec4b7e5fec016bd24094850268eb6b5c5
1 #!/bin/bash -x
3 # Copyright (C) 2011 Sebastian Pop <sebpop@gmail.com>.
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
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. A copy of this license
13 # can be downloaded from http://www.gnu.org/copyleft/gpl.html
15 # This file is sourced at the end of every benchmark in the go.sh
16 # script. It completes the report with the information about the
17 # machine and then tags the report to the current revision that is
18 # checked out in the GCC git repo.
20 catlog /etc/hostname
21 catlog /etc/issue
22 catlog /proc/version
23 catlog /proc/meminfo
24 catlog /proc/cpuinfo
26 cd $X/gcc
27 git tag $tag -F $log
29 email=$2
30 if [ "x$email" != x ]; then
31 cd $X/gcc
32 git show $tag > $log.tag
33 subject="Test results for $bmk with $config."
34 mutt $email -s "$subject" -i $log.tag </dev/null