@@ -2481,7 +2481,7 @@ def compile_(toolchain=None, target=None, profile=False, compile_library=False,
2481
2481
+ list (chain .from_iterable (zip (repeat ('--profile' ), profile or [])))
2482
2482
+ list (chain .from_iterable (zip (repeat ('--source' ), source )))
2483
2483
+ (['-v' ] if verbose else [])
2484
- + (list (chain .from_iterable (izip (repeat ('--prefix' ), config_prefix ))) if config_prefix else []),
2484
+ + (list (chain .from_iterable (zip (repeat ('--prefix' ), config_prefix ))) if config_prefix else []),
2485
2485
env = env )
2486
2486
else :
2487
2487
# If the user hasn't supplied a build directory, ignore the default build directory
@@ -2602,7 +2602,7 @@ def test_(toolchain=None, target=None, compile_list=False, run_list=False, compi
2602
2602
2603
2603
if compile_list :
2604
2604
popen ([python_cmd , '-u' , os .path .join (tools_dir , 'test.py' ), '--list' ]
2605
- + list (chain .from_iterable (list (izip (repeat ('--profile' ), profile or []))))
2605
+ + list (chain .from_iterable (list (zip (repeat ('--profile' ), profile or []))))
2606
2606
+ ['-t' , tchain , '-m' , target ]
2607
2607
+ list (chain .from_iterable (zip (repeat ('--source' ), source )))
2608
2608
+ (['-n' , tests_by_name ] if tests_by_name else [])
@@ -2693,11 +2693,11 @@ def export(ide=None, target=None, source=False, clean=False, supported=False, ap
2693
2693
program .ignore_build_dir ()
2694
2694
2695
2695
popen ([python_cmd , '-u' , os .path .join (tools_dir , 'project.py' )]
2696
- + list (chain .from_iterable (izip (repeat ('-D' ), macros )))
2696
+ + list (chain .from_iterable (zip (repeat ('-D' ), macros )))
2697
2697
+ ['-i' , ide .lower ()]
2698
2698
+ ['-m' , target ]
2699
2699
+ (['-c' ] if clean else [])
2700
- + list (chain .from_iterable (izip (repeat ('--source' ), source )))
2700
+ + list (chain .from_iterable (zip (repeat ('--source' ), source )))
2701
2701
+ (['--app-config' , app_config ] if app_config else [])
2702
2702
+ args ,
2703
2703
env = env )
0 commit comments