[tbot] Contribution of 41 patches

Jonas Mark (ST-FIR/ENG1) Mark.Jonas at de.bosch.com
Mon Oct 9 15:03:53 UTC 2017


Hello Heiko,

Patches version 2.

Changes since V1:
- rebased to current mainline commit
   61bdfb1ee52: "tbot: version 2017.10"
- add comments from Heiko Schocher
   treat unknown arg.get('highlow') arguments as error
- add comments from Heiko Schocher
   treat unknown tb.power_state as error

> One comment:
> 
> > From 4ff0f8558f265cb70d0218e61676331955af489d Mon Sep 17 00:00:00 2001
> > From: Constantin Schuett <fixed-term.constantin.schuett at de.bosch.com>
> > Date: Thu, 13 Apr 2017 11:55:44 +0200
> > Subject: [PATCH 13/41] new testcase: tc_workfd_set_gpio.py testcase for
> >  controlling gpios through sysfs
> [...]
> > diff --git a/src/tc/linux/tc_workfd_set_gpio.py
> b/src/tc/linux/tc_workfd_set_gpio.py
> > new file mode 100644
> > index 0000000..409eab3
> > --- /dev/null
> > +++ b/src/tc/linux/tc_workfd_set_gpio.py
> > @@ -0,0 +1,49 @@
> [...]
> > +if arg.get('highlow') == 'high':
> > +    tb.eof_write_cmd(c, 'echo 1 > ' + gpiotemp.path + 'gpio' + gpiotemp.number
> + '/value')
> > +
> > +elif arg.get('highlow') == 'low':
> > +    tb.eof_write_cmd(c, 'echo 0 > ' + gpiotemp.path + 'gpio' + gpiotemp.number
> + '/value')
> 
> We should handle the "else" case too, so:
> 
> log an error and end testcase false in the else case please.
> Something like that:
> 
> else:
>      loggin.error("%s not supported", arg.get('highlow'))
>      tb.end_tc("False")
> 
> Same applies for patch:
> > From 09d8bb0ecd3aa100b4d592f9128794397a289d7d Mon Sep 17 00:00:00
> 2001
> > From: Heiko Schocher <hs at denx.de>
> > Date: Mon, 28 Aug 2017 08:52:35 +0200
> > Subject: [PATCH 14/41] new testcase: tc_lab_power_onoff_gpio.py

OK, see the attached new patch set.

> Beside of this, I am fine with this patches.

Thank you, we are looking forward to mainline! :)

Regards,
Mark

