[llvm] r301799 - Fix test for altmacro

Michael Zuckerman via llvm-commits llvm-commits at lists.llvm.org
Mon May 1 07:00:54 PDT 2017


Author: mzuckerm
Date: Mon May  1 09:00:54 2017
New Revision: 301799

URL: http://llvm.org/viewvc/llvm-project?rev=301799&view=rev
Log:
Fix test for altmacro

Modified:
    llvm/trunk/test/MC/AsmParser/altmacro_expression.s
    llvm/trunk/test/MC/AsmParser/negativ_altmacro_expression.s

Modified: llvm/trunk/test/MC/AsmParser/altmacro_expression.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AsmParser/altmacro_expression.s?rev=301799&r1=301798&r2=301799&view=diff
==============================================================================
--- llvm/trunk/test/MC/AsmParser/altmacro_expression.s (original)
+++ llvm/trunk/test/MC/AsmParser/altmacro_expression.s Mon May  1 09:00:54 2017
@@ -1,4 +1,4 @@
-# RUN: llvm-mc  %s| FileCheck %s
+# RUN: llvm-mc -triple i386-linux-gnu %s | FileCheck %s
 
 # Checking that the '%' was evaluated as a string first
 # In a fail scenario: The asmprint will print: addl $%(1+4), %eax

Modified: llvm/trunk/test/MC/AsmParser/negativ_altmacro_expression.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AsmParser/negativ_altmacro_expression.s?rev=301799&r1=301798&r2=301799&view=diff
==============================================================================
--- llvm/trunk/test/MC/AsmParser/negativ_altmacro_expression.s (original)
+++ llvm/trunk/test/MC/AsmParser/negativ_altmacro_expression.s Mon May  1 09:00:54 2017
@@ -1,4 +1,4 @@
-# RUN: not llvm-mc  %s 2>&1 | FileCheck %s
+# RUN: not llvm-mc -triple i386-linux-gnu %s 2>&1 | FileCheck %s
 
 # This test is a negative test for the altmacro expression.
 # In this test we check the '.noaltmacro' directive.




More information about the llvm-commits mailing list