Skip to content

Commit

Permalink
Align Checked C lit configuration scripts with clang's scripts again. (
Browse files Browse the repository at this point in the history
…#16)

Cherry-picked from commit 2ca19552da07bd697aa84cea8289cbe3e5bb1462

    We have a separate test directory  for Checked C language feature tests.  These need their own lit configuration scripts. We've cloned the clang lit configuration scripts and altered them slightly for this purpose. The Checked C scripts have diverged from the clang ones because we haven't been tracking changes to the clang scripts.  This brings the scripts back into alignment.
  • Loading branch information
dtarditi authored and Mandeep Singh Grang committed Sep 27, 2019
1 parent 6ed582a commit 53decbb
Show file tree
Hide file tree
Showing 4 changed files with 229 additions and 442 deletions.
6 changes: 3 additions & 3 deletions llvm/projects/checkedc-wrapper/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ if(CHECKEDC_IN_TREE)
string(REPLACE ${CMAKE_CFG_INTDIR} ${LLVM_BUILD_MODE} CLANG_TOOLS_DIR ${LLVM_RUNTIME_OUTPUT_INTDIR})

configure_lit_site_cfg(
${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in
${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg
${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.py.in
${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg.py
)

list(APPEND CHECKEDC_TEST_DEPS
Expand All @@ -38,7 +38,7 @@ if(CHECKEDC_IN_TREE)
endif()

set(CHECKEDC_TEST_PARAMS
checkedc_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg
checkedc_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg.py
)

if( NOT CLANG_BUILT_STANDALONE )
Expand Down
Loading

0 comments on commit 53decbb

Please sign in to comment.