439
edits
Line 83: | Line 83: | ||
make nss_build_all | make nss_build_all | ||
= Running the tests == | |||
Once NSS for Android has built, you can run the tests on your android device as follows: | Once NSS for Android has built, you can run the tests on your android device as follows: | ||
Line 89: | Line 89: | ||
make android_install | make android_install | ||
make android_run_tests | make android_run_tests | ||
make android_get_result | |||
The android_install target copies the built NSS and tests to the android. | |||
The android_run_tests | |||
NOTE: The tests fips tests do not run because PR_GetLibraryFilePathname() currently does not work on android. In android NDK versions before 8 dladdr wasn't support. In versions after 8, dladdr does not correctly return the full path to the library, which is what we are trying to get in PR_GetLibraryFilePathname(). For now these tests are disabled if you use the above instructions. | NOTE: The tests fips tests do not run because PR_GetLibraryFilePathname() currently does not work on android. In android NDK versions before 8 dladdr wasn't support. In versions after 8, dladdr does not correctly return the full path to the library, which is what we are trying to get in PR_GetLibraryFilePathname(). For now these tests are disabled if you use the above instructions. |
edits