[llvm-commits] Fix LLVM tools filename extensions in regress tests for Windows

Danil Malyshev dmalyshev at accesssoftek.com
Thu Feb 17 17:06:06 PST 2011


Hello All

Some tests on Windows use the "not" utility and fail with an error "program not executable". The reason for this error is that the name of the executable file sended to the "not" without the extension.

Attached patch fixes this problem - for each an llvm tool added the file extension.
This is a Windows-specific patch and it does not affect any other platform.
Tested in the MinGW.

The patch fixes the following tests:
    LLVM :: Assembler/2002-07-25-ParserAssertionFailure.ll
    LLVM :: Assembler/2003-04-15-ConstantInitAssertion.ll
    LLVM :: Assembler/2003-05-21-MalformedShiftCrash.ll
    LLVM :: Assembler/2003-05-21-MalformedStructCrash.ll
    LLVM :: Assembler/2003-11-11-ImplicitRename.ll
    LLVM :: Assembler/2003-11-24-SymbolTableCrash.ll
    LLVM :: Assembler/2003-12-30-TypeMapInvalidMemory.ll
    LLVM :: Assembler/2004-03-30-UnclosedFunctionCrash.ll
    LLVM :: Assembler/2004-11-28-InvalidTypeCrash.ll
    LLVM :: Assembler/2006-09-28-CrashOnInvalid.ll
    LLVM :: Assembler/2007-01-02-Undefined-Arg-Type.ll
    LLVM :: Assembler/2007-01-16-CrashOnBadCast.ll
    LLVM :: Assembler/2007-01-16-CrashOnBadCast2.ll
    LLVM :: Assembler/2007-03-18-InvalidNumberedVar.ll
    LLVM :: Assembler/2007-08-06-AliasInvalid.ll
    LLVM :: Assembler/2007-11-26-AttributeOverload.ll
    LLVM :: Assembler/2008-02-18-IntPointerCrash.ll
    LLVM :: Assembler/2008-09-02-FunctionNotes2.ll
    LLVM :: Assembler/align-inst-alloca.ll
    LLVM :: Assembler/align-inst-load.ll
    LLVM :: Assembler/align-inst-store.ll
    LLVM :: Assembler/extractvalue-invalid-idx.ll
    LLVM :: Assembler/getelementptr_struct.ll
    LLVM :: Assembler/insertvalue-invalid-idx.ll
    LLVM :: Bitcode/null-type.ll
    LLVM :: CodeGen/X86/GC/badreadproto.ll
    LLVM :: CodeGen/X86/GC/badrootproto.ll
    LLVM :: CodeGen/X86/GC/badwriteproto.ll
    LLVM :: CodeGen/X86/GC/fat.ll
    LLVM :: CodeGen/X86/GC/outside.ll
    LLVM :: CodeGen/X86/label-redefinition.ll
    LLVM :: CodeGen/X86/nosse-error1.ll
    LLVM :: CodeGen/X86/nosse-error2.ll
    LLVM :: Feature/globalredefinition3.ll
    LLVM :: Linker/link-messages.ll
    LLVM :: Linker/redefinition.ll
    LLVM :: MC/AsmParser/dash-n.s
    LLVM :: MC/AsmParser/directive_abort.s
    LLVM :: MC/AsmParser/equ.s
    LLVM :: MC/AsmParser/expr_symbol_modifiers.s
    LLVM :: MC/AsmParser/macros-parsing.s
    LLVM :: MC/AsmParser/paren.s
    LLVM :: MC/AsmParser/variables-invalid.s
    LLVM :: MC/ELF/bad-section.s
    LLVM :: MC/ELF/diff2.s
    LLVM :: MC/ELF/invalid-symver.s
    LLVM :: MC/X86/x86_errors.s
    LLVM :: Other/2009-09-14-function-elements.ll
    LLVM :: Other/invalid-commandline-option.ll
    LLVM :: TableGen/BitsInitOverflow.td
    LLVM :: TableGen/UnterminatedComment.td
    LLVM :: Verifier/2002-04-13-RetTypes.ll
    LLVM :: Verifier/2002-11-05-GetelementptrPointers.ll
    LLVM :: Verifier/2004-05-21-SwitchConstantMismatch.ll
    LLVM :: Verifier/2005-03-21-UndefinedTypeReference.ll
    LLVM :: Verifier/2006-10-15-AddrLabel.ll
    LLVM :: Verifier/2006-12-12-IntrinsicDefine.ll
    LLVM :: Verifier/2007-12-21-InvokeParamAttrs.ll
    LLVM :: Verifier/2008-01-11-VarargAttrs.ll
    LLVM :: Verifier/2008-03-01-AllocaSized.ll
    LLVM :: Verifier/2008-08-22-MemCpyAlignment.ll
    LLVM :: Verifier/2008-11-15-RetVoid.ll
    LLVM :: Verifier/2009-05-29-InvokeResult1.ll
    LLVM :: Verifier/2009-05-29-InvokeResult2.ll
    LLVM :: Verifier/2009-05-29-InvokeResult3.ll
    LLVM :: Verifier/2010-08-07-PointerIntrinsic.ll
    LLVM :: Verifier/AmbiguousPhi.ll
    LLVM :: Verifier/PhiGrouping.ll
    LLVM :: Verifier/SelfReferential.ll
    LLVM :: Verifier/aliasing-chain.ll
    LLVM :: Verifier/byval-1.ll
    LLVM :: Verifier/byval-2.ll
    LLVM :: Verifier/gcread-ptrptr.ll
    LLVM :: Verifier/gcroot-alloca.ll
    LLVM :: Verifier/gcroot-meta.ll
    LLVM :: Verifier/gcroot-ptrptr.ll
    LLVM :: Verifier/gcwrite-ptrptr.ll
    LLVM :: Verifier/invoke-1.ll
    LLVM :: Verifier/invoke-2.ll

Thank you,
Danil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110217/32507d87/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-exp-01.patch
Type: application/octet-stream
Size: 1073 bytes
Desc: fix-exp-01.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110217/32507d87/attachment.obj>


More information about the llvm-commits mailing list