[
https://issues.apache.org/jira/browse/MINIFICPP-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16191295#comment-16191295
]
ASF GitHub Bot commented on MINIFICPP-215:
------------------------------------------
Github user phrocker commented on a diff in the pull request:
https://github.com/apache/nifi-minifi-cpp/pull/141#discussion_r142679677
--- Diff: cmake/BuildTests.cmake ---
@@ -88,7 +98,19 @@ FOREACH(testfile ${INTEGRATION_TESTS})
ENDFOREACH()
message("-- Finished building ${INT_TEST_COUNT} integration test
file(s)...")
-add_test(NAME ControllerServiceIntegrationTests COMMAND
ControllerServiceIntegrationTests
"${TEST_RESOURCES}/TestControllerServices.yml" "${TEST_RESOURCES}/")
+if (HTTP-CURL)
+
+SET(CURL_INT_TEST_COUNT 0)
+FOREACH(testfile ${CURL_INTEGRATION_TESTS})
+ get_filename_component(testfilename "${testfile}" NAME_WE)
+ add_executable("${testfilename}" "${TEST_DIR}/curl-tests/${testfile}"
${SPD_SOURCES} "${TEST_DIR}/TestBase.cpp")
+ createTests("${testfilename}")
+ #message("Adding ${testfilename} from ${testfile}")
--- End diff --
Not sure why I left this here. Should remove.
> Create Conditional build, using libcURL as a first example
> ----------------------------------------------------------
>
> Key: MINIFICPP-215
> URL: https://issues.apache.org/jira/browse/MINIFICPP-215
> Project: NiFi MiNiFi C++
> Issue Type: Bug
> Reporter: marco polo
> Assignee: marco polo
>
> Create a conditional build based on what dependencies exist. The first step
> that I've taken is to extract CURL capabilities into an extension directory.
> It will be built IFF libcurl exists. That can be the basis for conditional
> builds.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)