This adds hooks for use with my integration for Labgrid (called Labgrid-sjg). The only existing hook that really does anything with the target, with this integration, is the 'console' one. There is also a new 'getrole' hook which looks up a role to find various things about it, such as the U-Boot board name.
Changes in v5: - Use Labgrid-sjg instead of Labgrid - Use LABGRID_SJG to indicates the 'Labgrid-sjg' integration is running - Update commit message and cover letter for Labgrid-sjg Changes in v4: - Use an environment variable to select the Labgrid hooks - Add new patch to add .none scripts for power off/on - Support pytest fully with dual-build boards like Beagleplay Changes in v3: - Fall back to conf.${board_type}_${board_ident} if conf.all missing - Update scripts for latest version of Labgrid integration - Add poweroff.none and poweron.none - Provide -n flag when querying board info - Target the grpc version of Labgrid which is now in -master - Update README to cover the changes Changes in v2: - Make use of the common script (only) to set bin_dir - Make use of the common script (only) to set bin_dir Simon Glass (3): Create a common file for test scripts Add .none scripts for power off/on Provide some basic scripts for Labgrid integration README.md | 51 ++++++++++++++++++++++++++++++++ bin/console.labgrid-sjg | 42 ++++++++++++++++++++++++++ bin/ellesmere/common-labgrid-sjg | 46 ++++++++++++++++++++++++++++ bin/ellesmere/conf.all | 24 +++++++++++++++ bin/getrole.labgrid-sjg | 25 ++++++++++++++++ bin/poweroff.none | 22 ++++++++++++++ bin/poweron.none | 22 ++++++++++++++ bin/release.labgrid-sjg | 22 ++++++++++++++ bin/release.none | 22 ++++++++++++++ bin/u-boot-test-common | 36 ++++++++++++++++++++++ bin/u-boot-test-console | 8 +---- bin/u-boot-test-flash | 8 +---- bin/u-boot-test-getrole | 38 ++++++++++++++++++++++++ bin/u-boot-test-power-off | 8 +---- bin/u-boot-test-power-on | 8 +---- bin/u-boot-test-release | 26 ++++++++++++++++ bin/u-boot-test-reset | 8 +---- 17 files changed, 381 insertions(+), 35 deletions(-) create mode 100644 bin/console.labgrid-sjg create mode 100755 bin/ellesmere/common-labgrid-sjg create mode 100644 bin/ellesmere/conf.all create mode 100644 bin/getrole.labgrid-sjg create mode 100755 bin/poweroff.none create mode 100755 bin/poweron.none create mode 100644 bin/release.labgrid-sjg create mode 100644 bin/release.none create mode 100755 bin/u-boot-test-common create mode 100755 bin/u-boot-test-getrole create mode 100755 bin/u-boot-test-release -- 2.34.1