Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Side by Side Diff: tools/llvm_file_check_wrapper.sh

Issue 1021303003: Enable using the toolchain (llvm) provided FileCheck. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« tests/toolchain/nacl.scons ('K') | « tests/toolchain/nacl.scons ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/sh
2 # Copyright (c) 2011 The Native Client 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 if [ "$#" -lt 3 ]; then
7 echo "Usage: llvm_file_checl_wrapper <filecheck> <check_file> <cmd_line>"
8 echo "Where:"
9 echo "<filecheck> is the path to FileCheck"
10 echo "<check_file> is a text file containing 'CHECK' statements"
11 echo "<cmd_line> is the command line to use as input to FileCheck"
12 exit 1
13 fi
14
15 file_check="$1"
16 shift
17 check_file="$1"
18 shift
19 what_to_run=$@
20
21 $what_to_run | $file_check $check_file
OLDNEW
« tests/toolchain/nacl.scons ('K') | « tests/toolchain/nacl.scons ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698