diff --git a/repos/ports/run/vbox5_genode_usb_hid_raw.run b/repos/ports/run/vbox5_genode_usb_hid_raw.run deleted file mode 100644 index 113fd93ab7..0000000000 --- a/repos/ports/run/vbox5_genode_usb_hid_raw.run +++ /dev/null @@ -1,236 +0,0 @@ -# -# This run script tests the VirtualBox USB device pass-through feature -# by running the 'usb_hid_raw' test in a VM. -# -# See 'usb_hid_raw.run' for more information about the setup of the 'Pro Micro' USB -# device for automated testing. -# -# Note: the USB device(s) to be passed through must be included in the whitelist. -# - -if { [have_include "power_on/qemu"] || ![have_spec nova] || ![have_spec x86_64]} { - puts "Run script is only supported on 64-bit NOVA on real hardware" - exit 0 -} - -create_boot_directory -import_from_depot [depot_user]/src/[base_src] \ - [depot_user]/src/acpi \ - [depot_user]/src/fs_rom \ - [depot_user]/src/init \ - [depot_user]/src/jpeg \ - [depot_user]/src/libc \ - [depot_user]/src/libiconv \ - [depot_user]/src/libyuv \ - [depot_user]/src/log_terminal \ - [depot_user]/src/nitpicker \ - [depot_user]/src/pc_usb_host \ - [depot_user]/src/pci_decode \ - [depot_user]/src/platform \ - [depot_user]/src/posix \ - [depot_user]/src/ps2 \ - [depot_user]/src/report_rom \ - [depot_user]/src/stdcxx \ - [depot_user]/src/vbox5-nova \ - [depot_user]/src/vesa_fb \ - [depot_user]/src/vfs \ - [depot_user]/src/vfs_import \ - [depot_user]/src/vfs_pipe \ - [depot_user]/src/zlib - -install_config { - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2022-08-10 00:01 - - - - - - - - - - - - - -} - -puts "--- executing the 'usb_hid_raw' run script to generate the 'usb_hid_raw.iso' image ---" - -global specs -global repositories - -set depot_auto_update "" -if {[get_cmd_switch --depot-auto-update]} { - set depot_auto_update "--depot-auto-update" -} - -exec -ignorestderr \ - $::argv0 \ - --genode-dir [genode_dir] \ - --name usb_hid_raw \ - --specs "$specs" \ - --board "$board_var" \ - --repositories "$repositories" \ - --depot-dir [depot_dir] \ - --depot-user [depot_user] \ - $depot_auto_update \ - --cross-dev-prefix "[cross_dev_prefix]" \ - --include boot_dir/nova \ - --include image/iso \ - --include [repository_contains run/usb_hid_raw.run]/run/usb_hid_raw.run - -exec ln -sf ${genode_dir}/repos/ports/run/vm_genode_usb_hid_raw.vbox bin/ -exec ln -sf ../../usb_hid_raw.iso bin/ - -build_boot_image { usb_hid_raw.iso vm_genode_usb_hid_raw.vbox } - -if { ![get_cmd_switch --autopilot] } { run_genode_until forever } - -# autopilot test - -run_genode_until {\[init -\> log_terminal\] \[init -\> event_dump\] Input event #11\t} 150 - -# pay only attention to the output of event_dump -grep_output {^\[init -\> log_terminal\] \[init -\> event_dump\]} - -compare_output_to { -[init -> log_terminal] [init -> event_dump] Input event #0 PRESS KEY_X 65534 key count: 1 -[init -> log_terminal] [init -> event_dump] Input event #1 RELEASE KEY_X key count: 0 -[init -> log_terminal] [init -> event_dump] Input event #2 REL_MOTION -1+1 key count: 0 -[init -> log_terminal] [init -> event_dump] Input event #3 PRESS BTN_LEFT 65534 key count: 1 -[init -> log_terminal] [init -> event_dump] Input event #4 RELEASE BTN_LEFT key count: 0 -[init -> log_terminal] [init -> event_dump] Input event #5 PRESS KEY_X 65534 key count: 1 -[init -> log_terminal] [init -> event_dump] Input event #6 RELEASE KEY_X key count: 0 -[init -> log_terminal] [init -> event_dump] Input event #7 REL_MOTION -1+1 key count: 0 -[init -> log_terminal] [init -> event_dump] Input event #8 PRESS BTN_LEFT 65534 key count: 1 -[init -> log_terminal] [init -> event_dump] Input event #9 RELEASE BTN_LEFT key count: 0 -} diff --git a/repos/ports/run/vm_genode_usb_hid_raw.vbox b/repos/ports/run/vm_genode_usb_hid_raw.vbox deleted file mode 100644 index 0ee4948ccc..0000000000 --- a/repos/ports/run/vm_genode_usb_hid_raw.vbox +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -