supported by Zeuner Solutions SourceForge.net Logo

documentation for the macro "define_test"

Define tests using

define_test(test name,
test description,
prerequisites,
test shell commands)

It is defined in the file testing.m4.

m4 code:

define(`define_test',
`define_documented(`$1',`$2',
`define(`_policy_makefile_increments',`
check_$1:` $3'`'`
patsubst(`$4',^,
`	')'
'_policy_makefile_increments)dnl
define(`_policy_tests',_policy_tests`\
		check_$1')')')