mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-21 17:35:55 +01:00
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.before('process_rule')
|
||||
def test(self):
|
||||
def test_helper(self):
|
||||
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
|
||||
self.meths.pop()
|
||||
|
Loading…
Reference in New Issue
Block a user