mirror of https://gitlab.com/ita1024/waf.git
Add tests for #2026
This commit is contained in:
parent
ad5dd18408
commit
a61742affb
|
@ -84,6 +84,10 @@ def build(bld):
|
||||||
test_cmd([exe], proj_cwd, ' next build from top')
|
test_cmd([exe], proj_cwd, ' next build from top')
|
||||||
test_cmd([exe], proj_out_cwd, ' next build from out', launch_dir='tmp_out')
|
test_cmd([exe], proj_out_cwd, ' next build from out', launch_dir='tmp_out')
|
||||||
test_cmd([exe], proj_sub_cwd, ' next build from subfolder', launch_dir='sub')
|
test_cmd([exe], proj_sub_cwd, ' next build from subfolder', launch_dir='sub')
|
||||||
|
test_cmd([exe, '--top=%s' % proj_cwd, '--out=foobar'], proj_cwd,
|
||||||
|
' next build from top, verify out_dir==lock_file.out_dir')
|
||||||
|
test_cmd([exe, '--top=%s' % proj_cwd, '--out=foobar'], proj_sub_cwd,
|
||||||
|
' next build from subfolder, verify out_dir==lock_file.out_dir', launch_dir='sub')
|
||||||
cleanup(bld)
|
cleanup(bld)
|
||||||
|
|
||||||
test_cmd([exe, 'configure', '--top=%s' % proj_cwd, '--out=%s' % proj_out_cwd], up_cwd, 'configure with top/out from up cwd',
|
test_cmd([exe, 'configure', '--top=%s' % proj_cwd, '--out=%s' % proj_out_cwd], up_cwd, 'configure with top/out from up cwd',
|
||||||
|
|
Loading…
Reference in New Issue