- name: mbedtls-pkg
install_packages: libnghttp2-dev libmbedtls-dev
- generate: -DCURL_USE_MBEDTLS=ON -DENABLE_DEBUG=ON
+ generate: -DCURL_USE_MBEDTLS=ON -DENABLE_DEBUG=ON -DBUILD_LIBCURL_DOCS=OFF -DBUILD_MISC_DOCS=OFF -DENABLE_CURL_MANUAL=OFF
- name: mbedtls-pkg !pc
install_packages: libnghttp2-dev libmbedtls-dev
- name: openssl clang krb5
install_packages: zlib1g-dev libkrb5-dev clang
- configure: CC=clang --with-openssl --with-gssapi --enable-debug
+ configure: CC=clang --with-openssl --with-gssapi --enable-debug --disable-docs --disable-manual
- name: openssl clang krb5
install_packages: zlib1g-dev libkrb5-dev clang
CURL_CHECK_NONBLOCKING_SOCKET
-if test "x$BUILD_DOCS" != "x0" -o "x$USE_MANUAL" != "x0" -o "x$CURL_CA_EMBED" != "x"; then
- AC_PATH_PROG(PERL, perl,,
- $PATH:/usr/local/bin/perl:/usr/bin/:/usr/local/bin)
- AC_SUBST(PERL)
+AC_PATH_PROG(PERL, perl,,
+ $PATH:/usr/local/bin/perl:/usr/bin/:/usr/local/bin)
+AC_SUBST(PERL)
+if test "x$BUILD_DOCS" != "x0" -o "x$USE_MANUAL" != "x0" -o "x$CURL_CA_EMBED" != "x"; then
if test -z "$PERL"; then
AC_MSG_ERROR([perl was not found, needed for docs, manual and CA embed])
fi
if(CURL_TEST_BUNDLES)
set(_test_flags "${_test_flags} -bundle")
endif()
+ if(NOT BUILD_LIBCURL_DOCS)
+ set(_test_flags "${_test_flags} !documentation")
+ endif()
# Skip walking through dependent targets before running tests in CI.
# This avoids: GNU Make doing a slow re-evaluation of all targets and
# skipping them, MSBuild doing a re-evaluation, and actually rebuilding them.
TEST_COMMON += -bundle
endif
+if BUILD_DOCS
+else
+TEST_COMMON += !documentation
+endif
+
TEST = srcdir=$(srcdir) $(PERL) $(PERLFLAGS) $(srcdir)/runtests.pl $(TEST_COMMON)
TEST_Q = -a -s
TEST_AM = -a -am
<keywords>
source analysis
CURL_VERSION
+documentation
</keywords>
</info>
<stderr mode="text">
curl: --continue-at is mutually exclusive with --no-clobber
curl: option -C: is badly used here
+%if manual
curl: try 'curl --help' or 'curl --manual' for more information
+%else
+curl: try 'curl --help' for more information
+%endif
</stderr>
</verify>
</testcase>
<stderr mode="text">
curl: --continue-at is mutually exclusive with --remove-on-error
curl: option -C: is badly used here
+%if manual
curl: try 'curl --help' or 'curl --manual' for more information
+%else
+curl: try 'curl --help' for more information
+%endif
</stderr>
</verify>
</testcase>