Mobile/Fennec Reftests: Difference between revisions

Jump to navigation Jump to search
Line 6: Line 6:
The tests are included in the source tree (mozilla-central) inside reftest or crashtest directories.  The tests have a master include file (layout/reftest/reftests.list, testing/crashtest/crashtests.list) which include all other tests throughout the source tree.
The tests are included in the source tree (mozilla-central) inside reftest or crashtest directories.  The tests have a master include file (layout/reftest/reftests.list, testing/crashtest/crashtests.list) which include all other tests throughout the source tree.


Since we don't have the source tree on the mobile device, we need to extract all the related tests and .list files from the source tree and put them on the device.  This has to be done while preserving directories since relative paths are used.  We have developed a [[http://people.mozilla.com/~jmaher/fennec/reftest_extract.py python script]] which will create two tarballs (reftests_.tar, crashtests_.tar) if you edit it to point at your mozilla-central source directory.
Since we don't have the source tree on the mobile device, we need to extract all the related tests and .list files from the source tree and put them on the device.  This has to be done while preserving directories since relative paths are used.  We have developed a [[http://people.mozilla.com/~jmaher/fennec/reftest_extract.py python script]] which will create two tarballs (reftests_.tar, crashtests_.tar).  Make sure to edit the script before running to ensure the topsrc variable is set to the mozilla-central repository


==Porting tests to N800==
==Porting tests to N800==
Confirmed users
3,376

edits

Navigation menu