summaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2025-10-21 13:23:36 -0700
committerDylan Baker <dylan@pnwbakers.com>2025-12-17 10:27:54 -0800
commit52974210d5225825bf13a997941120b6c224bd9f (patch)
treea2e410f364bd4eca1c5eaea56f7cfd6220a4212d /test cases
parent2488f3f4b2f192a11d62534a08e792fd36f800c0 (diff)
downloadmeson-52974210d5225825bf13a997941120b6c224bd9f.tar.gz
backend: improve error message about install_dir install_count mismatch
Among other things it will say "expects X but only has Y", even if Y > X.
Diffstat (limited to 'test cases')
-rw-r--r--test cases/failing/40 custom target outputs not matching install_dirs/test.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/test cases/failing/40 custom target outputs not matching install_dirs/test.json b/test cases/failing/40 custom target outputs not matching install_dirs/test.json
index f9e2ba781..e6ea59770 100644
--- a/test cases/failing/40 custom target outputs not matching install_dirs/test.json
+++ b/test cases/failing/40 custom target outputs not matching install_dirs/test.json
@@ -27,7 +27,8 @@
],
"stdout": [
{
- "line": "ERROR: Target 'too-few-install-dirs' has 3 outputs: ['toofew.h', 'toofew.c', 'toofew.sh'], but only 2 \"install_dir\"s were found."
+ "line": "ERROR: Target 'too-few-install-dirs' has 3 outputs: \\['toofew.h', 'toofew.c', 'toofew.sh'\\], but 2 \"install_dir\"s were found: \\['([a-zA-Z]:)?/usr/include', False\\]\\.",
+ "match": "re"
}
]
}