[llvm] 4fe3d52 - [llvm-dlltool] [test] Test both short and long forms of options. NFC.

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 17 03:02:48 PDT 2021


Author: Martin Storsjö
Date: 2021-06-17T13:02:34+03:00
New Revision: 4fe3d5248dfae0a864f0cf0c77d10c4a966f05a9

URL: https://github.com/llvm/llvm-project/commit/4fe3d5248dfae0a864f0cf0c77d10c4a966f05a9
DIFF: https://github.com/llvm/llvm-project/commit/4fe3d5248dfae0a864f0cf0c77d10c4a966f05a9.diff

LOG: [llvm-dlltool] [test] Test both short and long forms of options. NFC.

Differential Revision: https://reviews.llvm.org/D104213

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/llvm-dlltool/coff-noname.def b/llvm/test/tools/llvm-dlltool/coff-noname.def
index 6631109ebef7..27e60efbd2d8 100644
--- a/llvm/test/tools/llvm-dlltool/coff-noname.def
+++ b/llvm/test/tools/llvm-dlltool/coff-noname.def
@@ -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


        


More information about the llvm-commits mailing list