borenet | 11271fe | 2015-07-06 07:43:58 -0700 | [diff] [blame] | 1 | #!/bin/sh |
2 | # Copyright (c) 2015 The Chromium Authors. All rights reserved. | ||||
3 | # Use of this source code is governed by a BSD-style license that can be | ||||
4 | # found in the LICENSE file. | ||||
5 | |||||
6 | # Run from Skia repo like this: | ||||
7 | # $ tools/llvm_coverage.sh dm | ||||
8 | # or | ||||
9 | # $ tools/llvm_coverage.sh nanobench | ||||
10 | |||||
11 | set -x | ||||
12 | set -e | ||||
13 | |||||
14 | make clean | ||||
15 | tools/llvm_coverage_build $1 | ||||
16 | python tools/llvm_coverage_run.py $@ |