Blame SOURCES/0001-lit.cfg-Add-hack-so-lit-can-find-not-and-FileCheck.patch

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