summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-02-09 15:15:21 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-02-09 15:15:21 +0000
commit1bb52e00ac39b5699b7ed7eead781cb8fd1a2c84 (patch)
tree03ee6eb66079c82c47277e47786034ac7f7e4b9c /test
parent8d0dbdbe1242164e55bd95f2f1cf488fd7246889 (diff)
downloadexternal_llvm-1bb52e00ac39b5699b7ed7eead781cb8fd1a2c84.zip
external_llvm-1bb52e00ac39b5699b7ed7eead781cb8fd1a2c84.tar.gz
external_llvm-1bb52e00ac39b5699b7ed7eead781cb8fd1a2c84.tar.bz2
Eliminate the use of gccas in the test suite.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34088 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CFrontend/2005-09-24-AsmUserPrefix.c7
-rw-r--r--test/CFrontend/2006-01-13-Includes.c3
-rw-r--r--test/CFrontend/2006-01-13-StackSave.c4
-rw-r--r--test/CFrontend/2006-01-23-FileScopeAsm.c3
-rw-r--r--test/CFrontend/2006-03-03-MissingInitializer.c3
5 files changed, 12 insertions, 8 deletions
diff --git a/test/CFrontend/2005-09-24-AsmUserPrefix.c b/test/CFrontend/2005-09-24-AsmUserPrefix.c
index 06600fa..9db7f69 100644
--- a/test/CFrontend/2005-09-24-AsmUserPrefix.c
+++ b/test/CFrontend/2005-09-24-AsmUserPrefix.c
@@ -1,6 +1,7 @@
-// RUN: %llvmgcc %s -S -o - | gccas &&
-// RUN: %llvmgcc %s -S -o - | gccas | llc &&
-// RUN: %llvmgcc %s -S -o - | gccas | llc | not grep _foo2
+// RUN: %llvmgcc %s -S -o - | llvm-as | opt -std-compile-opts &&
+// RUN: %llvmgcc %s -S -o - | llvm-as | opt -std-compile-opts | llc &&
+// RUN: %llvmgcc %s -S -o - | llvm-as | llc -std-compile-opts | llc | \
+// RUN: not grep _foo2
void foo() __asm__("foo2");
diff --git a/test/CFrontend/2006-01-13-Includes.c b/test/CFrontend/2006-01-13-Includes.c
index fcaf374..5847e9ee 100644
--- a/test/CFrontend/2006-01-13-Includes.c
+++ b/test/CFrontend/2006-01-13-Includes.c
@@ -1,4 +1,5 @@
-// RUN: %llvmgcc %s -g -S -o - | gccas | llvm-dis | grep "test/CFrontend"
+// RUN: %llvmgcc %s -g -S -o - | llvm-as | opt -std-compile-opts | \
+// RUN: llvm-dis | grep "test/CFrontend"
// PR676
#include <stdio.h>
diff --git a/test/CFrontend/2006-01-13-StackSave.c b/test/CFrontend/2006-01-13-StackSave.c
index 7522dd5..dfe00fb 100644
--- a/test/CFrontend/2006-01-13-StackSave.c
+++ b/test/CFrontend/2006-01-13-StackSave.c
@@ -1,6 +1,6 @@
-// RUN: %llvmgcc %s -S -o - | gccas | llvm-dis | grep llvm.stacksave
-
// PR691
+// RUN: %llvmgcc %s -S -o - | llvm-as | opt -std-compile-opts | \
+// RUN: llvm-dis | grep llvm.stacksave
void test(int N) {
int i;
diff --git a/test/CFrontend/2006-01-23-FileScopeAsm.c b/test/CFrontend/2006-01-23-FileScopeAsm.c
index 8fae8c7..14f85ac 100644
--- a/test/CFrontend/2006-01-23-FileScopeAsm.c
+++ b/test/CFrontend/2006-01-23-FileScopeAsm.c
@@ -1,4 +1,5 @@
-// RUN: %llvmgcc %s -S -o - | gccas | llvm-dis | grep foo[12345] | wc -l | grep 5
+// RUN: %llvmgcc %s -S -o - | llvm-as | opt -std-compile-opts | \
+// RUN: llvm-dis | grep foo[12345] | wc -l | grep 5
__asm__ ("foo1");
__asm__ ("foo2");
diff --git a/test/CFrontend/2006-03-03-MissingInitializer.c b/test/CFrontend/2006-03-03-MissingInitializer.c
index 5a2acb5..e791784 100644
--- a/test/CFrontend/2006-03-03-MissingInitializer.c
+++ b/test/CFrontend/2006-03-03-MissingInitializer.c
@@ -1,4 +1,5 @@
-// RUN: %llvmgcc %s -S -o - | gccas | llvm-dis | grep nate | grep 'global i32 0'
+// RUN: %llvmgcc %s -S -o - | llvm-as | opt -std-compile-opts | \
+// RUN: llvm-dis | grep '@nate.*internal global i32 0'
struct X { int *XX; int Y;};