diff options
| author | ruki <[email protected]> | 2024-02-16 00:59:50 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-02-16 00:59:50 +0800 |
| commit | 4cb6ecce1119c66bb5c84a27f3f155b2b28ab6ba (patch) | |
| tree | 4e4777284c08adb0db456af540acd2deceb62b30 /tests/projects/c++/modules/test_headerunits.lua | |
| parent | b1d3ab468f9fefaed3368d0a9bb90fb4f9c0807b (diff) | |
add more tests
Diffstat (limited to 'tests/projects/c++/modules/test_headerunits.lua')
| -rw-r--r-- | tests/projects/c++/modules/test_headerunits.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/projects/c++/modules/test_headerunits.lua b/tests/projects/c++/modules/test_headerunits.lua index bb32070cf..70e8b3d51 100644 --- a/tests/projects/c++/modules/test_headerunits.lua +++ b/tests/projects/c++/modules/test_headerunits.lua @@ -9,6 +9,12 @@ function _build() else os.run("xmake -r") end + local outdata = os.iorun("xmake") + if outdata then + if outdata:find("compiling") or outdata:find("linking") or outdata:find("generating") then + raise("Modules incremental compilation does not work\n%s", outdata) + end + end end function main(t) |
