Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
build: Disable network tests in offline builds
  • Loading branch information
WerWolv committed Dec 4, 2023
1 parent f71fa2f commit eae3cd9
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions tests/helpers/CMakeLists.txt
Expand Up @@ -11,11 +11,6 @@ set(AVAILABLE_TESTS
TestProvider_read
TestProvider_write

# Net
StoreAPI
TipsAPI
ContentAPI

# File
FileAccess

Expand All @@ -25,6 +20,15 @@ set(AVAILABLE_TESTS
ExtractBits
)

if (NOT IMHEX_OFFLINE_BUILD)
set(AVAILABLE_TESTS ${AVAILABLE_TESTS}
# Net
StoreAPI
TipsAPI
ContentAPI
)
endif ()


add_executable(${PROJECT_NAME}
source/common.cpp
Expand Down

0 comments on commit eae3cd9

Please sign in to comment.