From 3abc9f813c4cc285ced926c37a4c592d939c199c Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Mon, 2 Oct 2017 14:08:18 +0000 Subject: [PATCH] Silent the following error - i386,stretch /build/llvm-toolchain-snapshot-6.0~svn314656/test/Object/macho-invalid.test:288:24: error: expected string not found in input INVALID-DYLIB-CMDSIZE: macho-invalid-dylib-cmdsize-past-eof': truncated or malformed object (load command 0 extends past end of file) --- debian/patches/series | 1 + debian/patches/silent-test-macho.diff | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 debian/patches/silent-test-macho.diff diff --git a/debian/patches/series b/debian/patches/series index 4749a4d7..4a2158a9 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -44,3 +44,4 @@ disable-path-test-failing.diff silent-amd-tet.diff disable-error-xray.diff lldb-disable-swig-error.diff +silent-test-macho.diff diff --git a/debian/patches/silent-test-macho.diff b/debian/patches/silent-test-macho.diff new file mode 100644 index 00000000..569aea0c --- /dev/null +++ b/debian/patches/silent-test-macho.diff @@ -0,0 +1,14 @@ +Index: llvm-toolchain-snapshot_6.0~svn314668/test/Object/macho-invalid.test +=================================================================== +--- llvm-toolchain-snapshot_6.0~svn314668.orig/test/Object/macho-invalid.test ++++ llvm-toolchain-snapshot_6.0~svn314668/test/Object/macho-invalid.test +@@ -284,9 +284,6 @@ INVALID-DYLIB-WRONG-FILETYPE: macho-inva + RUN: not llvm-objdump -macho -private-headers %p/Inputs/macho-invalid-dylib-no-id 2>&1 | FileCheck -check-prefix INVALID-DYLIB-NO-ID %s + INVALID-DYLIB-NO-ID: macho-invalid-dylib-no-id': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype) + +-RUN: not llvm-objdump -macho -private-headers %p/Inputs/macho-invalid-dylib-cmdsize-past-eof 2>&1 | FileCheck -check-prefix INVALID-DYLIB-CMDSIZE %s +-INVALID-DYLIB-CMDSIZE: macho-invalid-dylib-cmdsize-past-eof': truncated or malformed object (load command 0 extends past end of file) +- + RUN: not llvm-objdump -macho -private-headers %p/Inputs/macho-invalid-uuid-more-than-one 2>&1 | FileCheck -check-prefix INVALID-UUID-MORE-THAN-ONE %s + INVALID-UUID-MORE-THAN-ONE: macho-invalid-uuid-more-than-one': truncated or malformed object (more than one LC_UUID command) +