[PATCH] D65273: [llvm-objcopy] - Reimplement strip-dwo-groups.test to stop using the precompiled object.

Guillaume Chatelet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 2 06:35:48 PDT 2019


gchatelet added a comment.

The test appears to fail when the compilation path contains the `debug_` substring.
This is not ideal.

  FAIL: LLVM :: tools/llvm-objcopy/ELF/strip-dwo-groups.test (1254 of 2021)
  ******************** TEST 'LLVM :: tools/llvm-objcopy/ELF/strip-dwo-groups.test' FAILED ********************
  Script:
  --
  : 'RUN: at line 1';   /tmp/llvm-project_debug_compiled-with-clang/bin/yaml2obj /redacted/llvm-project/llvm/test/tools/llvm-objcopy/ELF/strip-dwo-groups.test -o /tmp/llvm-project_debug_compiled-with-clang/test/tools/llvm-objcopy/ELF/Output/strip-dwo-groups.test.tmp
  : 'RUN: at line 2';   /tmp/llvm-project_debug_compiled-with-clang/bin/llvm-objcopy --strip-dwo /tmp/llvm-project_debug_compiled-with-clang/test/tools/llvm-objcopy/ELF/Output/strip-dwo-groups.test.tmp
  : 'RUN: at line 3';   /tmp/llvm-project_debug_compiled-with-clang/bin/llvm-readobj --symbols -S --elf-section-groups /tmp/llvm-project_debug_compiled-with-clang/test/tools/llvm-objcopy/ELF/Output/strip-dwo-groups.test.tmp | /tmp/llvm-project_debug_compiled-with-clang/bin/FileCheck /redacted/llvm-project/llvm/test/tools/llvm-objcopy/ELF/strip-dwo-groups.test --implicit-check-not=debug_
  --
  Exit Code: 1
  
  Command Output (stderr):
  --
  command line:1:22: error: CHECK-NOT: excluded string found in input
  -implicit-check-not='debug_'
                       ^
  <stdin>:2:25: note: found here
  File: /tmp/llvm-project_debug_compiled-with-clang/test/tools/llvm-objcopy/ELF/Output/strip-dwo-groups.test.tmp
                          ^~~~~~
  
  --
  
  ********************
  Testing Time: 6.87s
  ********************
  Failing Tests (1):
      LLVM :: tools/llvm-objcopy/ELF/strip-dwo-groups.test


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65273/new/

https://reviews.llvm.org/D65273





More information about the llvm-commits mailing list