.circleci/config.yml .codecov.yml .coveragerc .gitattributes .github/dependabot.yml .github/workflows/tests.yml .gitignore .readthedocs.yml CHANGELOG.md LICENSE MANIFEST.in README.rst appveyor.yml clean.sh dev/_compare/demo_enhancements.py dev/_compare/demo_failures.py dev/_compare/demo_issue_106.py dev/_old_pkgutil_code.py dev/_travis_CI_old.yml dev/backwards_incompatiblity_examples_inthewild.py dev/check_pytest_version_compat.py dev/ci_public_gpg_key.pgp.enc dev/ci_secret_gpg_subkeys.pgp.enc dev/countmin.py dev/demo_dynamic_analysis.py dev/demo_errors.py dev/demo_issues.py dev/demo_properties.py dev/demo_usage_with_logger.py dev/fix_sphinx_mwe.py dev/gpg_owner_trust dev/gpg_owner_trust.enc dev/interactive_embed_tests.py dev/make_rtd.py dev/make_strict_req.sh dev/outline.md dev/parse_rst.py dev/port_ubelt_utils.py dev/public_gpg_key dev/run_linter.py dev/secrets_configuration.sh dev/setup_secrets.sh dev/talk.py docs/Makefile docs/make.bat docs/requirements.txt docs/source/conf.py docs/source/index.rst docs/source/installing_python.rst docs/source/modules.rst docs/source/redirects docs/source/xdoc_with_jupyter.rst docs/source/xdoctest.checker.rst docs/source/xdoctest.constants.rst docs/source/xdoctest.core.rst docs/source/xdoctest.demo.rst docs/source/xdoctest.directive.rst docs/source/xdoctest.docstr.convert_google_to_numpy.rst docs/source/xdoctest.docstr.docscrape_google.rst docs/source/xdoctest.docstr.docscrape_numpy.rst docs/source/xdoctest.docstr.rst docs/source/xdoctest.doctest_example.rst docs/source/xdoctest.doctest_part.rst docs/source/xdoctest.dynamic_analysis.rst docs/source/xdoctest.exceptions.rst docs/source/xdoctest.parser.rst docs/source/xdoctest.plugin.rst docs/source/xdoctest.rst docs/source/xdoctest.runner.rst docs/source/xdoctest.static_analysis.rst docs/source/xdoctest.utils.rst docs/source/xdoctest.utils.util_import.rst docs/source/xdoctest.utils.util_misc.rst docs/source/xdoctest.utils.util_mixins.rst docs/source/xdoctest.utils.util_notebook.rst docs/source/xdoctest.utils.util_path.rst docs/source/xdoctest.utils.util_str.rst docs/source/xdoctest.utils.util_stream.rst docs/todo.rst publish.sh pytest.ini requirements.txt requirements/colors.txt requirements/jupyter.txt requirements/optional.txt requirements/problematic.txt requirements/runtime.txt requirements/tests.txt run_developer_setup.sh run_doctests.sh run_tests.py setup.py testing/notebook_with_doctests.ipynb testing/pybind11_test/CMakeLists.txt testing/pybind11_test/clean.sh testing/pybind11_test/my_ext.cxx testing/pybind11_test/run_dynamic_test.sh testing/pybind11_test/setup.py testing/test_binary_ext.py testing/test_cases.py testing/test_checker.py testing/test_core.py testing/test_directive.py testing/test_doctest_example.py testing/test_doctest_in_notebook.ipynb testing/test_dynamic.py testing/test_entry_point.py testing/test_errors.py testing/test_import.py testing/test_limitations.py testing/test_notebook.py testing/test_parser.py testing/test_plugin.py testing/test_pytest_cli.py testing/test_runner.py testing/test_static.py testing/test_traceback.py tox.ini xdoctest/__init__.py xdoctest/__main__.py xdoctest/checker.py xdoctest/constants.py xdoctest/core.py xdoctest/demo.py xdoctest/directive.py xdoctest/docstr/__init__.py xdoctest/docstr/convert_google_to_numpy.py xdoctest/docstr/docscrape_google.py xdoctest/docstr/docscrape_numpy.py xdoctest/doctest_example.py xdoctest/doctest_part.py xdoctest/dynamic_analysis.py xdoctest/exceptions.py xdoctest/parser.py xdoctest/plugin.py xdoctest/runner.py xdoctest/static_analysis.py xdoctest/utils/__init__.py xdoctest/utils/util_import.py xdoctest/utils/util_misc.py xdoctest/utils/util_mixins.py xdoctest/utils/util_notebook.py xdoctest/utils/util_path.py xdoctest/utils/util_str.py xdoctest/utils/util_stream.py <<<<<< network # path=/home/circleci/project/testing/pybind11_test/tmp/install_3.7.12.332e305d/cmake/data/share/cmake-3.21/Help/variable/CTEST_CUSTOM_COVERAGE_EXCLUDE.rst CTEST_CUSTOM_COVERAGE_EXCLUDE ----------------------------- A list of regular expressions which will be used to exclude files by their path from coverage output by the :command:`ctest_coverage` command. .. include:: CTEST_CUSTOM_XXX.txt <<<<<< EOF # path=/home/circleci/project/testing/pybind11_test/tmp/install_3.7.12.332e305d/cmake/data/share/cmake-3.21/Help/variable/CTEST_EXTRA_COVERAGE_GLOB.rst CTEST_EXTRA_COVERAGE_GLOB ------------------------- .. versionadded:: 3.4 A list of regular expressions which will be used to find files which should be covered by the :command:`ctest_coverage` command. .. include:: CTEST_CUSTOM_XXX.txt <<<<<< EOF # path=/home/circleci/project/testing/pybind11_test/tmp/install_3.7.12.332e305d/cmake/data/share/cmake-3.21/Help/variable/CTEST_COVERAGE_EXTRA_FLAGS.rst CTEST_COVERAGE_EXTRA_FLAGS -------------------------- .. versionadded:: 3.1 Specify the CTest ``CoverageExtraFlags`` setting in a :manual:`ctest(1)` dashboard client script. <<<<<< EOF # path=/home/circleci/project/testing/pybind11_test/tmp/install_3.7.12.332e305d/cmake/data/share/cmake-3.21/Help/variable/CTEST_COVERAGE_COMMAND.rst CTEST_COVERAGE_COMMAND ---------------------- .. versionadded:: 3.1 Specify the CTest ``CoverageCommand`` setting in a :manual:`ctest(1)` dashboard client script. Cobertura ''''''''' Using `Cobertura`_ as the coverage generation within your multi-module Java project can generate a series of XML files. The Cobertura Coverage parser expects to read the coverage data from a single XML file which contains the coverage data for all modules. Cobertura has a program with the ability to merge given ``cobertura.ser`` files and then another program to generate a combined XML file from the previous merged file. For command line testing, this can be done by hand prior to CTest looking for the coverage files. For script builds, set the ``CTEST_COVERAGE_COMMAND`` variable to point to a file which will perform these same steps, such as a ``.sh`` or ``.bat`` file. .. code-block:: cmake set(CTEST_COVERAGE_COMMAND .../run-coverage-and-consolidate.sh) where the ``run-coverage-and-consolidate.sh`` script is perhaps created by the :command:`configure_file` command and might contain the following code: .. code-block:: bash #!/usr/bin/env bash CoberturaFiles="$(find "/path/to/source" -name "cobertura.ser")" SourceDirs="$(find "/path/to/source" -name "java" -type d)" cobertura-merge --datafile coberturamerge.ser $CoberturaFiles cobertura-report --datafile coberturamerge.ser --destination . \ --format xml $SourceDirs The script uses ``find`` to capture the paths to all of the ``cobertura.ser`` files found below the project's source directory. It keeps the list of files and supplies it as an argument to the ``cobertura-merge`` program. The ``--datafile`` argument signifies where the result of the merge will be kept. The combined ``coberturamerge.ser`` file is then used to generate the XML report using the ``cobertura-report`` program. The call to the cobertura-report program requires some named arguments. ``--datafila`` path to the merged ``.ser`` file ``--destination`` path to put the output files(s) ``--format`` file format to write output in: xml or html The rest of the supplied arguments consist of the full paths to the ``/src/main/java`` directories of each module within the source tree. These directories are needed and should not be forgotten. .. _`Cobertura`: http://cobertura.github.io/cobertura/ <<<<<< EOF # path=/home/circleci/project/testing/pybind11_test/tmp/install_3.7.12.332e305d/cmake/data/share/cmake-3.21/Help/module/CTestCoverageCollectGCOV.rst .. cmake-module:: ../../Modules/CTestCoverageCollectGCOV.cmake <<<<<< EOF # path=/home/circleci/project/testing/pybind11_test/tmp/install_3.7.12.332e305d/cmake/data/share/cmake-3.21/Help/command/ctest_coverage.rst ctest_coverage -------------- Perform the :ref:`CTest Coverage Step` as a :ref:`Dashboard Client`. :: ctest_coverage([BUILD ] [APPEND] [LABELS