tests: Make building tests optional, although with no option to toggle them on for now
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
b34f2149ee
commit
ae7c841fff
@ -16,6 +16,8 @@ function(luna_test SOURCE_FILE APP_NAME SETUID)
|
|||||||
endif()
|
endif()
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
|
if(BUILD_TESTS)
|
||||||
luna_test(libluna/TestVector.cpp TestVector OFF)
|
luna_test(libluna/TestVector.cpp TestVector OFF)
|
||||||
luna_test(libluna/TestBase64.cpp TestBase64 OFF)
|
luna_test(libluna/TestBase64.cpp TestBase64 OFF)
|
||||||
luna_test(libluna/TestUtf8.cpp TestUtf8 OFF)
|
luna_test(libluna/TestUtf8.cpp TestUtf8 OFF)
|
||||||
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user