mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
Rename tests/Unit to tests/unit
This is more uniform with the directory structure we have in revng
This commit is contained in:
+1
-1
@@ -5,4 +5,4 @@
|
||||
enable_testing()
|
||||
|
||||
# Give control to the various subdirectories
|
||||
include(${CMAKE_SOURCE_DIR}/tests/Unit/UnitTests.cmake)
|
||||
include(${CMAKE_SOURCE_DIR}/tests/unit/UnitTests.cmake)
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
configure_file(
|
||||
${CMAKE_SOURCE_DIR}/tests/Unit/llvm-lit-tests/lit.site.cfg.py.in
|
||||
${CMAKE_BINARY_DIR}/tests/Unit/llvm-lit-tests/lit.site.cfg.py @ONLY)
|
||||
|
||||
add_test(NAME llvm-lit-tests
|
||||
COMMAND lit -a ${CMAKE_BINARY_DIR}/tests/Unit/llvm-lit-tests/)
|
||||
@@ -6,7 +6,7 @@ cmake_policy(SET CMP0060 NEW)
|
||||
|
||||
include(${CMAKE_INSTALL_PREFIX}/share/revng/qa/cmake/revng-qa.cmake)
|
||||
|
||||
set(SRC "${CMAKE_SOURCE_DIR}/tests/Unit")
|
||||
set(SRC "${CMAKE_SOURCE_DIR}/tests/unit")
|
||||
|
||||
include(${SRC}/llvm-lit-tests/CMakeLists.txt)
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
configure_file(
|
||||
${CMAKE_SOURCE_DIR}/tests/unit/llvm-lit-tests/lit.site.cfg.py.in
|
||||
${CMAKE_BINARY_DIR}/tests/unit/llvm-lit-tests/lit.site.cfg.py @ONLY)
|
||||
|
||||
add_test(NAME llvm-lit-tests
|
||||
COMMAND lit -a ${CMAKE_BINARY_DIR}/tests/unit/llvm-lit-tests/)
|
||||
+1
-1
@@ -7,4 +7,4 @@ import os
|
||||
config.my_src_root=r'@CMAKE_SOURCE_DIR@'
|
||||
config.my_obj_root=r'@CMAKE_BINARY_DIR@'
|
||||
lit_config.load_config(config, os.path.join(config.my_src_root,
|
||||
'tests/Unit/llvm-lit-tests/lit.cfg.py'))
|
||||
'tests/unit/llvm-lit-tests/lit.cfg.py'))
|
||||
Reference in New Issue
Block a user