|
|
| Line 37: |
Line 37: |
| to learn more about the tests, visit the [[https://developer.mozilla.org/en/Writing_xpcshell-based_unit_tests MDC Guide]] | | to learn more about the tests, visit the [[https://developer.mozilla.org/en/Writing_xpcshell-based_unit_tests MDC Guide]] |
|
| |
|
| ==Porting tests to N800==
| |
| If following [[Mobile/Build/Fennec#Running Fennec on Maemo|directions]] for running fennec on N800/N810 devices, you will need to package up the tests from the xulrunner directory and the test harness from the source tree:
| |
|
| |
|
| <pre>
| |
| cp $(topsrcdir)/testing/xpcshell/* $(xul_objdir)/_tests/
| |
| cd $(xul_objdir)/_tests
| |
| tar -chf xpcshell.tar xpcshell/ xpcshell-simple/
| |
| </pre>
| |
|
| |
| Transfer tar file to device via scp and untar it.
| |
|
| |
| NOTE: it would be nice if the build script (make) would copy the test harness from the source tree to the xulrunner directory.
| |
|
| |
|
| ==Running the tests== | | ==Running the tests== |