mirror of https://gitlab.com/ita1024/waf.git
Ensure that 'waf test' raises a meaningful error message in the installation test
This commit is contained in:
parent
fa6496dbc4
commit
3e605feb72
|
@ -11,7 +11,7 @@ def build(bld):
|
||||||
|
|
||||||
@TaskGen.feature('ruler')
|
@TaskGen.feature('ruler')
|
||||||
@TaskGen.before('process_rule')
|
@TaskGen.before('process_rule')
|
||||||
def test(self):
|
def test_helper(self):
|
||||||
if not self.bld.is_install or self.bld.is_install == Build.UNINSTALL:
|
if not self.bld.is_install or self.bld.is_install == Build.UNINSTALL:
|
||||||
while self.meths: # do not generate tasks: the target file may not be there
|
while self.meths: # do not generate tasks: the target file may not be there
|
||||||
self.meths.pop()
|
self.meths.pop()
|
||||||
|
|
Loading…
Reference in New Issue