changed scons messages from clangtest to be more consistent with rest of scons framework
This commit is contained in:
parent
fb2d438abb
commit
669c023de9
|
|
@ -1,13 +1,13 @@
|
||||||
#
|
#
|
||||||
# SCons C language related tests
|
# SCons C language related tests
|
||||||
#
|
#
|
||||||
# Version 1.1
|
# Version 1.2
|
||||||
# 25-Jul-2009
|
# 24-Aug-2009
|
||||||
#
|
#
|
||||||
|
|
||||||
def checkForVariable(conf,variable,include):
|
def checkForVariable(conf,variable,include):
|
||||||
"""Checks if variable is defined in given include statements."""
|
"""Checks if variable is defined in given include statements."""
|
||||||
conf.Message("checking if variable %s is defined... " % variable)
|
conf.Message("Checking if variable %s is defined... " % variable)
|
||||||
rc = conf.TryCompile("""
|
rc = conf.TryCompile("""
|
||||||
%s
|
%s
|
||||||
void dummy(void);
|
void dummy(void);
|
||||||
|
|
@ -18,7 +18,7 @@ void dummy(void) { %s = 0; }
|
||||||
|
|
||||||
def getVariableSize(conf,var):
|
def getVariableSize(conf,var):
|
||||||
"""Returns variable size in bytes"""
|
"""Returns variable size in bytes"""
|
||||||
conf.Message("checking for size of "+var+" ")
|
conf.Message("Checking for size of "+var+"... ")
|
||||||
rc = conf.TryCompile("""
|
rc = conf.TryCompile("""
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user