summaryrefslogtreecommitdiffstats
path: root/Help/release
diff options
context:
space:
mode:
authorZack Galbreath <zack.galbreath@kitware.com>2021-06-04 15:22:34 (GMT)
committerZack Galbreath <zack.galbreath@kitware.com>2021-06-08 13:27:19 (GMT)
commitcbcb92d1cb4230426761fb7d08f9135546c98881 (patch)
tree18fa4c3f5e3b53700aa2f9cf18bd9ad34116b6bb /Help/release
parentacb25d50d9d37e93cafcbbc4401e1b45029b6461 (diff)
downloadCMake-cbcb92d1cb4230426761fb7d08f9135546c98881.zip
CMake-cbcb92d1cb4230426761fb7d08f9135546c98881.tar.gz
CMake-cbcb92d1cb4230426761fb7d08f9135546c98881.tar.bz2
ctest: add support for attaching files to tests at run time
Allow tests to specify files to upload at runtime. Previously this was only possible to specify at configure time with the ATTACHED_FILES test properties. This commit also fixes a bug in how our test data tarballs were generated by CTest. Previously, if you tried to attach a file outside of the binary directory, CTest would generate a tar file with a relative path, and tar would not allow you to extract it. We resolve this problem by creating tar files with a flat directory structure instead. Fixes: #22284
Diffstat (limited to 'Help/release')
-rw-r--r--Help/release/dev/ctest-measurements-docs.rst5
-rw-r--r--Help/release/dev/ctest-runtime-files.rst8
2 files changed, 13 insertions, 0 deletions
diff --git a/Help/release/dev/ctest-measurements-docs.rst b/Help/release/dev/ctest-measurements-docs.rst
new file mode 100644
index 0000000..e47582e
--- /dev/null
+++ b/Help/release/dev/ctest-measurements-docs.rst
@@ -0,0 +1,5 @@
+ctest-measurements-docs
+-----------------------
+
+* :manual:`ctest(1)` gained documentation for its ability to capture
+ :ref:`Additional Test Measurements`.
diff --git a/Help/release/dev/ctest-runtime-files.rst b/Help/release/dev/ctest-runtime-files.rst
new file mode 100644
index 0000000..f13baa4
--- /dev/null
+++ b/Help/release/dev/ctest-runtime-files.rst
@@ -0,0 +1,8 @@
+ctest-runtime-files
+-------------------
+
+* :manual:`ctest(1)` learned to recognize files attached to a test at run time.
+ Previously it was only possible to attach files to tests at configure time
+ by using the :prop_test:`ATTACHED_FILES` or
+ :prop_test:`ATTACHED_FILES_ON_FAIL` test properties.
+ See :ref:`Additional Test Measurements` for more information.