mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 10:50:16 -06:00
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
14 lines
281 B
CMake
14 lines
281 B
CMake
enable_testing()
|
|
include(AndroidTestUtilities)
|
|
|
|
find_program(adb_executable adb)
|
|
|
|
set(test_files "data/a.txt")
|
|
|
|
set(ANDROID 1)
|
|
|
|
android_add_test_data(setup_test
|
|
FILES ${test_files}
|
|
DEVICE_TEST_DIR "/data/local/tests/example1"
|
|
DEVICE_OBJECT_STORE "/sdcard/.ExternalData/SHA")
|