assert_spec x86 if {[have_include "power_on/qemu"]} { puts "\nAudio_out test running on Qemu is not supported.\n" exit 0 } if {[have_spec linux]} { puts"\nAudio_out test running on Linux is not supported.\n" exit 0 } create_boot_directory build { core init timer drivers/acpi drivers/platform app/pci_decode server/report_rom drivers/audio test/audio_out } install_config { sample.raw } # # Get sample file # if {![file exists bin/sample.raw]} { puts "" puts "The sample file is missing. Please take a look at" puts "repos/dde_bsd/README, create 'sample.raw' and put" puts "the file into './bin'. afterwards" puts "" exit 1 } build_boot_image { core ld.lib.so init timer platform_drv acpi_drv pci_decode report_rom pci_audio_drv test-audio_out sample.raw } # # For obvious reasons the timeout depends on the total # length of the used sample file. # run_genode_until {.*played.*1 time\(s\)} 60