Skip to content

Commit

Permalink
GHI #20 Remove patomic-test-ci and CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
doodspav committed Nov 26, 2023
1 parent 3da67f2 commit de6577d
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 174 deletions.
8 changes: 0 additions & 8 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,6 @@ else()
message(STATUS "Skipping unit tests; not building as sub-project of patomic")
endif()

# only add CIs if running in CI
if($ENV{CI})
add_subdirectory(ci)
message(STATUS "Enabled continuous integration tests")
else()
message(STATUS "Skipping continuous integration tests; not building as part of pipeline run")
endif()


# ---- Support Packaging Library ----

Expand Down
10 changes: 0 additions & 10 deletions test/ci/CMakeLists.txt

This file was deleted.

69 changes: 0 additions & 69 deletions test/ci/check_asan.cpp

This file was deleted.

57 changes: 0 additions & 57 deletions test/ci/check_ubsan.cpp

This file was deleted.

30 changes: 0 additions & 30 deletions test/cmake/CreateTest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -328,33 +328,3 @@ function(create_ut)
target_compile_definitions(${target_name} PRIVATE PATOMIC_STATIC_DEFINE)

endfunction()


# Creates target patomic-test-ci-${name} corresponding to CI test executable.
# Note: intended to test CI environment, e.g. ensure sanitizer works.
#
# create_ci(
# NAME <name>
# [INCLUDE <item>...]
# [SOURCE <item>...]
# [LINK <item>...]
# )
function(create_ci)

cmake_parse_arguments(
"ARG"
""
"NAME"
"INCLUDE;SOURCE;LINK"
${ARGN}
)

_create_test(
${ARG_UNPARSED_ARGUMENTS}
CI ${ARG_NAME}
INCLUDE ${ARG_INCLUDE}
SOURCE ${ARG_SOURCE}
LINK ${ARG_LINK}
)

endfunction()

0 comments on commit de6577d

Please sign in to comment.