Confirmed users
3,376
edits
No edit summary |
|||
| Line 1: | Line 1: | ||
==Getting the Tests== | ==Getting the Tests== | ||
An overview of what [[https://developer.mozilla.org/En/Mozilla_automated_testing reftests]] are. | An overview of what [[https://developer.mozilla.org/En/Mozilla_automated_testing reftests]] are. | ||
Get the source and build according to [[Mobile/Build/Fennec|instructions]]. | |||
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) if you edit it to point at your mozilla-central source directory. | ||
==Porting tests to N800== | ==Porting tests to N800== | ||