summaryrefslogtreecommitdiff
path: root/tests/utils/dotest.pp
diff options
context:
space:
mode:
authoryury <yury@3ad0048d-3df7-0310-abae-a5850022a9f2>2013-01-15 08:20:43 +0000
committeryury <yury@3ad0048d-3df7-0310-abae-a5850022a9f2>2013-01-15 08:20:43 +0000
commita858f4ed9727e2b3f73cd1bec820dcfd8b8d5e80 (patch)
tree7c3d6d527ba086921299ba95230e1be4577191ca /tests/utils/dotest.pp
parent8e5f8b04eae88c7e526ab19a78ecd7be2292e205 (diff)
downloadfpc-a858f4ed9727e2b3f73cd1bec820dcfd8b8d5e80.tar.gz
* Fixed running library tests on android.
git-svn-id: http://svn.freepascal.org/svn/fpc/branches/targetandroid@23385 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'tests/utils/dotest.pp')
-rw-r--r--tests/utils/dotest.pp8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/utils/dotest.pp b/tests/utils/dotest.pp
index ef567546eb..cd63477689 100644
--- a/tests/utils/dotest.pp
+++ b/tests/utils/dotest.pp
@@ -644,7 +644,8 @@ begin
(LTarget='solaris') or
(LTarget='iphonesim') or
(LTarget='darwin') or
- (LTarget='aix');
+ (LTarget='aix') or
+ (LTarget='android');
{ Set ExeExt for CompilerTarget.
This list has been set up 2011-06 using the information in
@@ -1462,6 +1463,11 @@ var
begin
if RemoteAddr='' then
exit;
+ if rshprog = 'adb' then
+ begin
+ RemoteShellNeedsExport:=true;
+ exit;
+ end;
ExeLogFile:='__remote.tmp';
ExecuteRemote(rshprog,RemoteRshParas+
' "echo SHELL=${SHELL}"',StartTicks,EndTicks);