/usr/tests/minix-posix/check-install
This script runs a subset of all the available test. This is aimed at first time users which might be surprised by the warnings and time the full test suite takes. This runs all the tests which in case of success only print "ok" and don't take too much time to run, independently of the network connectivity. Change-Id: Id54b7656a98f9ec81880f91cb63ca888a175f20f
This commit is contained in:
parent
aea6d8c922
commit
d7e5edb2c7
3 changed files with 45 additions and 1 deletions
|
@ -6023,6 +6023,7 @@
|
|||
./usr/tests/minix-posix/blocktest/support.sh minix-sys
|
||||
./usr/tests/minix-posix/blocktest/system.conf minix-sys
|
||||
./usr/tests/minix-posix/blocktest/test.sh minix-sys
|
||||
./usr/tests/minix-posix/check-install minix-sys
|
||||
./usr/tests/minix-posix/ddekit minix-sys
|
||||
./usr/tests/minix-posix/ddekit/ddekittest minix-sys
|
||||
./usr/tests/minix-posix/ddekit/ddekittest_driver minix-sys
|
||||
|
|
|
@ -77,7 +77,8 @@ PROGS+= test${t}
|
|||
PROGS+= t10a t11a t11b t40a t40b t40c t40d t40e t40f t40g t60a t60b \
|
||||
t67a t67b t68a t68b tvnd
|
||||
|
||||
SCRIPTS+= run testinterp.sh testsh1.sh testsh2.sh testmfs.sh testisofs.sh testvnd.sh testkyua.sh
|
||||
SCRIPTS+= run check-install testinterp.sh testsh1.sh testsh2.sh testmfs.sh \
|
||||
testisofs.sh testvnd.sh testkyua.sh
|
||||
|
||||
# test57loop.S is not linked into the .bcl file.
|
||||
# This way, we can link it in when linking the final binary
|
||||
|
|
42
minix/tests/check-install
Normal file
42
minix/tests/check-install
Normal file
|
@ -0,0 +1,42 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Run a partial test suite for a quick check of most of the system
|
||||
# functionnality.
|
||||
|
||||
RUN="/usr/tests/minix-posix/run"
|
||||
|
||||
# Tests to run:
|
||||
TESTS=" 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 \
|
||||
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 \
|
||||
41 42 43 44 45 46 47 49 50 51 52 53 54 55 56 57 58 59 \
|
||||
61 62 63 64 66 67 68 69 70 71 72 73 74 75 76 77 78 79 \
|
||||
sh1 interp mfs isofs "
|
||||
|
||||
if [ ! -f ${RUN} ]
|
||||
then
|
||||
echo "Test runner script not found: ${RUN}\n"
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
cat <<EOT
|
||||
This tool will run the most common tests. This will skip some very lengthy
|
||||
ones, as well as some which are expected to generate some warnings.
|
||||
|
||||
To run the full test suite, you can execute the following:
|
||||
|
||||
# ./run
|
||||
|
||||
Be advised that the full test suite might take up to several hours to complete
|
||||
depending on your hardware.
|
||||
|
||||
The following tests will be run:
|
||||
${TESTS}
|
||||
|
||||
EOT
|
||||
|
||||
echo -n "Do you want to start [Y/n]? "
|
||||
read ok
|
||||
|
||||
if [ "${ok}" = "" -o "${ok}" = "y" -o "${ok}" = "Y" ]; then
|
||||
sh ${RUN} -t "${TESTS}"
|
||||
fi
|
Loading…
Reference in a new issue