<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<dt id="cmdoption--strict-whitespace" style="color: rgb(0, 0, 0);
font-family: 'Lucida Grande', 'Lucida Sans Unicode', Geneva,
Verdana, sans-serif; font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: 21px; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);"><tt class="descname" style="font-family: Consolas, 'Deja
Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
font-size: 1.2em; background-color: transparent; font-weight:
bold; border: 0px;">"--strict-whitespace</tt></dt>
<p style="margin: 0px 0px 0.5em;">By default, FileCheck
canonicalizes input horizontal whitespace (spaces and tabs)
which causes it to ignore these differences (a space will match
a tab). The<span class="Apple-converted-space"> </span><a
class="reference internal"
href="http://llvm.org/docs/CommandGuide/FileCheck.html#cmdoption--strict-whitespace"
style="color: rgb(202, 121, 0); text-decoration: underline;"><em
class="xref std std-option">--strict-whitespace</em></a><span
class="Apple-converted-space"> </span>argument disables this
behavior. End-of-line sequences are canonicalized to UNIX-style
‘n’ in all modes."<br>
</p>
<p style="margin: 0px 0px 0.5em;">So it just ignore the
differences between space and tab, not the whitespace .<br>
</p>
<br>
<br>
On 2013年03月15日 20:15, 杨勇勇 wrote:<br>
</div>
<blockquote
cite="mid:CAGxstLQCyh=dQEWLDx20RRyDLhc22CD52h_SxyT0x84zW5rWCA@mail.gmail.com"
type="cite">
<pre wrap=""><a class="moz-txt-link-freetext" href="http://llvm.org/docs/CommandGuide/FileCheck.html">http://llvm.org/docs/CommandGuide/FileCheck.html</a>
says FileCheck ignores white spaces/tabs by default unless you use
"--strict-whitespace" option.
2013/3/15 Shawn <a class="moz-txt-link-rfc2396E" href="mailto:shaolin.xie@ia.ac.cn"><shaolin.xie@ia.ac.cn></a>:
</pre>
<blockquote type="cite">
<pre wrap="">Hi all:
I'm writing testcase for the MC layer regression in llvm, the
disassembled string is a bit complicate, for example:
"IALU.T0 (I0) = BIU0.DM ; REPEAT AT ( 2 ) ;;"
The spaces in the disassembled string is error-prone. Is there any
option to tell the FileCheck utility to ignore the spaces ?
Kind Regards.
Shawn.
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
============================
中国科学院自动化研究所 谢少林
电话: 010-62620080-777
</pre>
</body>
</html>