This shows you the differences between two versions of the page.
developersguide:testsuite [2014/11/12 18:00] lionelsambuc created |
developersguide:testsuite [2015/07/18 23:41] (current) jeanbaptisteboric small corrections |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== The MINIX 3 Test Suite ====== | ||
+ | |||
+ | The MINIX 3 sources include a test suite in ''minix/tests''. Primarily, it tests POSIX conformance. This page describes how to run the test suite. | ||
+ | |||
+ | ===== Compile the test suite within MINIX 3 ===== | ||
+ | |||
+ | Supposing you have [[.:usinggit|cloned the Minix source code]] in ''/usr/src'', type at the command prompt (#) | ||
+ | |||
+ | <code> | ||
+ | # cd /usr/src/minix/tests | ||
+ | # make | ||
+ | # make install | ||
+ | </code> | ||
+ | |||
+ | and wait until it completes all the compilations. The tests will be installed in ''/usr/tests/minix-posix/''. | ||
+ | |||
+ | ===== Run the test suite ===== | ||
+ | |||
+ | To test the system, type | ||
+ | |||
+ | <code> | ||
+ | # cd /usr/tests/minix-posix | ||
+ | # ./run | ||
+ | </code> | ||
+ | |||
+ | to run the test programs. | ||
+ | |||
+ | **Note**: the full test set will be performed only when you are root, so you should start the ''./run'' script as root. | ||