]> rtime.felk.cvut.cz Git - omk.git/commit
Makefile.rules can now tell the OMK tester that the test cannot be executed.
authorMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 28 Jan 2008 08:30:00 +0000 (08:30 +0000)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 28 Jan 2008 08:30:00 +0000 (08:30 +0000)
commitd2ab620afee2194f3e98a203d00f0a54821d5bf4
treebd4d40db155d2d74833f6cc08c4e7fa42ded9b74
parentb78484206372f7ab6e6da763f7b4ea07ad84b048
Makefile.rules can now tell the OMK tester that the test cannot be executed.

If OMK is executed by tester.py, base snippet calls -check targets for
each pass and defines macro 'canttest'. The canttest macro can be used
by the -check targets or at other places. It notifies the tester that
this test cannot be executed because of something is missing for
example.

This way, the check for "canttest" don't have to be in runtest
scripts, which allows to execute more tests and skip only those, which
relly need some unavailable feature.

Tester application was enhanced to produce results not only by
testcase but also by rules. The results also contains links to test
script and directory, so it is easy to see quicky what a given error
mean.

darcs-hash:20080128083057-f2ef6-ac647bd06ea8ce9c047190bf15441c95f50b8006.gz
16 files changed:
snippets/base
snippets/linux
snippets/rtems
snippets/sdcc
snippets/sysless
snippets/vxworks
tests/README.tests
tests/functions.sh
tests/headers/generated/runtest
tests/headers/generated/runtest-default-cflags
tests/omk_config/runtest
tests/programs/runtest-cflags
tests/programs/runtest-cflags-cmdline
tests/programs/runtest-defs
tests/programs/runtest-test_PROGRAMS
tests/tester.py