[llvm-commits] CVS: llvm/test/Regression/Archive/extract_GNU.ll extract_MacOSX.ll extract_SVR4.ll extract_xpg4.ll 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 19 23:25:52 PST 2004



Changes in directory llvm/test/Regression/Archive:

extract_GNU.ll added (r1.1)
extract_MacOSX.ll added (r1.1)
extract_SVR4.ll added (r1.1)
extract_xpg4.ll added (r1.1)
ranlib_GNU.ll added (r1.1)
ranlib_MacOSX.ll added (r1.1)
ranlib_SVR4.ll added (r1.1)
ranlib_xpg4.ll added (r1.1)
toc_GNU.ll added (r1.1)
toc_MacOSX.ll added (r1.1)
toc_SVR4.ll added (r1.1)
toc_xpg4.ll added (r1.1)
---
Log message:

An llvm-ar test.


---
Diffs of the changes:  (+89 -0)

Index: llvm/test/Regression/Archive/extract_GNU.ll
diff -c /dev/null llvm/test/Regression/Archive/extract_GNU.ll:1.1
*** /dev/null	Sat Nov 20 01:25:51 2004
--- llvm/test/Regression/Archive/extract_GNU.ll	Sat Nov 20 01:25:41 2004
***************
*** 0 ****
--- 1,5 ----
+ ;This isn't really an assembly file, its just here to run the test.
+ ;This test just makes sure that llvm-ar can extract bytecode members
+ ;from GNU style archives
+ ;RUN: llvm-ar x %p/GNU.a very_long_bytecode_file_name.bc
+ ;RUN: diff -q %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc


Index: llvm/test/Regression/Archive/extract_MacOSX.ll
diff -c /dev/null llvm/test/Regression/Archive/extract_MacOSX.ll:1.1
*** /dev/null	Sat Nov 20 01:25:52 2004
--- llvm/test/Regression/Archive/extract_MacOSX.ll	Sat Nov 20 01:25:41 2004
***************
*** 0 ****
--- 1,6 ----
+ ;This isn't really an assembly file, its just here to run the test.
+ ;This test just makes sure that llvm-ar can extract bytecode members
+ ;from MacOSX style archives
+ 
+ ;RUN: llvm-ar x %p/MacOSX.a very_long_bytecode_file_name.bc
+ ;RUN: diff -q %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc


Index: llvm/test/Regression/Archive/extract_SVR4.ll
diff -c /dev/null llvm/test/Regression/Archive/extract_SVR4.ll:1.1
*** /dev/null	Sat Nov 20 01:25:52 2004
--- llvm/test/Regression/Archive/extract_SVR4.ll	Sat Nov 20 01:25:41 2004
***************
*** 0 ****
--- 1,6 ----
+ ;This isn't really an assembly file, its just here to run the test.
+ ;This test just makes sure that llvm-ar can extract bytecode members
+ ;from SVR4 style archives
+ 
+ ;RUN: llvm-ar x %p/SVR4.a very_long_bytecode_file_name.bc
+ ;RUN: diff -q %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc


Index: llvm/test/Regression/Archive/extract_xpg4.ll
diff -c /dev/null llvm/test/Regression/Archive/extract_xpg4.ll:1.1
*** /dev/null	Sat Nov 20 01:25:52 2004
--- llvm/test/Regression/Archive/extract_xpg4.ll	Sat Nov 20 01:25:41 2004
***************
*** 0 ****
--- 1,6 ----
+ ;This isn't really an assembly file, its just here to run the test.
+ ;This test just makes sure that llvm-ar can extract bytecode members
+ ;from xpg4 style archives
+ 
+ ;RUN: llvm-ar x %p/xpg4.a very_long_bytecode_file_name.bc
+ ;RUN: diff -q %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc


Index: llvm/test/Regression/Archive/ranlib_GNU.ll
diff -c /dev/null llvm/test/Regression/Archive/ranlib_GNU.ll:1.1
*** /dev/null	Sat Nov 20 01:25:52 2004
--- llvm/test/Regression/Archive/ranlib_GNU.ll	Sat Nov 20 01:25:41 2004
***************
*** 0 ****
--- 1,12 ----
+ ;This isn't really an assembly file, its just here to run the test.
+ ;This test just makes sure that llvm-ar can generate a symbol table for
+ ;GNU style archives
+ ;RUN: cp %p/GNU.a . 
+ ;RUN: llvm-ranlib GNU.a
+ ;RUN: llvm-ar t GNU.a > %t1
+ ;RUN: sed -e '/^;.*/d' %s >%t2
+ ;RUN: diff %t2 %t1
+ evenlen
+ oddlen
+ very_long_bytecode_file_name.bc
+ IsNAN.o


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


