[Gambas-user] Coming back to gb.test

Christof Thalhofer chrisml at deganius.de
Thu May 7 21:06:08 CEST 2020


Am 07.05.20 um 13:17 schrieb Benoît Minisini:

>> It prints the exit code of
>> gbx3 -T "TestSummary" ./comp/src/gb.test
> 
> It doesn't. It pipes the standard output of "gbx3 -T "TestSummary" 
> ./comp/src/gb.test" to the echo command, that returns zero. The return 
> code of gbx3 is lost.

Yes you're right.

gbx3 -T "TestAllAsserts" ./comp/src/gb.test > /dev/null; echo $?
0

gbx3 -T "TestSummary" ./comp/src/gb.test > /dev/null; echo $?
1

:-)

Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200507/f2a3d38c/attachment.sig>


More information about the User mailing list