Merge: nitcorn: skip the listening loop when running the tests
authorJean Privat <jean@pryen.org>
Thu, 14 Jan 2016 14:33:58 +0000 (09:33 -0500)
committerJean Privat <jean@pryen.org>
Thu, 14 Jan 2016 14:33:58 +0000 (09:33 -0500)
commit5380a23f82925124e230900c425e4eb75577e055
tree80040de786cb312e5aefb2d74c7ff10535412830
parent56813089cd87cc9647aad42624991549f30e510b
parentff953ca48cbcc906ef3476cfb2eb2fca47298fb0
Merge: nitcorn: skip the listening loop when running the tests

Until now, each nitcorn example checked if it was being tested, and if so it would quit to not block jenkins. This PR moves this check in the nitcorn module so it is the default behavior.

This should help for #1915 and future nitcorn programs.

Pull-Request: #1916
Reviewed-by: Jean Privat <jean@pryen.org>