April 21, 2016
On Sunday, 17 January 2016 at 11:24:58 UTC, Joakim wrote:
>
> I've released updated test runners on github:
>
> https://github.com/joakim-noah/android/releases/tag/polish
>

Also tested on another device, NOT all passed:

Android: v5.1.1
Device: N910T3 (Samsung Galaxy Note 4 T-Mobile Rev.2)
Chipset: Snapdragon 805
Rooted: Yes
Custom ROM: No

0.304s PASS release32 core.time
0.002s PASS release32 core.memory
0.025s PASS release32 core.bitop
Not safe to migrate Fibers between Threads on your system. Consider setting version CheckFiberMigration for this system in thread.d
0.235s PASS release32 core.thread
0.000s PASS release32 core.math
0.000s PASS release32 core.checkedint
0.000s PASS release32 core.atomic
0.000s PASS release32 core.exception
0.005s PASS release32 core.demangle
0.000s PASS release32 core.internal.convert
0.000s PASS release32 core.internal.hash
0.034s PASS release32 core.sync.rwmutex
0.044s PASS release32 core.sync.condition
0.027s PASS release32 core.sync.mutex
0.000s PASS release32 core.sync.config
0.009s PASS release32 core.sync.barrier
0.000s PASS release32 core.sys.posix.sys.select
0.000s PASS release32 core.sys.linux.tipc
0.000s PASS release32 ldc.eh.fixedpool
0.004s PASS release32 object
0.000s PASS release32 rt.aApplyR
0.000s PASS release32 rt.minfo
0.006s PASS release32 rt.arraydouble
0.000s PASS release32 rt.monitor_
0.000s PASS release32 rt.arraycast
0.000s PASS release32 rt.aApply
0.001s PASS release32 rt.arraybyte
0.002s PASS release32 rt.arrayshort
0.016s PASS release32 rt.arrayint
0.000s PASS release32 rt.arrayassign
0.000s PASS release32 rt.typeinfo.ti_Aint
0.000s PASS release32 rt.aaA
0.000s PASS release32 rt.arrayreal
0.002s PASS release32 rt.arrayfloat
0.000s PASS release32 rt.cover
0.008s PASS release32 rt.lifetime
0.000s PASS release32 rt.util.string
0.001s PASS release32 rt.util.typeinfo
0.275s PASS release32 rt.util.container.treap
0.000s PASS release32 rt.util.container.hashtab
0.000s PASS release32 rt.util.container.array
0.000s PASS release32 rt.util.utf
0.000s PASS release32 rt.util.hash
0.000s PASS release32 rt.switch_
0.000s PASS release32 rt.adi
0.000s PASS release32 rt.qsort
0.000s PASS release32 gc.config
0.000s PASS release32 gc.bits
0.000s PASS release32 gc.pooltable
0.000s PASS release32 gc.gc
0.019s PASS release32 std.uuid
0.000s PASS release32 std.outbuffer
0.002s PASS release32 std.numeric
0.002s PASS release32 std.traits
0.014s PASS release32 std.encoding
0.011s PASS release32 std.format
0.071s PASS release32 std.string
No service for epmap.
****** FAIL release32 std.socket
std.socket.SocketOSException@/home/mux/ldc/runtime/phobos/std/socket.d(2783): Unable to bind socket: Operation not permitted
****** FAIL release32 std.file
std.file.FileException@/home/mux/ldc/runtime/phobos/std/file.d(1091): /storage/emulated/0/deleteme.dmd.unittest.pid5731_slink
0.005s PASS release32 std.xml
1.612s PASS release32 std.process
0.986s PASS release32 std.uri
0.002s PASS release32 std.functional
0.007s PASS release32 std.stream
0.001s PASS release32 std.json
0.002s PASS release32 std.csv
0.003s PASS release32 std.getopt
0.030s PASS release32 std.conv
0.002s PASS release32 std.ascii
0.244s PASS release32 std.stdio
0.540s PASS release32 std.uni
0.000s PASS release32 std.typetuple
0.004s PASS release32 std.bitmanip
0.087s PASS release32 std.zlib
0.000s PASS release32 std.typelist
0.000s PASS release32 std.signals
0.009s PASS release32 std.utf
0.000s PASS release32 std.mathspecial
5.547s PASS release32 std.datetime
0.029s PASS release32 std.path
0.001s PASS release32 std.cstream
0.001s PASS release32 std.meta
0.010s PASS release32 std.bigint
0.011s PASS release32 std.variant
0.002s PASS release32 std.math
0.007s PASS release32 std.typecons
9.969s PASS release32 std.parallelism
0.005s PASS release32 std.base64
0.002s PASS release32 std.mmfile
0.031s PASS release32 std.zip
0.034s PASS release32 std.array
7.248s PASS release32 std.random
0.000s PASS release32 std.complex
0.002s PASS release32 std.exception
0.017s PASS release32 std.concurrency
0.003s PASS release32 std.algorithm.comparison
0.011s PASS release32 std.algorithm.iteration
0.003s PASS release32 std.algorithm.mutation
0.028s PASS release32 std.algorithm.searching
0.010s PASS release32 std.algorithm.sorting
0.003s PASS release32 std.algorithm.setops
0.000s PASS release32 std.container.binaryheap
0.000s PASS release32 std.container
0.000s PASS release32 std.container.slist
0.003s PASS release32 std.container.util
0.000s PASS release32 std.container.dlist
0.038s PASS release32 std.container.rbtree
0.001s PASS release32 std.container.array
0.077s PASS release32 std.digest.md
0.116s PASS release32 std.digest.ripemd
0.035s PASS release32 std.digest.crc
0.104s PASS release32 std.digest.digest
2.172s PASS release32 std.digest.sha
0.380s PASS release32 std.experimental.logger.core
0.001s PASS release32 std.experimental.logger.multilogger
0.000s PASS release32 std.experimental.logger.nulllogger
0.001s PASS release32 std.experimental.logger.filelogger
0.001s PASS release32 std.net.curl
0.021s PASS release32 std.net.isemail
0.006s PASS release32 std.range
0.000s PASS release32 std.range.interfaces
0.003s PASS release32 std.range.primitives
0.013s PASS release32 std.regex
0.001s PASS release32 std.regex.internal.kickstart
0.010s PASS release32 std.regex.internal.generator
0.000s PASS release32 std.regex.internal.backtracking
0.003s PASS release32 std.regex.internal.parser
0.367s PASS release32 std.regex.internal.tests
0.000s PASS release32 std.regex.internal.ir
0.000s PASS release32 std.internal.scopebuffer
0.000s PASS release32 std.internal.math.errorfunction
0.000s PASS release32 std.internal.math.biguintcore
0.000s PASS release32 std.internal.math.gammafunction
0.000s PASS release32 std.internal.math.biguintnoasm
0.000s PASS release32 std.internal.cstring

