Skip to content
Permalink
Branch: master
Commits on Jan 15, 2020
  1. step: set event source for bound methods

    Bastian-Krause authored and jluebbe committed Jan 15, 2020
    It is possible to call the step function not via the @step decorator but
    directly. In case getattr() is used to retrieve an object's method it
    will be a bound method object (instead of a function object when used
    via the decorator). The signature of a bound method does not contain self
    as a parameter, so the event source will always be None.
    
    Currently only the GraphStrategy calls the step function directly. Fix
    the event source in these cases by using func.__self__ for bound methods.
    
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
Commits on Jan 8, 2020
  1. driver: qemudriver: raise meaningful exception if QEMU process termin…

    Bastian-Krause authored and Emantor committed Jan 6, 2020
    …ated
    
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
  2. util: qmp: raise QMPError for empty QMP response

    Bastian-Krause authored and Emantor committed Jan 6, 2020
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
  3. util: qmp: make invalid QMP greeting raise QMPError with meaningful m…

    Bastian-Krause authored and Emantor committed Jan 6, 2020
    …essage
    
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
Commits on Jan 7, 2020
  1. pytestplugin: reporter: report event source

    Bastian-Krause authored and Emantor committed Jan 7, 2020
    Due to an increasing number of drivers implementing protocols the
    method names logged in the step reporter become more and more ambiguous.
    Therefore prepend the event source (the name of the driver) to the report.
    
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
Commits on Jan 6, 2020
  1. doc: use consistent spelling variants of proper names

    Bastian-Krause authored and jluebbe committed Jan 6, 2020
    Use "labgrid", "QEMU", "SSH", "U-Boot" spellings consistently across
    documentation.
    
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
  2. doc: fix and clarify several paragraphs

    Bastian-Krause authored and jluebbe committed Jan 6, 2020
    Clarify overly complicated sentences. Also fix grammatically wrong
    sentences.
    
    Use "bootloader" spelling across project, which seems to be the wider
    used alternative (as opposed to "boot loader").
    
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
  3. doc: development: mention protocol references in bindings

    Bastian-Krause authored and jluebbe committed Jan 6, 2020
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
Commits on Dec 20, 2019
  1. remote: coordinator: do not overwrite builtin filter()

    Bastian-Krause authored and jluebbe committed Dec 17, 2019
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
  2. util: agents: sysfsgpio: no need to mark index private

    Bastian-Krause authored and jluebbe committed Dec 16, 2019
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
  3. util: agents: sysfsgpio: specify index directly in constructor

    Bastian-Krause authored and jluebbe committed Dec 16, 2019
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
  4. util: agents: sysfsgpio: closefd defaults to True if not explicitly s…

    Bastian-Krause authored and jluebbe committed Dec 16, 2019
    …pecified in open()
    
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
  5. util: agents: sysfsgpio: linting fixes

    Bastian-Krause authored and jluebbe committed Dec 16, 2019
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
  6. util: agents: sysfsgpio: mark _assert_gpio_line_is_exported() static

    Bastian-Krause authored and jluebbe committed Nov 19, 2019
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
  7. remote: coordinator: remove unused variable in CoordinatorComponent._…

    Bastian-Krause authored and jluebbe committed Dec 16, 2019
    …update_acquired_places()
    
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
  8. util: dict: remove unused variable in find_dict()

    Bastian-Krause authored and jluebbe committed Dec 16, 2019
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
  9. driver/remote: disable arguments-differ warnings

    Bastian-Krause authored and jluebbe committed Dec 17, 2019
    The fake driver should (and does) not care about method prototypes, so
    allow differing arguments here.
    
    ResourceExport calls the respective methods on ResourceEntry without
    specifying method arguments explicitly. Allow that, too.
    
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
  10. treewide: simplify expressions

    Bastian-Krause authored and jluebbe committed Dec 16, 2019
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
  11. treewide: remove unnecessary else clauses

    Bastian-Krause authored and jluebbe committed Dec 16, 2019
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
  12. treewide: make format strings more expressive

    Bastian-Krause authored and jluebbe committed Dec 16, 2019
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
  13. treewide: wrap long lines

    Bastian-Krause authored and jluebbe committed Dec 17, 2019
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
  14. treewide: remove unnecessary empty lines

    Bastian-Krause authored and jluebbe committed Dec 16, 2019
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
  15. treewide: decorate several allowed too long lines

    Bastian-Krause authored and jluebbe committed Dec 16, 2019
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
  16. treewide: use % formatting in logging functions

    Bastian-Krause authored and jluebbe committed Dec 16, 2019
    This allows lazy logging functionality.
    
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
  17. treewide: indentation fixes

    Bastian-Krause authored and jluebbe committed Dec 3, 2019
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
  18. treewide: sort imports

    Bastian-Krause authored and jluebbe committed Dec 3, 2019
    Import standard libraries first, then import third-party modules.
    Finally import application specifics.
    
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
  19. treewide: remove unused imports

    Bastian-Krause authored and jluebbe committed Oct 30, 2019
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
  20. resource: common: remove trailing space

    Bastian-Krause authored and jluebbe committed Dec 16, 2019
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
Commits on Nov 27, 2019
  1. graphstrategy: fix error message about multiple root states

    Bastian-Krause authored and jluebbe committed Oct 30, 2019
    root_states already contains all states without dependencies as
    strings. Joining only the first element of each string results in the
    first character of each state being printed. Fix this by joining
    root_states directly without a list comprehension.
    
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
Commits on Nov 21, 2019
  1. target: make sure drivers consume all given bindings

    Bastian-Krause authored and jluebbe committed Nov 21, 2019
    This helps discovering errors in complex yaml configs.
    
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
Commits on Nov 18, 2019
  1. driver: shelldriver: increase timeout for _check_prompt()

    Bastian-Krause committed Nov 18, 2019
    Due to heavy load on the target echoing the marker and displaying the
    prompt might take a while. This is no error, so increase the timeout.
    
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
  2. driver: shelldriver: combine marker/prompt expects in _check_prompt()

    Bastian-Krause committed Nov 18, 2019
    Use only a single expect call. This allows using a combined timeout for
    the marker and the prompt lateron.
    
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
Commits on Nov 13, 2019
  1. driver/networkusbstoragedriver: wait for medium in write_image()

    Bastian-Krause authored and jluebbe committed Nov 12, 2019
    It is guaranteed that the USB storage device is available when
    write_image() is called. But the device might not be there yet. For the
    time being use sysfs polling to wait for the medium.
    
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
  2. driver/networkusbstoragedriver: fix string formatting in get_size()

    Bastian-Krause authored and jluebbe committed Nov 12, 2019
    Fixes: 533cec4 ("linting: do miscellaneous linting")
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
Commits on Jul 3, 2019
  1. driver: fastbootdriver: implement 'getvar' and 'oem getenv' commands

    Bastian-Krause authored and jluebbe committed May 17, 2019
    These commands allow reading variables. The value is returned in a
    pretty obfuscated way, so clean up is performed and only the value of
    the (environment) variable is then returned.
    
    Note: there is no way to distinguish non-existent variables and
    variables with an empty value. This is a fastboot limitation.
    
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
Older
You can’t perform that action at this time.