A program to run antlion locally and in infrastructure. Includes a config generator with mDNS discovery and sensible defaults.
Running antlion locally with a Fuchsia emulator allows developers to perform a sanity checks on their changes. Running this way is very quick (~5 seconds) and can spot simple mistakes before code review!
jiri update -gc # if you haven't updated in a while fx set workstation_eng_paused.qemu-x64 \ --with-host //third_party/antlion:e2e_tests \ --with-host //third_party/antlion:tests \ --with //src/testing/sl4f fx build # if you haven't built in a while
fx serve
ffx emu stop && ffx emu start -H --net tap && ffx log
fx test --e2e --output //third_party/antlion:sl4f_sanity_test
Note: Local testing with auxiliary devices is not supported by antlion runner. Use antlion directly for these cases; see the antlion README.
fx set core.qemu-x64 --with //vendor/google/build/python/antlion/runner:tests fx test --output //vendor/google/build/python/antlion/runner:runner_test