From 2a56d9f154580b5bce78a5c382b0eef7e36751c9 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Thu, 15 Dec 2011 01:13:25 +0000 Subject: BuildBot console report code git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15126 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/showmsg.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/common/showmsg.c') diff --git a/src/common/showmsg.c b/src/common/showmsg.c index a69c73ba2..23d241505 100644 --- a/src/common/showmsg.c +++ b/src/common/showmsg.c @@ -687,6 +687,16 @@ int _vShowMessage(enum msg_type flag, const char *string, va_list ap) ShowError("Empty string passed to _vShowMessage().\n"); return 1; } + /** + * For the buildbot, these result in a EXIT_FAILURE from core.c when done reading the params. + **/ +#if defined(BUILDBOT) + if( flag == MSG_WARNING || + flag == MSG_ERROR || + flag == MSG_SQL ) { + bool buildbotflag = true; + } +#endif if( ( flag == MSG_WARNING && console_msg_log&1 ) || ( ( flag == MSG_ERROR || flag == MSG_SQL ) && console_msg_log&2 ) || -- cgit v1.2.3-70-g09d2