You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by lo...@apache.org on 2022/08/24 11:38:16 UTC
[nifi-minifi-cpp] 01/02: MINIFICPP-1916 Disable C2DebugBundleTest if compiling without libarchive
This is an automated email from the ASF dual-hosted git repository.
lordgamez pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git
commit 4931d3fe14f8d475bc02f9ec27265603f58a01a0
Author: Ferenc Gerlits <fg...@gmail.com>
AuthorDate: Fri Aug 19 17:11:41 2022 +0200
MINIFICPP-1916 Disable C2DebugBundleTest if compiling without libarchive
Signed-off-by: Gabor Gyimesi <ga...@gmail.com>
This closes #1399
---
extensions/http-curl/tests/CMakeLists.txt | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/extensions/http-curl/tests/CMakeLists.txt b/extensions/http-curl/tests/CMakeLists.txt
index 3de352c0a..00827fa5d 100644
--- a/extensions/http-curl/tests/CMakeLists.txt
+++ b/extensions/http-curl/tests/CMakeLists.txt
@@ -98,7 +98,9 @@ add_test(NAME VerifyInvokeHTTPPostTest COMMAND VerifyInvokeHTTPPostTest "${TEST_
add_test(NAME AbsoluteTimeoutTest COMMAND AbsoluteTimeoutTest)
add_test(NAME C2PauseResumeTest COMMAND C2PauseResumeTest "${TEST_RESOURCES}/C2PauseResumeTest.yml")
add_test(NAME C2LogHeartbeatTest COMMAND C2LogHeartbeatTest)
-add_test(NAME C2DebugBundleTest COMMAND C2DebugBundleTest)
+if (NOT DISABLE_LIBARCHIVE)
+ add_test(NAME C2DebugBundleTest COMMAND C2DebugBundleTest)
+endif()
add_test(NAME C2PropertiesUpdateTests COMMAND C2PropertiesUpdateTests)
add_test(NAME C2ClearCoreComponentStateTest COMMAND C2ClearCoreComponentStateTest "${TEST_RESOURCES}/TestC2DescribeCoreComponentState.yml")
add_test(NAME C2MultipleCommandsTest COMMAND C2MultipleCommandsTest "${TEST_RESOURCES}/TestC2DescribeCoreComponentState.yml")