Added gtest to the list. cd to /sdcard before running native tests.
Some test need to be run in a place where they can write on the disk. I know we should stop using /sdcard but until I see the new document explaining how the launcher can access the playground, we are going to keep it that way.
This commit is contained in:
@@ -86,7 +86,7 @@ class NativeTestSuite(test_suite.AbstractTestSuite):
|
||||
|
||||
# Single quotes are needed to prevent the shell splitting it.
|
||||
output = adb.SendShellCommand("'%s 2>&1;echo -n exit code:$?'" %
|
||||
full_path,
|
||||
"(cd /sdcard;%s)" % full_path,
|
||||
int(options.timeout))
|
||||
success = output.endswith("exit code:0")
|
||||
logger.Log("%s... %s" % (f, success and "ok" or "failed"))
|
||||
|
||||
Reference in New Issue
Block a user