CTS and CI for replicant

Added by Loic Dachary 5 months ago

Hi,

I don't think there any kind of continuous integration for replicant at the moment. I suppose something like https://source.android.com/compatibility/cts/index.html could be used for that purpose. Even though it may not pass all tests, having it run would be helpful to validate a change anyway. I realize this requires an actual device plugged in a server: it's more difficult that the usual CI ;-)

What do you think ? Would it be useful or would it be a waste of time ?


Replies (3)

RE: CTS and CI for replicant - Added by Loic Dachary 4 months ago

A page was added explaining how to setup and run CTS for Replicant 4.2 (thanks to phh on irc.freenode.net#replicant for the help ;-) It is running in the basement and making funny noises. There are two devices under test: a SIII with a samsung firmware running 4.3 and a https://tehnoetic.com/ SII running Replicant 4.2.

RE: CTS and CI for replicant - Added by Loic Dachary 4 months ago

https://source.android.com/compatibility/cts/setup.html#screen_storage reads "If the device has SIM card slots, plug in an activated SIM card to each slot. If the device supports SMS, each SIM card should have its own number field populated.". There is a filesystem on the SIM, it can contain contacts and SMS and the phone number. If it's not possible to do that using settings (which is most likely the case for newer phones) https://github.com/lytsing/MyPhoneNumber may work but requires system permissions.

This is required for CTS to run SMS tests so that it can send SMS to itself.

RE: CTS and CI for replicant - Added by Loic Dachary 4 months ago

(1-3/3)