summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/AndroidTestUtilities/SetupTest1.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/AndroidTestUtilities/SetupTest1.cmake')
-rw-r--r--Tests/RunCMake/AndroidTestUtilities/SetupTest1.cmake17
1 files changed, 17 insertions, 0 deletions
diff --git a/Tests/RunCMake/AndroidTestUtilities/SetupTest1.cmake b/Tests/RunCMake/AndroidTestUtilities/SetupTest1.cmake
new file mode 100644
index 0000000..1c9098b
--- /dev/null
+++ b/Tests/RunCMake/AndroidTestUtilities/SetupTest1.cmake
@@ -0,0 +1,17 @@
+enable_testing()
+include(AndroidTestUtilities)
+
+find_program(adb_executable adb)
+
+set(ExternalData_URL_TEMPLATES
+ "https://data.kitware.com/api/v1/file/hashsum/%(algo)/%(hash)/download"
+ )
+
+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")