mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
04e540582b
Summary: Make sure that FileCheck is built when running check-fuzzer Test Plan: run on bot: lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fuzzer Reviewers: samsonov Reviewed By: samsonov Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D7387 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228045 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
528 B
INI
15 lines
528 B
INI
import lit.formats
|
|
|
|
config.name = "LLVMFuzzer"
|
|
config.test_format = lit.formats.ShTest(True)
|
|
config.suffixes = ['.test']
|
|
config.test_source_root = os.path.dirname(__file__)
|
|
|
|
# Tweak PATH to include llvm tools dir.
|
|
llvm_tools_dir = getattr(config, 'llvm_tools_dir', None)
|
|
if (not llvm_tools_dir) or (not os.path.exists(llvm_tools_dir)):
|
|
lit_config.fatal("Invalid llvm_tools_dir config attribute: %r" % llvm_tools_dir)
|
|
path = os.path.pathsep.join((llvm_tools_dir, config.environment['PATH']))
|
|
config.environment['PATH'] = path
|
|
|