aports/main/meson/fix-ninja-output-test.patch
2024-10-21 06:34:14 +00:00

12 lines
601 B
Diff

the tests parse the tool output and expect one of the strings to match-
samurai outputs slightly different strings, and hence breaks the tests
--- a/unittests/baseplatformtests.py
+++ b/unittests/baseplatformtests.py
@@ -82,5 +82,5 @@
# Misc stuff
if cls.backend is Backend.ninja:
- cls.no_rebuild_stdout = ['ninja: no work to do.', 'samu: nothing to do']
+ cls.no_rebuild_stdout = ['ninja: no work to do.', 'samu: nothing to do', 'samu: explain all: phony and no inputs']
else:
# VS doesn't have a stable output when no changes are done