# # \brief Test of Tox DHT bootstrap daemon # \author Emery Hemingway # if {[have_spec odroid_xu] || [have_spec linux] || [expr [have_spec imx53] && [have_spec trustzone]]} { puts "Run script does not support this platform." exit 0 } create_boot_directory build { app/tox_dht_bootstrap lib/vfs/import } import_from_depot \ [depot_user]/src/[base_src] \ [depot_user]/pkg/[drivers_nic_pkg] \ [depot_user]/src/init \ [depot_user]/src/libc \ [depot_user]/src/vfs \ [depot_user]/src/vfs_lwip \ [depot_user]/src/report_rom \ install_config { 2000-01-01 00:00 01234567890123456789 01234567890123456789 } build_boot_image { libsodium.lib.so c-toxcore.lib.so tox_dht_bootstrap } append_if [have_spec x86] qemu_args " -net nic,model=e1000 " append_if [have_spec lan9118] qemu_args " -net nic,model=lan9118 " append qemu_args " -net user -net dump,file=[run_dir].pcap" append qemu_args " -nographic" run_genode_until forever