diff --git a/tools/ci/tests/test_dev_runtime.py b/tools/ci/tests/test_dev_runtime.py index 4be9b917d0..0c6a8fbca2 100644 --- a/tools/ci/tests/test_dev_runtime.py +++ b/tools/ci/tests/test_dev_runtime.py @@ -68,9 +68,9 @@ class TestDeveloperRuntime(unittest.TestCase): self.runtime.sync() self.assertEqual(native.read_bytes(), b'host binary') - def test_ui_build_prepares_mpc_import_dependency(self): + def test_command_build_prepares_mpc_import_dependency(self): solver = 'openpilot/selfdrive/controls/lib/longitudinal_mpc_lib/c_generated_code/acados_ocp_solver_pyx.so' - for command in ('c3', 'c4', 'onroad'): + for command in ('c3', 'c4', 'onroad', 'galaxy', 'python', 'pytest', 'shell'): with self.subTest(command=command), patch('tools.host_runtime.run') as build: self.runtime.build(command, 4) self.assertIn(solver, build.call_args.args[0]) diff --git a/tools/host_runtime.py b/tools/host_runtime.py index 047a6c26e0..5aad133df1 100755 --- a/tools/host_runtime.py +++ b/tools/host_runtime.py @@ -240,7 +240,7 @@ class HostRuntime: def build(self, command, jobs): params = 'openpilot/common/libparams_c' + ('.dylib' if self.system == 'Darwin' else '.so') targets = [params, 'msgq_repo/msgq/ipc_pyx.so', 'msgq_repo/msgq/visionipc/visionipc_pyx.so'] - if command in ('c3', 'c4', 'onroad', 'python', 'pytest', 'shell'): + if command in ('c3', 'c4', 'onroad', 'galaxy', 'python', 'pytest', 'shell'): targets += ['rednose_repo/rednose/helpers/ekf_sym_pyx.so', 'openpilot/selfdrive/locationd', 'openpilot/selfdrive/controls/lib/longitudinal_mpc_lib/c_generated_code/acados_ocp_solver_pyx.so'] if command in ('onroad', 'replay', 'cabana'):