Usually called after the check is done.
.I res
-can be either an integer or a string. In the former case, 'ok' (res != 0)
-or 'failed' (res == 0) is displayed to the user, in the latter case the
+can be either an integer or a string. In the former case, 'yes' (res != 0)
+or 'no' (res == 0) is displayed to the user, in the latter case the
given string is displayed.
.TP
the &Message; call prints the
specified message (with no trailing newline)
and the &Result; call prints
- <literal>ok</literal> if the check succeeds and
- <literal>failed</literal> if it doesn't.
+ <literal>yes</literal> if the check succeeds and
+ <literal>no</literal> if it doesn't.
The &TryLink; method
actually tests for whether the
specified program text
<screen>
% <userinput>scons -Q -c</userinput>
- Checking for MyLibrary... ok
+ Checking for MyLibrary... yes
Removed foo.o
Removed foo
</screen>
the &Message; call prints the
specified message (with no trailing newline)
and the &Result; call prints
- <literal>ok</literal> if the check succeeds and
- <literal>failed</literal> if it doesn't.
+ <literal>yes</literal> if the check succeeds and
+ <literal>no</literal> if it doesn't.
The &TryLink; method
actually tests for whether the
specified program text
<screen>
% <userinput>scons -Q -c</userinput>
- Checking for MyLibrary... ok
+ Checking for MyLibrary... yes
Removed foo.o
Removed foo
</screen>
def Result(self, res):
"""Inform about the result of the test. res may be an integer or a
- string. In case of an integer, the written text will be 'ok' or
- 'failed'.
+ string. In case of an integer, the written text will be 'yes' or 'no'.
The result is only displayed when self.did_show_result is not set.
"""
if type(res) in BooleanTypes: