summaryrefslogtreecommitdiff
path: root/repo/meson/fix-ninja-output-test.patch
diff options
context:
space:
mode:
Diffstat (limited to 'repo/meson/fix-ninja-output-test.patch')
-rw-r--r--repo/meson/fix-ninja-output-test.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/repo/meson/fix-ninja-output-test.patch b/repo/meson/fix-ninja-output-test.patch
new file mode 100644
index 0000000..5706d84
--- /dev/null
+++ b/repo/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
+