Security Systems, Panel Software Fire (ST-FIR/ENG1) 
Bosch Sicherheitssysteme GmbH | Postfach 11 11 | 85626 Grasbrunn | GERMANY | www.bosch-sicherheitsprodukte.de

Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart HRB 23118 
Aufsichtsratsvorsitzender: Stefan Hartung; Geschäftsführung: Gert van Iperen, Andreas Bartz, Thomas Quante, Bernhard Schuster 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-CR-LF-heuristic-to-trigger-response.patch
Type: application/octet-stream
Size: 2093 bytes
Desc: 0001-Add-CR-LF-heuristic-to-trigger-response.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0041.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-new-testcase-tc_dummy.py.patch
Type: application/octet-stream
Size: 2152 bytes
Desc: 0002-new-testcase-tc_dummy.py.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0042.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-tbotlib-End-tbot-if-unable-to-connect-to-lab-pc.patch
Type: application/octet-stream
Size: 2105 bytes
Desc: 0003-tbotlib-End-tbot-if-unable-to-connect-to-lab-pc.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0043.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-rework-tc_workfd_ssh.py-and-tc_workfd_scp.py-make-tc.patch
Type: application/octet-stream
Size: 9555 bytes
Desc: 0004-rework-tc_workfd_ssh.py-and-tc_workfd_scp.py-make-tc.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0044.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Create-workfd-testcase-for-removing-directory.patch
Type: application/octet-stream
Size: 2068 bytes
Desc: 0005-Create-workfd-testcase-for-removing-directory.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0045.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-Create-tc_workfd_write_cmd_check.py-testcase.patch
Type: application/octet-stream
Size: 2309 bytes
Desc: 0006-Create-tc_workfd_write_cmd_check.py-testcase.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0046.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-tc_ub_boot_linux.py-Catch-errors-when-booting-linux-.patch
Type: application/octet-stream
Size: 2004 bytes
Desc: 0007-tc_ub_boot_linux.py-Catch-errors-when-booting-linux-.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0047.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-tc_demo_linux_test.py-seperate-linux-tests-into-new-.patch
Type: application/octet-stream
Size: 6472 bytes
Desc: 0008-tc_demo_linux_test.py-seperate-linux-tests-into-new-.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0048.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-tc_workfd_set_toolchain.py-set-ARCH.PATCH
Type: application/octet-stream
Size: 1403 bytes
Desc: 0009-tc_workfd_set_toolchain.py-set-ARCH.PATCH
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0049.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-tc_workfd_set_toolchain.py-add-configurable-cmdlist.patch
Type: application/octet-stream
Size: 1576 bytes
Desc: 0010-tc_workfd_set_toolchain.py-add-configurable-cmdlist.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0050.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0011-tc_workfd_compile_linux.py-use-tc_workfd_set_toolcha.patch
Type: application/octet-stream
Size: 932 bytes
Desc: 0011-tc_workfd_compile_linux.py-use-tc_workfd_set_toolcha.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0051.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0012-tc_workfd_rm_linux_code.py-use-tc_workfd_rm_dir.py.patch
Type: application/octet-stream
Size: 910 bytes
Desc: 0012-tc_workfd_rm_linux_code.py-use-tc_workfd_rm_dir.py.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0052.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0013-new-testcase-tc_workfd_set_gpio.py-testcase-for-cont.patch
Type: application/octet-stream
Size: 3389 bytes
Desc: 0013-new-testcase-tc_workfd_set_gpio.py-testcase-for-cont.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0053.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0014-new-testcase-tc_lab_power_onoff_gpio.py.patch
Type: application/octet-stream
Size: 2306 bytes
Desc: 0014-new-testcase-tc_lab_power_onoff_gpio.py.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0054.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0015-tc_demo_linux_test.py-introduce-a-deploy-testcasenam.patch
Type: application/octet-stream
Size: 1538 bytes
Desc: 0015-tc_demo_linux_test.py-introduce-a-deploy-testcasenam.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0055.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0016-tc_demo_linux_test.py-seperate-linux-compile-and-dep.patch
Type: application/octet-stream
Size: 3990 bytes
Desc: 0016-tc_demo_linux_test.py-seperate-linux-compile-and-dep.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0056.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0017-Use-tc_workfd_rm_dir-to-remove-u-boot-code.patch
Type: application/octet-stream
Size: 974 bytes
Desc: 0017-Use-tc_workfd_rm_dir-to-remove-u-boot-code.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0057.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0018-tc_ub_load_board_env.py-optionally-call-board-specif.patch
Type: application/octet-stream
Size: 1955 bytes
Desc: 0018-tc_ub_load_board_env.py-optionally-call-board-specif.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0058.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0019-event-dashboard-do-not-crash-if-no-db-connection.patch
Type: application/octet-stream
Size: 1712 bytes
Desc: 0019-event-dashboard-do-not-crash-if-no-db-connection.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0059.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0020-tc_workfd_iperf.py-support-iperf3.patch
Type: application/octet-stream
Size: 3246 bytes
Desc: 0020-tc_workfd_iperf.py-support-iperf3.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0060.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0021-tc_workfd_iperf.py-move-tc_workfd_iperf_minval-into-.patch
Type: application/octet-stream
Size: 1700 bytes
Desc: 0021-tc_workfd_iperf.py-move-tc_workfd_iperf_minval-into-.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0061.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0022-tbotlib-add-possibility-to-load-more-than-one-config.patch
Type: application/octet-stream
Size: 1695 bytes
Desc: 0022-tbotlib-add-possibility-to-load-more-than-one-config.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0062.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0023-connection-save-prompt-type.patch
Type: application/octet-stream
Size: 8582 bytes
Desc: 0023-connection-save-prompt-type.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0063.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0024-new-testcase-tc_connect_to_compilepc.py.patch
Type: application/octet-stream
Size: 11442 bytes
Desc: 0024-new-testcase-tc_connect_to_compilepc.py.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0064.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0025-src-tc-tc_lab_apply_patches.py-use-tc_workfd_apply_p.patch
Type: application/octet-stream
Size: 1955 bytes
Desc: 0025-src-tc-tc_lab_apply_patches.py-use-tc_workfd_apply_p.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0065.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0026-tc_lab_get_uboot_source.py-possible-on-all-workfd.patch
Type: application/octet-stream
Size: 1941 bytes
Desc: 0026-tc_lab_get_uboot_source.py-possible-on-all-workfd.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0066.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0027-tc_lab_get_uboot_source.py-support-reference.patch
Type: application/octet-stream
Size: 1676 bytes
Desc: 0027-tc_lab_get_uboot_source.py-support-reference.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0067.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0028-src-tc-demo-seperate-u-boot-and-linux-testcases.patch
Type: application/octet-stream
Size: 3328 bytes
Desc: 0028-src-tc-demo-seperate-u-boot-and-linux-testcases.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0068.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0029-tc_ub_start_all_duts.py-make-it-optional.patch
Type: application/octet-stream
Size: 1335 bytes
Desc: 0029-tc_ub_start_all_duts.py-make-it-optional.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0069.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0030-tc_demo_uboot_tests.py-add-basic-cmd-checks.patch
Type: application/octet-stream
Size: 1779 bytes
Desc: 0030-tc_demo_uboot_tests.py-add-basic-cmd-checks.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0070.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0031-tc_demo_uboot_tests.py-add-register-file-check.patch
Type: application/octet-stream
Size: 1770 bytes
Desc: 0031-tc_demo_uboot_tests.py-add-register-file-check.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0071.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0032-tc_demo_uboot_tests.py-call-a-list-of-testcases.patch
Type: application/octet-stream
Size: 1260 bytes
Desc: 0032-tc_demo_uboot_tests.py-call-a-list-of-testcases.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0072.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0033-tc_demo_get_ub_code.py-work-not-only-on-ctrl-channel.patch
Type: application/octet-stream
Size: 813 bytes
Desc: 0033-tc_demo_get_ub_code.py-work-not-only-on-ctrl-channel.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0073.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0034-tc_lab_get_uboot_source.py-apply-only-patches-if-we-.patch
Type: application/octet-stream
Size: 936 bytes
Desc: 0034-tc_lab_get_uboot_source.py-apply-only-patches-if-we-.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0074.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0035-tc_demo_compile_install_test.py-work-on-all-channel.patch
Type: application/octet-stream
Size: 881 bytes
Desc: 0035-tc_demo_compile_install_test.py-work-on-all-channel.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0075.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0036-new-testcase-demo-u-boot-tc_demo_uboot_test.py.patch
Type: application/octet-stream
Size: 3079 bytes
Desc: 0036-new-testcase-demo-u-boot-tc_demo_uboot_test.py.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0076.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0037-tc_lab_compile_uboot.py-use-tc_workfd_compile_uboot..patch
Type: application/octet-stream
Size: 3871 bytes
Desc: 0037-tc_lab_compile_uboot.py-use-tc_workfd_compile_uboot..patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0077.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0038-rework-u-boot-tc_demo_compile_install_test.py.patch
Type: application/octet-stream
Size: 6042 bytes
Desc: 0038-rework-u-boot-tc_demo_compile_install_test.py.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0078.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0039-new-testcase-tc_demo_compilepc_uboot_test.py.patch
Type: application/octet-stream
Size: 1835 bytes
Desc: 0039-new-testcase-tc_demo_compilepc_uboot_test.py.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0079.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0040-tc_ub_get_version.py-correct-board-state.patch
Type: application/octet-stream
Size: 980 bytes
Desc: 0040-tc_ub_get_version.py-correct-board-state.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0080.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0041-tc_lab_get_uboot_source.py-use-tc_workfd_apply_patch.patch
Type: application/octet-stream
Size: 859 bytes
Desc: 0041-tc_lab_get_uboot_source.py-use-tc_workfd_apply_patch.patch
URL: <http://lists.denx.de/pipermail/tbot/attachments/20171009/d6174b0d/attachment-0081.obj>


More information about the tbot mailing list