aboutsummaryrefslogtreecommitdiffstats
path: root/main/meson/fix-ninja-output-test.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/meson/fix-ninja-output-test.patch')
-rw-r--r--main/meson/fix-ninja-output-test.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/meson/fix-ninja-output-test.patch b/main/meson/fix-ninja-output-test.patch
new file mode 100644
index 00000000000..5706d84859e
--- /dev/null
+++ b/main/meson/fix-ninja-output-test.patch
@@ -0,0 +1,12 @@
+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 @@
+ self.orig_env = os.environ.copy()
+ if self.backend is Backend.ninja:
+- self.no_rebuild_stdout = ['ninja: no work to do.', 'samu: nothing to do']
++ self.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
+