Run the crate tests with the correct flags for the target.