5ac6d3e
From 06cde370a44393d65bae7f61279900b5838b4a2c Mon Sep 17 00:00:00 2001
5ac6d3e
From: Tom Stellard <tstellar@redhat.com>
5ac6d3e
Date: Tue, 23 Jan 2018 18:59:20 -0800
5ac6d3e
Subject: [PATCH] lit.cfg: Add hack so lit can find not and FileCheck
5ac6d3e
5ac6d3e
---
5ac6d3e
 test/lit.cfg.py | 3 +++
5ac6d3e
 1 file changed, 3 insertions(+)
5ac6d3e
5ac6d3e
diff --git a/test/lit.cfg.py b/test/lit.cfg.py
5ac6d3e
index 5323cfe..5b4184e 100644
5ac6d3e
--- a/test/lit.cfg.py
5ac6d3e
+++ b/test/lit.cfg.py
5ac6d3e
@@ -39,7 +39,10 @@ config.test_source_root = os.path.dirname(__file__)
5ac6d3e
 # test_exec_root: The root path where tests should be run.
5ac6d3e
 config.test_exec_root = os.path.join(config.clang_obj_root, 'test')
5ac6d3e
 
5ac6d3e
+old_llvm_tools_dir = llvm_config.config.llvm_tools_dir
5ac6d3e
+llvm_config.config.llvm_tools_dir = '/usr/lib@FEDORA_LLVM_LIB_SUFFIX@/llvm'
5ac6d3e
 llvm_config.use_default_substitutions()
5ac6d3e
+llvm_config.config.llvm_tools_dir = old_llvm_tools_dir
5ac6d3e
 
5ac6d3e
 llvm_config.use_clang()
5ac6d3e
 
5ac6d3e
-- 
5ac6d3e
1.8.3.1
5ac6d3e