tests: Add a test for a target with no sources
Since this was broken for a long time, we should have a test for it.
This commit is contained in:
parent
91206aaeb0
commit
37663da83e
|
@ -0,0 +1,3 @@
|
|||
project('no sources', 'c')
|
||||
|
||||
static_library('no sources')
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"stdout": [
|
||||
{
|
||||
"line": "WARNING: Build target no sources has no sources. This was never supposed to be allowed but did because of a bug, support will be removed in a future release of Meson"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue