Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
b49ae6e46c |
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -4,3 +4,6 @@
|
||||
[submodule "linklist-lib"]
|
||||
path = linklist-lib
|
||||
url = https://git.shimatta.de/mhu/linklist-lib.git
|
||||
[submodule "test/catch2"]
|
||||
path = test/catch2
|
||||
url = https://git.shimatta.de/3rd-party/catch2.git
|
||||
|
@ -91,3 +91,5 @@ else (DOXYGEN_FOUND)
|
||||
message("${BoldMagenta}Doxygen needs to be installed to generate the doxygen documentation${ColorReset}")
|
||||
message("${BoldMagenta}doxygen target will not be available${ColorReset}")
|
||||
endif (DOXYGEN_FOUND)
|
||||
|
||||
add_subdirectory(test)
|
||||
|
9
bash-completion/patchelfcrc
Normal file
9
bash-completion/patchelfcrc
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
function _patchelfcrc() {
|
||||
echo "Cursor index: $COMP_CWORD"
|
||||
echo "line as array: $COMP_WORDS"
|
||||
echo "line as string: $COMP_LINE"
|
||||
}
|
||||
|
||||
complete -F _patchelfcrc patchelfcrc
|
11
test/CMakeLists.txt
Normal file
11
test/CMakeLists.txt
Normal file
@ -0,0 +1,11 @@
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
project(patchelfcrc-test LANGUAGES CXX C)
|
||||
add_subdirectory(catch2 EXCLUDE_FROM_ALL)
|
||||
|
||||
add_custom_target(test "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}" "-r compact" "-s" DEPENDS ${PROJECT_NAME})
|
||||
aux_source_directory("src" TEST_SOURCES)
|
||||
set(DUT_SOURCES ${CMAKE_CURRENT_LIST_DIR}/../src/crc.c)
|
||||
|
||||
add_executable(${PROJECT_NAME} EXCLUDE_FROM_ALL ${TEST_SOURCES} ${DUT_SOURCES})
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE Catch2::Catch2WithMain)
|
1
test/catch2
Submodule
1
test/catch2
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 0631b607ee2bbc07c7c238f0b15b23ef21926960
|
Loading…
x
Reference in New Issue
Block a user