Index: llvm/test/Regression/Archive/ranlib_SVR4.ll
diff -c /dev/null llvm/test/Regression/Archive/ranlib_SVR4.ll:1.1
*** /dev/null	Sat Nov 20 01:25:52 2004
--- llvm/test/Regression/Archive/ranlib_SVR4.ll	Sat Nov 20 01:25:41 2004
***************
*** 0 ****
--- 1,12 ----
+ ;This isn't really an assembly file, its just here to run the test.
+ ;This test just makes sure that llvm-ar can generate a symbol table for
+ ;SVR4 style archives
+ ;RUN: cp %p/SVR4.a . 
+ ;RUN: llvm-ranlib SVR4.a
+ ;RUN: llvm-ar t SVR4.a > %t1
+ ;RUN: sed -e '/^;.*/d' %s >%t2
+ ;RUN: diff %t2 %t1
+ evenlen
+ oddlen
+ very_long_bytecode_file_name.bc
+ IsNAN.o


Index: llvm/test/Regression/Archive/ranlib_xpg4.ll
diff -c /dev/null llvm/test/Regression/Archive/ranlib_xpg4.ll:1.1
*** /dev/null	Sat Nov 20 01:25:52 2004
--- llvm/test/Regression/Archive/ranlib_xpg4.ll	Sat Nov 20 01:25:41 2004
***************
*** 0 ****
--- 1,12 ----
+ ;This isn't really an assembly file, its just here to run the test.
+ ;This test just makes sure that llvm-ar can generate a symbol table for
+ ;xpg4 style archives
+ ;RUN: cp %p/xpg4.a . 
+ ;RUN: llvm-ranlib xpg4.a
+ ;RUN: llvm-ar t xpg4.a > %t1
+ ;RUN: sed -e '/^;.*/d' %s >%t2
+ ;RUN: diff %t2 %t1
+ evenlen
+ oddlen
+ very_long_bytecode_file_name.bc
+ IsNAN.o


Index: llvm/test/Regression/Archive/toc_GNU.ll
diff -c /dev/null llvm/test/Regression/Archive/toc_GNU.ll:1.1
*** /dev/null	Sat Nov 20 01:25:52 2004
--- llvm/test/Regression/Archive/toc_GNU.ll	Sat Nov 20 01:25:41 2004
***************
*** 0 ****
--- 1,10 ----
+ ;This isn't really an assembly file, its just here to run the test.
+ ;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: sed -e '/^;.*/d' %s >%t2
+ ;RUN: diff %t2 %t1
+ evenlen
+ oddlen
+ very_long_bytecode_file_name.bc
+ IsNAN.o


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


Index: llvm/test/Regression/Archive/toc_SVR4.ll
diff -c /dev/null llvm/test/Regression/Archive/toc_SVR4.ll:1.1
*** /dev/null	Sat Nov 20 01:25:52 2004
--- llvm/test/Regression/Archive/toc_SVR4.ll	Sat Nov 20 01:25:41 2004
***************
*** 0 ****
--- 1,10 ----
+ ;This isn't really an assembly file, its just here to run the test.
+ ;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: sed -e '/^;.*/d' %s >%t2
+ ;RUN: diff %t2 %t1
+ evenlen
+ oddlen
+ very_long_bytecode_file_name.bc
+ IsNAN.o


Index: llvm/test/Regression/Archive/toc_xpg4.ll
diff -c /dev/null llvm/test/Regression/Archive/toc_xpg4.ll:1.1
*** /dev/null	Sat Nov 20 01:25:52 2004
--- llvm/test/Regression/Archive/toc_xpg4.ll	Sat Nov 20 01:25:41 2004
***************
*** 0 ****
--- 1,10 ----
+ ;This isn't really an assembly file, its just here to run the test.
+ ;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: sed -e '/^;.*/d' %s >%t2
+ ;RUN: diff %t2 %t1
+ evenlen
+ oddlen
+ very_long_bytecode_file_name.bc
+ IsNAN.o






More information about the llvm-commits mailing list