[llvm-dlltool] [test] Test both short and long forms of options. NFC.
authorMartin Storsjö <martin@martin.st>
Mon, 14 Jun 2021 10:23:01 +0000 (13:23 +0300)
committerMartin Storsjö <martin@martin.st>
Thu, 17 Jun 2021 10:02:34 +0000 (13:02 +0300)
Differential Revision: https://reviews.llvm.org/D104213

llvm/test/tools/llvm-dlltool/coff-noname.def

index 6631109..27e60ef 100644 (file)
@@ -1,4 +1,6 @@
-; RUN: llvm-dlltool -k -m i386 --input-def %s --output-lib %t.a
+; RUN: llvm-dlltool -k -m i386 -d %s -l %t.a
+; RUN: llvm-readobj %t.a | FileCheck %s
+; RUN: llvm-dlltool --kill-at --machine i386 --input-def %s --output-lib %t.a
 ; RUN: llvm-readobj %t.a | FileCheck %s
 
 LIBRARY test.dll