From 52513610668b02c2c3991c75946aa3ed2995e206 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Mon, 23 Oct 2017 15:22:34 +1100 Subject: tester: Add an executable file name filter. The exe filter lets a BSP change the executable file to something that can be downloaded to the target. For example U-Boot requires the image format. The tester can now be configured to on-demand generate a specific image for the target as the tester runs. --- tester/rtems/testing/bsps/xilinx_zynq_zedboard.mc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tester/rtems') diff --git a/tester/rtems/testing/bsps/xilinx_zynq_zedboard.mc b/tester/rtems/testing/bsps/xilinx_zynq_zedboard.mc index cf5830c..af10810 100644 --- a/tester/rtems/testing/bsps/xilinx_zynq_zedboard.mc +++ b/tester/rtems/testing/bsps/xilinx_zynq_zedboard.mc @@ -53,6 +53,8 @@ jobs: none, none, '1' xilinx_zynq_zedboard: none, none, '%{_rtscripts}/tftp.cfg' xilinx_zynq_zedboard_arch: none, none, 'arm' test_restarts: none, none, '3' +target_pretest_command: none, none, 'rtems-zynq-mkimg @EXE@' +target_exe_filter_command: none, none, '/\.exe/.exe.img/' target_on_command: none, none, 'wemo-reset CSEng1 0 && sleep 4 && wemo-reset CSEng1 -1' target_off_command: none, none, 'wemo-reset CSEng1 0' target_reset_command: none, none, 'wemo-reset CSEng1 3' -- cgit v1.2.3