@@ -1886,18 +1886,13 @@ def status_(ignore=False):
1886
1886
dict (name = '--library' , dest = 'compile_library' , action = 'store_true' , help = 'Compile the current %s as a static library.' % cwd_type ),
1887
1887
dict (name = '--config' , dest = 'compile_config' , action = 'store_true' , help = 'Show run-time compile configuration' ),
1888
1888
dict (name = '--prefix' , dest = 'config_prefix' , action = 'append' , help = 'Restrict listing to parameters that have this prefix' ),
1889
- dict (name = '--tests' , dest = 'compile_tests' , action = 'store_true' , help = 'An alias to \' mbed test --compile\' ' ),
1890
1889
dict (name = '--source' , action = 'append' , help = 'Source directory. Default: . (current dir)' ),
1891
1890
dict (name = '--build' , help = 'Build directory. Default: .build/' ),
1892
1891
dict (name = ['-c' , '--clean' ], action = 'store_true' , help = 'Clean the build directory before compiling' ),
1893
1892
dict (name = ['-S' , '--supported' ], dest = 'supported' , action = 'store_true' , help = 'Shows supported matrix of targets and toolchains' ),
1894
1893
help = 'Compile code using the mbed build tools' ,
1895
1894
description = ("Compile this program using the mbed build tools." ))
1896
- def compile_ (toolchain = None , mcu = None , source = False , build = False , compile_library = False , compile_config = False , config_prefix = None , compile_tests = False , clean = False , supported = False ):
1897
- # Pipe --tests to mbed tests command
1898
- if compile_tests :
1899
- return test_ (toolchain = toolchain , mcu = mcu , source = source , build = build , clean = clean , compile_only = True )
1900
-
1895
+ def compile_ (toolchain = None , mcu = None , source = False , build = False , compile_library = False , compile_config = False , config_prefix = None , clean = False , supported = False ):
1901
1896
# Gather remaining arguments
1902
1897
args = remainder
1903
1898
# Find the root of the program
0 commit comments