[PATCH] D87122: [test][MC] Rehabilitate llvm/test/MC/COFF/bigobj.py
Hubert Tong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 3 20:38:02 PDT 2020
hubert.reinterpretcast created this revision.
hubert.reinterpretcast added reviewers: jasonliu, daltenty, majnemer.
Herald added a project: LLVM.
hubert.reinterpretcast requested review of this revision.
The subject test was not actually running. This patch adds the relevant suffix to the list of lit case filename extensions for the enclosing directory.
Minor adjustments are also made to deal with bit rot.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D87122
Files:
llvm/test/MC/COFF/bigobj.py
llvm/test/MC/COFF/lit.local.cfg
Index: llvm/test/MC/COFF/lit.local.cfg
===================================================================
--- llvm/test/MC/COFF/lit.local.cfg
+++ llvm/test/MC/COFF/lit.local.cfg
@@ -1,2 +1,4 @@
if not 'X86' in config.root.targets:
config.unsupported = True
+
+config.suffixes.add('.py')
Index: llvm/test/MC/COFF/bigobj.py
===================================================================
--- llvm/test/MC/COFF/bigobj.py
+++ llvm/test/MC/COFF/bigobj.py
@@ -1,4 +1,4 @@
-# RUN: python %s | llvm-mc -filetype=obj -triple i686-pc-win32 - | llvm-readobj -h | FileCheck %s
+# RUN: python %s | llvm-mc -filetype=obj -triple i686-pc-win32 - | llvm-readobj -h - | FileCheck %s
from __future__ import print_function
@@ -15,6 +15,7 @@
# CHECK-NEXT: TimeDateStamp: {{[0-9]+}}
# CHECK-NEXT: PointerToSymbolTable: 0x{{[0-9A-F]+}}
# CHECK-NEXT: SymbolCount: 195837
+# CHECK-NEXT: StringTableSize: {{[0-9]+}}
# CHECK-NEXT: OptionalHeaderSize: 0
# CHECK-NEXT: Characteristics [ (0x0)
# CHECK-NEXT: ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87122.289848.patch
Type: text/x-patch
Size: 1017 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200904/15a58435/attachment.bin>
More information about the llvm-commits
mailing list