[llvm-commits] CVS: llvm/test/Regression/Archive/ranlib_GNU.ll ranlib_MacOSX.ll ranlib_SVR4.ll ranlib_xpg4.ll toc_GNU.ll toc_MacOSX.ll toc_SVR4.ll toc_xpg4.ll

Reid Spencer reid at x10sys.com
Fri Nov 26 22:44:20 PST 2004



Changes in directory llvm/test/Regression/Archive:

ranlib_GNU.ll updated: 1.5 -> 1.6
ranlib_MacOSX.ll updated: 1.4 -> 1.5
ranlib_SVR4.ll updated: 1.5 -> 1.6
ranlib_xpg4.ll updated: 1.5 -> 1.6
toc_GNU.ll updated: 1.2 -> 1.3
toc_MacOSX.ll updated: 1.2 -> 1.3
toc_SVR4.ll updated: 1.2 -> 1.3
toc_xpg4.ll updated: 1.2 -> 1.3
---
Log message:

Don't depend on grep or sed to be portable at all. Just compare against
static test files.


---
Diffs of the changes:  (+6 -36)

Index: llvm/test/Regression/Archive/ranlib_GNU.ll
diff -u llvm/test/Regression/Archive/ranlib_GNU.ll:1.5 llvm/test/Regression/Archive/ranlib_GNU.ll:1.6
--- llvm/test/Regression/Archive/ranlib_GNU.ll:1.5	Sat Nov 27 00:27:30 2004
+++ llvm/test/Regression/Archive/ranlib_GNU.ll	Sat Nov 27 00:44:10 2004
@@ -4,9 +4,4 @@
 ;RUN: cp %p/GNU.a %t.GNU.a
 ;RUN: llvm-ranlib %t.GNU.a
 ;RUN: llvm-ar t %t.GNU.a > %t1
-;RUN: grep -v '^;' %s >%t2
-;RUN: diff %t2 %t1
-evenlen
-oddlen
-very_long_bytecode_file_name.bc
-IsNAN.o
+;RUN: diff %t1 %p/GNU.toc


Index: llvm/test/Regression/Archive/ranlib_MacOSX.ll


Index: llvm/test/Regression/Archive/ranlib_SVR4.ll
diff -u llvm/test/Regression/Archive/ranlib_SVR4.ll:1.5 llvm/test/Regression/Archive/ranlib_SVR4.ll:1.6
--- llvm/test/Regression/Archive/ranlib_SVR4.ll:1.5	Sat Nov 27 00:27:30 2004
+++ llvm/test/Regression/Archive/ranlib_SVR4.ll	Sat Nov 27 00:44:10 2004
@@ -4,9 +4,4 @@
 ;RUN: cp %p/SVR4.a %t.SVR4.a
 ;RUN: llvm-ranlib %t.SVR4.a
 ;RUN: llvm-ar t %t.SVR4.a > %t1
-;RUN: grep -v '^;' %s >%t2
-;RUN: diff %t2 %t1
-evenlen
-oddlen
-very_long_bytecode_file_name.bc
-IsNAN.o
+;RUN: diff %t1 %p/SVR4.toc


Index: llvm/test/Regression/Archive/ranlib_xpg4.ll
diff -u llvm/test/Regression/Archive/ranlib_xpg4.ll:1.5 llvm/test/Regression/Archive/ranlib_xpg4.ll:1.6
--- llvm/test/Regression/Archive/ranlib_xpg4.ll:1.5	Sat Nov 27 00:27:30 2004
+++ llvm/test/Regression/Archive/ranlib_xpg4.ll	Sat Nov 27 00:44:10 2004
@@ -4,9 +4,4 @@
 ;RUN: cp %p/xpg4.a %t.xpg4.a
 ;RUN: llvm-ranlib %t.xpg4.a
 ;RUN: llvm-ar t %t.xpg4.a > %t1
-;RUN: grep -v '^;' %s >%t2
-;RUN: diff %t2 %t1
-evenlen
-oddlen
-very_long_bytecode_file_name.bc
-IsNAN.o
+;RUN: diff %t1 %p/xpg4.toc


Index: llvm/test/Regression/Archive/toc_GNU.ll
diff -u llvm/test/Regression/Archive/toc_GNU.ll:1.2 llvm/test/Regression/Archive/toc_GNU.ll:1.3
--- llvm/test/Regression/Archive/toc_GNU.ll:1.2	Sat Nov 27 00:27:30 2004
+++ llvm/test/Regression/Archive/toc_GNU.ll	Sat Nov 27 00:44:10 2004
@@ -2,9 +2,4 @@
 ;This test just makes sure that llvm-ar can generate a table of contents for
 ;GNU style archives
 ;RUN: llvm-ar t %p/GNU.a > %t1
-;RUN: grep -v '^;' %s >%t2
-;RUN: diff %t2 %t1
-evenlen
-oddlen
-very_long_bytecode_file_name.bc
-IsNAN.o
+;RUN: diff %t1 %p/GNU.toc


Index: llvm/test/Regression/Archive/toc_MacOSX.ll


Index: llvm/test/Regression/Archive/toc_SVR4.ll
diff -u llvm/test/Regression/Archive/toc_SVR4.ll:1.2 llvm/test/Regression/Archive/toc_SVR4.ll:1.3
--- llvm/test/Regression/Archive/toc_SVR4.ll:1.2	Sat Nov 27 00:27:30 2004
+++ llvm/test/Regression/Archive/toc_SVR4.ll	Sat Nov 27 00:44:10 2004
@@ -2,9 +2,4 @@
 ;This test just makes sure that llvm-ar can generate a table of contents for
 ;SVR4 style archives
 ;RUN: llvm-ar t %p/SVR4.a > %t1
-;RUN: grep -v '^;' %s >%t2
-;RUN: diff %t2 %t1
-evenlen
-oddlen
-very_long_bytecode_file_name.bc
-IsNAN.o
+;RUN: diff %t1 %p/SVR4.toc


Index: llvm/test/Regression/Archive/toc_xpg4.ll
diff -u llvm/test/Regression/Archive/toc_xpg4.ll:1.2 llvm/test/Regression/Archive/toc_xpg4.ll:1.3
--- llvm/test/Regression/Archive/toc_xpg4.ll:1.2	Sat Nov 27 00:27:30 2004
+++ llvm/test/Regression/Archive/toc_xpg4.ll	Sat Nov 27 00:44:10 2004
@@ -2,9 +2,4 @@
 ;This test just makes sure that llvm-ar can generate a table of contents for
 ;xpg4 style archives
 ;RUN: llvm-ar t %p/xpg4.a > %t1
-;RUN: grep -v '^;' %s >%t2
-;RUN: diff %t2 %t1
-evenlen
-oddlen
-very_long_bytecode_file_name.bc
-IsNAN.o
+;RUN: diff %t1 %p/xpg4.toc






More information about the llvm-commits mailing list