April 22, 2016
On Thursday, 21 April 2016 at 23:50:09 UTC, Nick Sabalausky wrote:
> On Sunday, 17 January 2016 at 11:24:58 UTC, Joakim wrote:
>>
>> I've released updated test runners on github:
>>
>> https://github.com/joakim-noah/android/releases/tag/polish

Thanks for verifying that the tests now pass on 4.1.

> Also tested on another device, NOT all passed:
>
> Android: v5.1.1
> Device: N910T3 (Samsung Galaxy Note 4 T-Mobile Rev.2)
> Chipset: Snapdragon 805
> Rooted: Yes
> Custom ROM: No
>
> No service for epmap.
> ****** FAIL release32 std.socket
> std.socket.SocketOSException@/home/mux/ldc/runtime/phobos/std/socket.d(2783): Unable to bind socket: Operation not permitted
> ****** FAIL release32 std.file
> std.file.FileException@/home/mux/ldc/runtime/phobos/std/file.d(1091): /storage/emulated/0/deleteme.dmd.unittest.pid5731_slink

It appears that you are running the command-line binary as root in the /sdcard partition.  Can you try running in the /data partition, as I asked Jakob to do earlier?

http://forum.dlang.org/post/htjpgurovmvmadibyuyx@forum.dlang.org

It's likely the same issue I pointed out to him, having to do with symbolic links not working in the /sdcard partition.  It should work fine in /data, which is where non-root apps normally run.
December 07
On Sunday, 1 November 2015 at 05:44:04 UTC, Joakim wrote:
> I've been running the druntime and phobos tests from the master 2.068 branch on various Android devices.  Please try out the Android test runners I just made available and report your own results in this thread:

