2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-02 08:42:13 +00:00
Files
build/test/check-test-tools.jam
Dave Abrahams e21603cd7f All of my pending changes
[SVN r11328]
2001-10-02 12:24:53 +00:00

23 lines
631 B
Plaintext

include recursive.jam ;
include assert-equal.jam ;
#####################################
# Test the testing tools right here #
#####################################
# This command always exits with a failure.
Jam-fail "EXIT error ;" ;
# This should fail to fail
Jam-fail
"include recursive.jam ; Jam-fail \"# this innocuous Jamfile should fail to fail\" ;"
;
# the ECHO rule always has an empty result.
Jam-fail "include assert-equal.jam ; assert-equal fubar : ECHO checking that assertions fail ;"
: "ASSERTION FAILURE"
;
local NOTHING = ;
assert-equal $(NOTHING) : ECHO checking that assertions succeed ;