summaryrefslogtreecommitdiffstats
path: root/Modules/AndroidTestUtilities.cmake
Commit message (Collapse)AuthorAgeFilesLines
* AndroidTestUtilities: Update documentationPeter Kokot2025-05-231-47/+61
| | | | | | | | | | - Refactored module introduction. - Used "commands" instead of "functions". - Updated module documentation and synced it with other similar utility modules. - Synced command arguments with implementation (DEVICE_OBJECT_STORE and DEVICE_TEST_DIR are required arguments). - Added separate examples section.
* LICENSE: Replace references to Copyright.txt with LICENSE.rstKitware Robot2025-03-031-1/+1
| | | | | | | | | | ``` git grep -lz 'Copyright.txt or https://cmake.org/licensing ' | while IFS= read -r -d $'\0' f ; do sed -i '/Copyright.txt or https:\/\/cmake.org\/licensing / { s/Copyright.txt/LICENSE.rst/ }' "$f" ; done ```
* tests: Preserve empty arguments in test command linesCraig Scott2024-10-021-0/+2
| | | | | | | | | | | | | | | | | | | | This will now preserve empty values in the TEST_LAUNCHER and CROSSCOMPILING_EMULATOR target properties for tests added by: - The add_test() command. - The ExternalData_Add_Test() command from the ExternalData module. - The gtest_add_tests() or gtest_discover_tests() commands from the GoogleTest module. For the gtest_add_tests() and gtest_discover_tests() commands, empty elements in the values passed after the EXTRA_ARGS keyword are also now preserved. Policy CMP0178 is added to provide backward compatibility with the old behavior where empty values were silently discarded from the above cases. Fixes: #26337
* AndroidTestUtilities: Remove DEPENDS that was being silently ignoredCraig Scott2024-09-091-1/+0
| | | | | | | | | The add_custom_command(TARGET) form does not support a DEPENDS keyword, but it was silently ignored up to now. It will soon be reported as an error, so remove the DEPENDS. The behavior will be the same as before. Issue: #26096
* Help: Add Sphinx 'versionadded' directives to each top-level documentKitware Robot2020-07-061-0/+2
| | | | | | | Run the `Utilities/Sphinx/update_versions.py` script to add initial markup to every top-level document and find module. Issue: #19715
* Refactor: Replace CMAKE_CURRENT_LIST_DIR with CMAKE_CURRENT_FUNCTION_LIST_DIRAlex Turbov2019-12-101-3/+1
| | | | | | Some modules define an intermediate global scope visible variables to access "resource" files from functions. Now these variables could be eliminated.
* Help: Revise docs of modules AddFileDependencies..CheckFunctionExistsJoachim Wuttke (l)2018-10-181-1/+1
| | | | | | * Replace '::' by '.. code-block:: cmake' wherever it makes sense. * Convert to definition list where appropriate. * Prefer '<placeholder>' over 'placeholder'.
* AndroidTestUtilities: do not require ExternalData unconditionallyZack Galbreath2017-02-041-5/+12
| | | | | | | | | | | | Attempting to use AndroidTestUtilities to simply install some local files on device can result in the following error: Neither ExternalData_URL_TEMPLATES nor ExternalData_OBJECT_STORES is set We no longer require these ExternalData-specific variables to be set if no such remote data files are requested. Fixes: #16529
* AndroidTestUtilities: Add module to help drive Android device testsSchuyler Kylstra2016-09-301-0/+157
Add a module to manage the data needed for the project tests. It will move the test data to the build directory and transfer necessary data to an Android device if that is enabled.