[PATCH] D58439: [obj2yaml]Locate tests ending in .yaml

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 20 04:55:18 PST 2019


grimar added a comment.

i.e. for example, I have verdef-section.yaml from D58437 <https://reviews.llvm.org/D58437> placed in tools/yaml2obj and no code applied.
And check-llvm fails for me as expected:

  umb at umb-virtual-machine:~/LLVM/build$ ninja check-llvm
  [1/99] Generating VCSRevision.h
  -- Found Subversion: /usr/bin/svn (found version "1.9.3") 
  [22/23] Running the LLVM regression tests
  FAIL: LLVM :: tools/yaml2obj/verdef-section.yaml (29882 of 29889)
  ******************** TEST 'LLVM :: tools/yaml2obj/verdef-section.yaml' FAILED ********************
  Script:
  --
  : 'RUN: at line 1';   /home/umb/LLVM/build/bin/yaml2obj /home/umb/LLVM/llvm/test/tools/yaml2obj/verdef-section.yaml -o /home/umb/LLVM/build/test/tools/yaml2obj/Output/verdef-section.yaml.tmp
  : 'RUN: at line 2';   /home/umb/LLVM/build/bin/llvm-readelf -V /home/umb/LLVM/build/test/tools/yaml2obj/Output/verdef-section.yaml.tmp | /home/umb/LLVM/build/bin/FileCheck /home/umb/LLVM/llvm/test/tools/yaml2obj/verdef-section.yaml
  --
  Exit Code: 1
  
  Command Output (stderr):
  --
  YAML:47:7: error: unknown key 'Entries'
        - Version:         1
        ^
  yaml2obj: Failed to parse YAML file!
  
  --
  
  ********************
  Testing Time: 765.72s
  ********************
  Failing Tests (1):
      LLVM :: tools/yaml2obj/verdef-section.yaml


Repository:
  rL LLVM

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

https://reviews.llvm.org/D58439





More information about the llvm-commits mailing list