[PATCH] D62050: [Analysis] Only run plugins tests if plugins are actually enabled

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 20 18:29:21 PDT 2019


vitalybuka added a comment.

This also breaks "ninja check-cfi-and-supported" on clean build (run cmake in empty directory)

http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux/builds/21622/steps/check-cfi-and-supported%20in%20gcc%20build/logs/stdio

  100%] Running the cfi regression tests
  llvm-lit: /b/sanitizer-x86_64-linux/build/llvm/utils/lit/lit/TestingConfig.py:102: fatal: unable to parse config file '/b/sanitizer-x86_64-linux/build/llvm/projects/compiler-rt/test/cfi/lit.cfg', traceback: Traceback (most recent call last):
    File "/b/sanitizer-x86_64-linux/build/llvm/utils/lit/lit/TestingConfig.py", line 89, in load_from_path
      exec(compile(data, path, 'exec'), cfg_globals, None)
    File "/b/sanitizer-x86_64-linux/build/llvm/projects/compiler-rt/test/cfi/lit.cfg", line 46, in <module>
      raise BaseException("Tests unsupported")
  BaseException: Tests unsupported
  
  projects/compiler-rt/test/cfi/CMakeFiles/check-cfi-and-supported.dir/build.make:57: recipe for target 'projects/compiler-rt/test/cfi/CMakeFiles/check-cfi-and-supported' failed
  make[3]: *** [projects/compiler-rt/test/cfi/CMakeFiles/check-cfi-and-supported] Error 2
  CMakeFiles/Makefile2:37638: recipe for target 'projects/compiler-rt/test/cfi/CMakeFiles/check-cfi-and-supported.dir/all' failed
  make[2]: *** [projects/compiler-rt/test/cfi/CMakeFiles/check-cfi-and-supported.dir/all] Error 2
  CMakeFiles/Makefile2:37645: recipe for target 'projects/compiler-rt/test/cfi/CMakeFiles/check-cfi-and-supported.dir/rule' failed
  make[1]: *** [projects/compiler-rt/test/cfi/CMakeFiles/check-cfi-and-supported.dir/rule] Error 2
  Makefile:12157: recipe for target 'check-cfi-and-supported' failed
  make: *** [check-cfi-and-supported] Error 2
  + echo @@@STEP_FAILURE@@@
  + check_in_gcc 1 dfsan
  @@@STEP_FAILURE@@@
  + CONDITION=1
  + SANITIZER=dfsan
  + '[' 1 == 1 ']'
  + echo @@@BUILD_STEP check-dfsan in gcc build@@@


Repository:
  rL LLVM

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

https://reviews.llvm.org/D62050





More information about the llvm-commits mailing list