diff options
author | Bogdan Marinescu <bogdan.a.marinescu@intel.com> | 2012-10-11 14:45:07 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-11 13:45:59 +0100 |
commit | cb1354d29c0be27aee57b9783c724457ef6725fb (patch) | |
tree | 533165879c2cac39be50916c78feab8eec4823bc /lib/bb/event.py | |
parent | 4cd0200e96fb282980a945b80af641a6e022e0b4 (diff) | |
download | bitbake-contrib-cb1354d29c0be27aee57b9783c724457ef6725fb.tar.gz |
event/hob: Add a button for network tests in the proxy settings
This patch allows the user to check the network connectivity in
the "Proxy" page ("Settings" dialog) by adding a button which provides
this functionality. It also disables retrigerring sanity checks if the
proxy values are changed, since now the proxy checks are explicit.
Note that this patch depends on a patch in oe-core
("sanity.bbclass: trigger network tests explicitly"). It will
not work properly if the patch in oe-core is not merged.
[YOCTO #3026]
Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/event.py')
-rw-r--r-- | lib/bb/event.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/bb/event.py b/lib/bb/event.py index 1889d09e1..e41455d27 100644 --- a/lib/bb/event.py +++ b/lib/bb/event.py @@ -566,3 +566,19 @@ class SanityCheckFailed(Event): Event.__init__(self) self._msg = msg self._network_error = network_error + +class NetworkTest(Event): + """ + Event to start network test + """ + +class NetworkTestPassed(Event): + """ + Event to indicate network test has passed + """ + +class NetworkTestFailed(Event): + """ + Event to indicate network test has failed + """ + |