NSS:Android: Difference between revisions

Jump to navigation Jump to search
Line 94: Line 94:
The android_run_tests target logins into the android device and runs the tests.
The android_run_tests target logins into the android device and runs the tests.
The android_get_result target fetches the tests results directory from android to the host.
The android_get_result target fetches the tests results directory from android to the host.
Once you've installed the NSS tests and binaries, you can run tests multiple times on those binaries. You only need to run make android_install again if you've made changes to the NSS tests or NSS itself.
You can control the NSS tests ran with the stand variables used by all.sh on the make command line (NSS_CYCLES, NSS_TESTS, NSS_SSL_TESTS, NSS_SSL_RUN).


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.
439

edits

Navigation menu