mirror of https://github.com/ARMmbed/mbed-os.git
Added new switch to build.py script. Now we can also build CppUTest library using switch --cpputest
parent
e017463c25
commit
cce551af35
|
@ -85,6 +85,12 @@ if __name__ == '__main__':
|
|||
default=False,
|
||||
help="Compile the u-blox library")
|
||||
|
||||
parser.add_option("", "--cpputest",
|
||||
action="store_true",
|
||||
dest="cpputest_lib",
|
||||
default=False,
|
||||
help="Compiles 'cpputest' unit test library (library should be on the same directory level as mbed repository)")
|
||||
|
||||
parser.add_option("-D", "",
|
||||
action="append",
|
||||
dest="macros",
|
||||
|
@ -102,12 +108,6 @@ if __name__ == '__main__':
|
|||
default=False,
|
||||
help="Forces 'cppcheck' static code analysis")
|
||||
|
||||
parser.add_option("", "--cpputest",
|
||||
action="store_true",
|
||||
dest="cpputest_lib",
|
||||
default=False,
|
||||
help="Compiles 'cpputest' unit test library (library should be on the same directory level as mbed repository)")
|
||||
|
||||
parser.add_option('-f', '--filter',
|
||||
dest='general_filter_regex',
|
||||
default=None,
|
||||
|
|
Loading…
Reference in New Issue