test-cli: port build options test to new build system API

Since we need testing for passing `--build-file` and `--cache-dir`
together anyway, use it to test the disabled build options test.
cdba1d591aJacob Young committed on 5/21/2025, 3:02:51 AMparentfe85569
2 files changedLine totals unavailable