From 56b6b9d944d89fdecef66dea5e625c6e4136f03d Mon Sep 17 00:00:00 2001
From: Akash Kothari <akashk4@tyler.cs.illinois.edu>
Date: Tue, 28 Jan 2020 03:43:35 -0600
Subject: [PATCH] Add updated LIT infrastructure

---
 hpvm/test/CMakeLists.txt | 7 -------
 hpvm/test/lit.cfg.py     | 2 --
 2 files changed, 9 deletions(-)

diff --git a/hpvm/test/CMakeLists.txt b/hpvm/test/CMakeLists.txt
index 8bd57df5eb..fc9e3a030b 100644
--- a/hpvm/test/CMakeLists.txt
+++ b/hpvm/test/CMakeLists.txt
@@ -22,13 +22,6 @@ configure_lit_site_cfg(
   MAIN_CONFIG
   ${CMAKE_CURRENT_SOURCE_DIR}/lit.cfg.py
   )
-configure_lit_site_cfg(
-  ${CMAKE_CURRENT_SOURCE_DIR}/Unit/lit.site.cfg.py.in
-  ${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg.py
-  MAIN_CONFIG
-  ${CMAKE_CURRENT_SOURCE_DIR}/Unit/lit.cfg.py
-  )
-
 
 # Set the depends list as a variable so that it can grow conditionally.
 # NOTE: Sync the substitutions in test/lit.cfg when adding to this list.
diff --git a/hpvm/test/lit.cfg.py b/hpvm/test/lit.cfg.py
index 86acab4f03..1f78a88103 100644
--- a/hpvm/test/lit.cfg.py
+++ b/hpvm/test/lit.cfg.py
@@ -59,8 +59,6 @@ llvm_config.with_environment(
 # Set up OCAMLRUNPARAM to enable backtraces in OCaml tests.
 llvm_config.with_environment('OCAMLRUNPARAM', 'b')
 
-llvm_config.with_environment('LLVM_SRC_ROOT', config.llvm_src_root)
-
 # Provide the path to asan runtime lib 'libclang_rt.asan_osx_dynamic.dylib' if
 # available. This is darwin specific since it's currently only needed on darwin.
 
-- 
GitLab