summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-08 23:44:24 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-08 23:44:24 +0000
commit6b3e7bd4eeec3e2c2e7843c21771bde25c1f11ae (patch)
treea403791aa86b85bec3baa9c3faa57ef8f8be0bad
parent683796481941153b710444a822dc7c2eaefe7a8f (diff)
downloadbcm5719-llvm-6b3e7bd4eeec3e2c2e7843c21771bde25c1f11ae.tar.gz
bcm5719-llvm-6b3e7bd4eeec3e2c2e7843c21771bde25c1f11ae.zip
Merge Archive/extract* tests into one; this avoids a race when tests are run in
parallel (the test should really use temps for the output, though). llvm-svn: 81287
-rw-r--r--llvm/test/Archive/extract.ll16
-rw-r--r--llvm/test/Archive/extract_GNU.ll5
-rw-r--r--llvm/test/Archive/extract_MacOSX.ll6
-rw-r--r--llvm/test/Archive/extract_SVR4.ll6
-rw-r--r--llvm/test/Archive/extract_xpg4.ll6
5 files changed, 16 insertions, 23 deletions
diff --git a/llvm/test/Archive/extract.ll b/llvm/test/Archive/extract.ll
new file mode 100644
index 00000000000..3649714259b
--- /dev/null
+++ b/llvm/test/Archive/extract.ll
@@ -0,0 +1,16 @@
+; 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 various style archives.
+
+; RUN: llvm-ar x %p/GNU.a very_long_bytecode_file_name.bc
+; RUN: diff %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc >/dev/null 2>/dev/null
+
+; RUN: llvm-ar x %p/MacOSX.a very_long_bytecode_file_name.bc
+; RUN: diff %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc > /dev/null 2>/dev/null
+
+; RUN: llvm-ar x %p/SVR4.a very_long_bytecode_file_name.bc
+; RUN: diff %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc >/dev/null 2>/dev/null
+
+; RUN: llvm-ar x %p/xpg4.a very_long_bytecode_file_name.bc
+; RUN: diff %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc >/dev/null 2>/dev/null
diff --git a/llvm/test/Archive/extract_GNU.ll b/llvm/test/Archive/extract_GNU.ll
deleted file mode 100644
index f19840a14e5..00000000000
--- a/llvm/test/Archive/extract_GNU.ll
+++ /dev/null
@@ -1,5 +0,0 @@
-;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 %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc >/dev/null 2>/dev/null
diff --git a/llvm/test/Archive/extract_MacOSX.ll b/llvm/test/Archive/extract_MacOSX.ll
deleted file mode 100644
index c811a59b33a..00000000000
--- a/llvm/test/Archive/extract_MacOSX.ll
+++ /dev/null
@@ -1,6 +0,0 @@
-;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 %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc > /dev/null 2>/dev/null
diff --git a/llvm/test/Archive/extract_SVR4.ll b/llvm/test/Archive/extract_SVR4.ll
deleted file mode 100644
index 446d52c211c..00000000000
--- a/llvm/test/Archive/extract_SVR4.ll
+++ /dev/null
@@ -1,6 +0,0 @@
-;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 %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc >/dev/null 2>/dev/null
diff --git a/llvm/test/Archive/extract_xpg4.ll b/llvm/test/Archive/extract_xpg4.ll
deleted file mode 100644
index c816d914d29..00000000000
--- a/llvm/test/Archive/extract_xpg4.ll
+++ /dev/null
@@ -1,6 +0,0 @@
-;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 %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc >/dev/null 2>/dev/null
OpenPOWER on IntegriCloud