Closed Bug 861183 Opened 11 years ago Closed 6 years ago

[tara]orng and run-monkey.sh can't support tara device

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: james.zhang, Unassigned)

References

Details

Attachments

(4 files)

orng and run-monkey.sh can't support tara device, only support unagi.
we modiy the orng.c and script to support both tara and unagi device.
we suggest to use config file to config these different devices.
copy the moneky-test to B2G folder
cd monkey-test && ./run-tara-test.sh    # run tara monkey test
cd monkey-test && ./run-unagi-test.sh  # run unagi monkey test

you can add new run-xxx-test.sh to run new device monke test.
build_symb.sh # build symbol for crash report and minidump
crash_report.sh # adb pull the crash report and screen snapshot
set_busybox.sh # adb push busybox to device
set_gsnap.sh # adb push gsnap to device
unlock.sh # turn on the backlight and unlock
run_test.sh # call other script
Severity: normal → major
Blocks: 861492
Comment on attachment 736796 [details] [diff] [review]
orng patch to support tara

Review of attachment 736796 [details] [diff] [review]:
-----------------------------------------------------------------

Some unsolicited feedback: I'd prefer if we generalized what this device needed that was a different from what we have there right now (I guess the ABS_Z events) and made that behaviour conditional on device-agnostic properties (like we did, for example, with INPUT_DEVICE_CLASS_TOUCH_MT_SYNC). If we try to have completely different behaviour for different devices the codebase will quickly get unwieldy.

Anyway, great to see people working on making orangutan support different devices.
(In reply to William Lachance (:wlach) from comment #6)
> Comment on attachment 736796 [details] [diff] [review]
orng patch to support
> tara

Review of attachment 736796 [details] [diff] [review]:
> -----------------------------------------------------------------

Some
> unsolicited feedback: I'd prefer if we generalized what this device needed
> that was a different from what we have there right now (I guess the ABS_Z
> events) and made that behaviour conditional on device-agnostic properties
> (like we did, for example, with INPUT_DEVICE_CLASS_TOUCH_MT_SYNC). If we try
> to have completely different behaviour for different devices the codebase
> will quickly get unwieldy.

Anyway, great to see people working on making
> orangutan support different devices.

Hi William, 

   orng and run-monkey.sh need config file to support different devices, so we can add new devices easily.

   We implement new auto monkey script, support auto code upgrade, build, flash, run monkey and submit the crash report to the server. We are testing the new scrpit now, and I'll submit it soon.
Firefox OS is not being worked on
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: