📄 check-test-tools.jam
字号:
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 ;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -