check-test-tools.jam

来自「Boost provides free peer-reviewed portab」· JAM 代码 · 共 27 行

JAM
27
字号
# Copyright 2001 Dave Abrahams # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) 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 failJam-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 + =
减小字号Ctrl + -
显示快捷键?