aboutsummaryrefslogtreecommitdiffstats
path: root/test/Object/nm-archive.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/Object/nm-archive.test')
-rw-r--r--test/Object/nm-archive.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Object/nm-archive.test b/test/Object/nm-archive.test
index 99efc1bec6..bf56a300e0 100644
--- a/test/Object/nm-archive.test
+++ b/test/Object/nm-archive.test
@@ -30,3 +30,10 @@ RUN: llvm-nm %p/Inputs/archive-test.a-gnu-minimal
And don't crash when asked to print a non existing symtab.
RUN: llvm-nm -s %p/Inputs/archive-test.a-gnu-minimal
+
+
+Test that we at least find the symbol table on an OS X archive. Please update
+this when we are actually able to parse it.
+RUN: not llvm-nm -s %p/Inputs/MacOSX.a 2>&1 | FileCheck %s -check-prefix OSX
+
+OSX: BSD archive format is not supported