diff --git a/docs/nspr/running_nspr_tests.rst b/docs/nspr/running_nspr_tests.rst index d877aecf2d1b9..bd42bbeecd131 100644 --- a/docs/nspr/running_nspr_tests.rst +++ b/docs/nspr/running_nspr_tests.rst @@ -1,28 +1,26 @@ Running NSPR tests ================== -NSPR has a test suite in the ``mozilla/nsprpub/pr/tests`` directory. +NSPR has a test suite in the ``pr/tests`` directory. -By default, we don't build the test programs. Running ``gmake`` in the -top-level directory (``mozilla/nsprpub``) only builds the NSPR -libraries. To build the test programs, you need to change directory to -``mozilla/nsprpub/pr/tests`` and run ``gmake``. Refer to :ref:`NSPR build +By default, we don't build the test programs. Running ``make`` in the +top-level directory only builds the NSPR libraries. +To build the test programs, you need to change directory to +``pr/tests`` and run ``make``. Refer to :ref:`NSPR build instructions` for details. To run the test suite, run the shell script -``mozilla/nsprpub/pr/tests/runtests.sh`` in the directory where the test +``pr/tests/runtests.sh`` in the directory where the test program binaries reside, for example, .. code:: - cvs -q co -r NSPR_4_6_6_RTM mozilla/nsprpub - mkdir linux.debug - cd linux.debug - ../mozilla/nsprpub/configure - gmake + hg clone https://hg.mozilla.org/projects/nspr + cd nspr/ + ./configure + make cd pr/tests - gmake - ../../../mozilla/nsprpub/pr/tests/runtests.sh + make runtests The output of the test suite looks like this: