1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-26 08:41:47 -07:00
emacs/mps/test
Gareth Rees 3430fc8e10 Explain how to run the mmqa test suite on any unix.
Remove unused variables and avoid pointer->int conversions, so that the MMQA tests will run on platform lii6gc.

Copied from Perforce
 Change: 187185
 ServerID: perforce.ravenbrook.com
2014-10-10 15:32:30 +01:00
..
argerr More test maintenance: 2013-05-25 11:35:44 +01:00
conerr More test maintenance: 2013-05-25 11:35:44 +01:00
function Fix mmqa test function/136.c: 2014-10-10 14:04:41 +01:00
misc Long delayed maintenance of test suite: 2013-05-25 10:33:30 +01:00
test Explain how to run the mmqa test suite on any unix. 2014-10-10 15:32:30 +01:00
testsets Update the record of passing test cases. 2014-10-10 14:07:13 +01:00
README Explain how to run the mmqa test suite on any unix. 2014-10-10 15:32:30 +01:00

$Id$

This is the Memory Management QA test harness. To use it you need
perl 5 (or higher). Go "perl qa help" for help, "perl qa options"
to see what version of the harness you have (or look at the
file "test/version").


Testing on unix
---------------

From the root of the master sources or development branch::

    $ PLATFORM=lii6ll # substitute your platform
    $ make -C code -f $PLATFORM.gmk VARIETY=cool $PLATFORM/cool/mps.o
    $ alias qa="perl test/test/qa -i code -l code/$PLATFORM/cool/mps.o"
    $ qa clib
    $ qa run test/function/5.c
    $ qa runset test/testsets/passing

Each test case is compiled in its turn to the file
``test/test/obj/$(uname -s)_$(uname -r)_$(uname -p)__unix/tmp_test``
so you can debug it with::

    $ lldb test/test/obj/$(uname -s)_$(uname -r)_$(uname -p)__unix/tmp_test

(Or ``gdb`` instead of ``lldb``.)