android 6.0 64bit snapdragon 625

apk logcat:


12-07 16:36:19.755 1345-6469/? E/GameModeController: notePausingActivity(10256,14,com.example.native_activity,android.app.NativeActivity)
12-07 16:36:19.766 1345-8491/? E/ActivityThread: Failed to find provider info for cn.nubia.launcher.fancyIcon
12-07 16:36:19.997 483-483/? E/SurfaceFlinger: com.example.native_activity/android.app.NativeActivity nAvgNum=41 avgtime=16581958.00 fps=60.31
12-07 16:36:20.337 9054-9068/? E/ANDR-PERF-OPTSHANDLER: Write 4:-1 into /sys/module/msm_performance/parameters/max_cpus
12-07 16:36:20.337 9054-9068/? E/ANDR-PERF-OPTSHANDLER: Write -1:-1 into /sys/module/msm_performance/parameters/max_cpus
12-07 16:36:20.557 417-417/? E/dmapp: dmapp is still alive.

12-07 16:36:34.106 8457-22551/? E/OperatorSimInfo: Create Res Apk Failed
12-07 16:36:34.107 8457-22551/? E/OperatorSimInfo: Create Res Apk Failed
12-07 16:36:34.125 8457-2748/? E/OperatorSimInfo: Create Res Apk Failed
12-07 16:36:34.126 8457-2748/? E/OperatorSimInfo: Create Res Apk Failed
12-07 16:36:34.149 8457-9800/? E/OperatorSimInfo: Create Res Apk Failed
12-07 16:36:34.150 8457-9800/? E/OperatorSimInfo: Create Res Apk Failed

12-07 16:36:36.811 8210-8210/? E/SogouIME: dongxiaohang status = 3true
12-07 16:36:47.444 14598-14598/? E/Watermelon: remove >>>>/data/user/0/com.tencent.tim/app_indicators/observer_p2<<<< result=-1
12-07 16:36:47.445 14598-14598/? E/Watermelon: kill zombie failed, zombie`s pid = 3017
12-07 16:36:47.483 18154-18154/? E/Watermelon: kill zombie failed, zombie`s pid = 3017
12-07 16:36:47.541 18154-18154/? E/Watermelon: flock selft /data/user/0/com.tencent.tim/app_indicators/observer_d2 result:0
12-07 16:37:15.039 8457-15370/? E/OperatorSimInfo: Create Res Apk Failed
12-07 16:37:15.040 8457-15370/? E/OperatorSimInfo: Create Res Apk Failed

-----------------

And CLI result: (many failed due to Permission denied)

-------------------
$ cat test.log.txt
0.000s PASS release32 core.atomic
0.017s PASS release32 core.bitop
0.000s PASS release32 core.checkedint
0.001s PASS release32 core.memory
0.000s PASS release32 core.exception
0.000s PASS release32 core.math
0.001s PASS release32 core.demangle
0.185s PASS release32 core.time
0.285s PASS release32 core.thread
0.000s PASS release32 core.internal.convert
0.000s PASS release32 core.internal.hash
0.000s PASS release32 core.sync.config
0.005s PASS release32 core.sync.mutex
0.037s PASS release32 core.sync.condition
0.003s PASS release32 core.sync.barrier
0.015s PASS release32 core.sync.rwmutex
0.000s PASS release32 core.sys.posix.sys.select
0.002s PASS release32 object
0.000s PASS release32 rt.aaA
0.000s PASS release32 rt.arraybyte
0.000s PASS release32 rt.arrayassign
0.000s PASS release32 rt.cover
0.000s PASS release32 rt.arraycast
0.000s PASS release32 rt.minfo
0.002s PASS release32 rt.arraydouble
0.000s PASS release32 rt.qsort
0.000s PASS release32 rt.typeinfo.ti_Aint
0.000s PASS release32 rt.adi
0.023s PASS release32 rt.lifetime
0.000s PASS release32 rt.monitor_
0.000s PASS release32 rt.arrayreal
0.000s PASS release32 rt.arrayfloat
0.000s PASS release32 rt.util.string
0.000s PASS release32 rt.util.utf
0.000s PASS release32 rt.util.hash
0.097s PASS release32 rt.util.container.treap
0.000s PASS release32 rt.util.container.hashtab
0.000s PASS release32 rt.util.container.array
0.000s PASS release32 rt.util.typeinfo
0.000s PASS release32 rt.arrayshort
0.000s PASS release32 rt.aApply
0.000s PASS release32 rt.switch_
0.001s PASS release32 rt.arrayint
0.000s PASS release32 rt.aApplyR
0.000s PASS release32 gc.config
0.000s PASS release32 gc.gc
0.000s PASS release32 gc.bits
0.000s PASS release32 gc.pooltable
0.000s PASS release32 std.typetuple
0.003s PASS release32 std.format
0.022s PASS release32 std.conv
7.712s PASS release32 std.random
0.248s PASS release32 std.uni
0.004s PASS release32 std.encoding
0.005s PASS release32 std.zip
0.004s PASS release32 std.variant
****** FAIL release32 std.mmfile
std.exception.ErrnoException@/home/bert/ldc/runtime/phobos/std/mmfile.d(308): Could not open file /data/local/tmp/deleteme.dmd.unittest.pid5270-testing.txt (Permission denied)
0.013s PASS release32 std.path
****** FAIL release32 std.process
std.file.FileException@/home/bert/ldc/runtime/phobos/std/file.d(445): /data/local/tmp/std.process temporary file ea1bc65f-8ae6-4154-a43b-6dcbaa5e7979: Permission denied
7.378s PASS release32 std.datetime
****** FAIL release32 std.cstream
core.exception.AssertError@/home/bert/ldc/runtime/phobos/std/cstream.d(158): Assertion failure
0.000s PASS release32 std.meta
No service for epmap.
****** FAIL release32 std.socket
std.socket.SocketOSException@/home/bert/ldc/runtime/phobos/std/socket.d(2783): Unable to bind socket: Permission denied
0.000s PASS release32 std.signals
0.000s PASS release32 std.typelist
0.000s PASS release32 std.outbuffer
****** FAIL release32 std.stdio
std.exception.ErrnoException@/home/bert/ldc/runtime/phobos/std/stdio.d(482): Cannot open file `/data/local/tmp/deleteme.dmd.unittest.pid5270-детка.stdio.d.695' in mode `w' (Permission denied)
0.000s PASS release32 std.csv
0.001s PASS release32 std.xml
0.000s PASS release32 std.mathspecial
0.003s PASS release32 std.exception
0.001s PASS release32 std.math
0.011s PASS release32 std.uuid
0.056s PASS release32 std.string
0.000s PASS release32 std.traits
0.001s PASS release32 std.ascii
0.000s PASS release32 std.complex
0.001s PASS release32 std.functional
0.003s PASS release32 std.typecons
0.001s PASS release32 std.getopt
0.004s PASS release32 std.utf
0.629s PASS release32 std.uri
****** FAIL release32 std.stream
std.exception.ErrnoException@/home/bert/ldc/runtime/phobos/std/stdio.d(482): Cannot open file `/data/local/tmp/deleteme.dmd.unittest.pid5270-issue3363.txt' in mode `w' (Permission denied)
0.006s PASS release32 std.concurrency
0.001s PASS release32 std.bitmanip
0.010s PASS release32 std.array
0.004s PASS release32 std.bigint
****** FAIL release32 std.base64
std.file.FileException@/home/bert/ldc/runtime/phobos/std/file.d(445): /data/local/tmp/deleteme.dmd.unittest.pid5270-testingEncoder: Permission denied
0.039s PASS release32 std.zlib
****** FAIL release32 std.parallelism
std.exception.ErrnoException@/home/bert/ldc/runtime/phobos/std/stdio.d(482): Cannot open file `/data/local/tmp/deleteme.dmd.unittest.pid5270-tempDelMe.txt' in mode `wb' (Permission denied)
0.000s PASS release32 std.json
0.000s PASS release32 std.numeric
****** FAIL release32 std.file
std.file.FileException@/home/bert/ldc/runtime/phobos/std/file.d(445): /data/local/tmp/deleteme.dmd.unittest.pid5270: Permission denied
0.006s PASS release32 std.algorithm.searching
0.000s PASS release32 std.algorithm.setops
0.000s PASS release32 std.algorithm.mutation
0.005s PASS release32 std.algorithm.sorting
0.000s PASS release32 std.algorithm.comparison
0.001s PASS release32 std.algorithm.iteration
0.000s PASS release32 std.container
0.015s PASS release32 std.container.util
0.000s PASS release32 std.container.binaryheap
0.013s PASS release32 std.container.rbtree
0.000s PASS release32 std.container.array
0.000s PASS release32 std.container.slist
0.000s PASS release32 std.container.dlist
0.070s PASS release32 std.digest.md
0.017s PASS release32 std.digest.crc
0.079s PASS release32 std.digest.ripemd
0.814s PASS release32 std.digest.sha
0.137s PASS release32 std.digest.digest
0.000s PASS release32 std.experimental.logger.nulllogger
****** FAIL release32 std.experimental.logger.core
std.exception.ErrnoException@/home/bert/ldc/runtime/phobos/std/stdio.d(482): Cannot open file `/data/local/tmp/deleteme.dmd.unittest.pid5270-someFile.log' in mode `a' (Permission denied)
****** FAIL release32 std.experimental.logger.filelogger
std.exception.ErrnoException@/home/bert/ldc/runtime/phobos/std/stdio.d(482): Cannot open file `/data/local/tmp/deleteme.dmd.unittest.pid5270std.experimental.logger.filelogger.__unittestL132_1.tempLogFile' in mode `a' (Permission denied)
****** FAIL release32 std.experimental.logger.multilogger
std.exception.ErrnoException@/home/bert/ldc/runtime/phobos/std/stdio.d(482): Cannot open file `/data/local/tmp/deleteme.dmd.unittest.pid5270std.experimental.logger.multilogger.__unittestL142_3.log' in mode `w' (Permission denied)
0.000s PASS release32 std.net.curl
0.013s PASS release32 std.net.isemail
****** FAIL release32 std.range
std.exception.ErrnoException@/home/bert/ldc/runtime/phobos/std/stdio.d(482): Cannot open file `/data/local/tmp/test.std.range.line-7768.986ec1bd-25d8-4ff7-8c11-e259307d5b03' in mode `w' (Permission denied)
0.001s PASS release32 std.range.primitives
0.000s PASS release32 std.range.interfaces
0.005s PASS release32 std.regex
0.000s PASS release32 std.regex.internal.ir
0.000s PASS release32 std.regex.internal.backtracking
0.007s PASS release32 std.regex.internal.generator
0.003s PASS release32 std.regex.internal.parser
0.417s PASS release32 std.regex.internal.tests
0.000s PASS release32 std.regex.internal.kickstart
0.000s PASS release32 std.internal.cstring
0.000s PASS release32 std.internal.scopebuffer
0.000s PASS release32 std.internal.math.biguintcore
0.000s PASS release32 std.internal.math.biguintnoasm
0.000s PASS release32 std.internal.math.errorfunction
0.000s PASS release32 std.internal.math.gammafunction

-------------------

thanks!



December 07
On Friday, 7 December 2018 at 08:49:42 UTC, dangbinghoo wrote:
> On Sunday, 1 November 2015 at 05:44:04 UTC, Joakim wrote:
>> [...]
>
> android 6.0 64bit snapdragon 625
>
> apk logcat:
>
> [...]

Thanks, but I'm not really looking for test results these days, as this is a three year-old thread and most everything works. If you want to make sure everything works on your device, I recommend building the 64-bit test runners and running in the local directory for the Termux app, as shown here:

https://wiki.dlang.org/Build_D_for_Android

Append the `--testrunners` flag to the shown ldc-build-runtime 64-bit command to build the druntime and Phobos test runners. You can build them in Termux itself by installing the ldc, cmake, and ninja packages, then running the ldc-build-runtime command shown for linux. For AArch64, 4-5 Phobos modules will trip asserts when built natively because of a couple things still left to port:

https://github.com/ldc-developers/ldc/issues/2153
https://github.com/dlang/phobos/pull/6790
Next ›   Last »
1 2 3 4 5