- # TODO: Use less heavy way to avoid apt remove falilures.
- # Also, reserve_testbed has already called cleanup once.
- cleanup_topo
- select_build "build_parent" || die
+ if ((iter)); then
+ # Function reserve_and_cleanup_testbed has already cleaned it once,
+ # but we need to clean it explicitly on subsequent iterations.
+ cleanup_topo
+ fi
+ # Testing current first. Good for early failures or for API changes.
+ select_build "build_current" || die