Create /data/nativetest if it doesn't exist.
This fixes the travis Android bots.
Change-Id: I9671119d2b7aaa1b5c22e55a3e8ac0be8b3a4fa9
diff --git a/tools/run_android_test b/tools/run_android_test
index 10a7bcc..a4b4342 100755
--- a/tools/run_android_test
+++ b/tools/run_android_test
@@ -131,6 +131,7 @@
target_dir = '/data/local/tmp/' + args.test_name
AdbCall('shell', 'rm -rf "%s"; mkdir -p "%s"' % (2 * (target_dir,)))
+ AdbCall('shell', 'mkdir -p /data/nativetest')
# This needs to go into /data/nativetest in order to have the system linker
# namespace applied, which we need in order to link libdexfile_external.so.
# This gets linked into our tests via libundwindstack.so.