diff options
| author | historia <historiavg@proton.me> | 2026-08-25 17:41:58 -0400 |
|---|---|---|
| committer | historia <historiavg@proton.me> | 2026-08-25 17:41:58 -0400 |
| commit | bcac6c42eaf9e004716d72960bddefb1db68a93c (patch) | |
| tree | aa9a32b20b67c927be11565f6788ed589c1d5f54 /app/tests/test_backends_audiocpp.py | |
| parent | 60dadfba145cefd35bced0634949172112da3691 (diff) | |
| download | tts-audiobook-generator-bcac6c42eaf9e004716d72960bddefb1db68a93c.tar.gz | |
fix: build audio.cpp with --deployment-build
Diffstat (limited to 'app/tests/test_backends_audiocpp.py')
| -rw-r--r-- | app/tests/test_backends_audiocpp.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/tests/test_backends_audiocpp.py b/app/tests/test_backends_audiocpp.py index 7704ff4..e206ddd 100644 --- a/app/tests/test_backends_audiocpp.py +++ b/app/tests/test_backends_audiocpp.py @@ -915,6 +915,7 @@ class BuildAudiocppTests(unittest.TestCase): self.assertIn("cuda", argv) self.assertIn("--target", argv) self.assertIn("audiocpp_server", argv) + self.assertIn("--deployment-build", argv) self.assertEqual(run.call_args[1]["cwd"], self.checkout) def test_missing_script_returns_nonzero(self): @@ -966,7 +967,7 @@ class BuildAudiocppTests(unittest.TestCase): self.assertIn(f"Build log: {logs[0]}", notice) command = (f"cd {self.checkout} && sh " f"{self.scripts / 'build_linux.sh'} --backend cuda " - "--target audiocpp_server") + "--target audiocpp_server --deployment-build") self.assertIn(command, notice) self.assertIn("Troubleshoot by re-running this command", notice) self.assertTrue(any("failed (exit code 3)" in line |
