[llvm] r315961 - Try to make crlf portable to other printf implementations
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 16 17:27:31 PDT 2017
Author: rnk
Date: Mon Oct 16 17:27:31 2017
New Revision: 315961
URL: http://llvm.org/viewvc/llvm-project?rev=315961&view=rev
Log:
Try to make crlf portable to other printf implementations
Added:
llvm/trunk/test/MC/X86/Inputs/
llvm/trunk/test/MC/X86/Inputs/crlf.s
Modified:
llvm/trunk/test/MC/X86/crlf.test
Added: llvm/trunk/test/MC/X86/Inputs/crlf.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/X86/Inputs/crlf.s?rev=315961&view=auto
==============================================================================
--- llvm/trunk/test/MC/X86/Inputs/crlf.s (added)
+++ llvm/trunk/test/MC/X86/Inputs/crlf.s Mon Oct 16 17:27:31 2017
@@ -0,0 +1,2 @@
+t1 # This file must be DOS formatted
+t2
Modified: llvm/trunk/test/MC/X86/crlf.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/X86/crlf.test?rev=315961&r1=315960&r2=315961&view=diff
==============================================================================
--- llvm/trunk/test/MC/X86/crlf.test (original)
+++ llvm/trunk/test/MC/X86/crlf.test Mon Oct 16 17:27:31 2017
@@ -1,4 +1,4 @@
-RUN: printf '\r\n\r\n' | llvm-mc -as-lex | FileCheck %s
+RUN: llvm-mc %S/Inputs/crlf.s -as-lex | FileCheck %s
There should only be two end of statements.
CHECK: EndOfStatement
CHECK: EndOfStatement
More information about the llvm-commits
mailing list