439
edits
| Line 88: | Line 88: | ||
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: | ||
make | make android_install | ||
make | make android_run_tests | ||
NOTE: The 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: Many tests will fail if the test suite is ran on a FAT filesystem (like /sdcard). This is because we can't set the permissions on the files there. | |||
== Adjusting things to your environment == | |||
There are other environment variables you can set to change some of the defaults: | |||
ANDROID_PORT - By default this is 2222 in sshdroid. You can change it with the options menu. If you do you will need to set the ANDROID_PORT value. | |||
ANDROID_VERSION - By default this is 8. You can change the NDK version you build against by changing this value. | |||
edits