1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

test: handle compilation errors when running tests specially in the teamcity runner (#17511)

This commit is contained in:
Petr Makhnev
2023-03-05 12:14:23 +04:00
committed by GitHub
parent 1a48d08d7a
commit c1f249af6c
3 changed files with 20 additions and 1 deletions

View File

@ -20,6 +20,9 @@ pub fn (r TeamcityReporter) report(index int, message LogMessage) {
.cmd_end {
eprintln("##teamcity[testSuiteFinished name='${name}' flowId='${message.flow_id}' duration='${message.took}']")
}
.cannot_compile {
eprintln("##teamcity[testFailed name='${name}' message='${message.message}']")
}
else {}
}
}