Browse Source

Ensure that 'waf test' raises a meaningful error message in the installation test

merge-requests/2241/head
Thomas Nagy 2 years ago
parent
commit
3e605feb72
No known key found for this signature in database GPG Key ID: 49B4C67C05277AAA
  1. 2
      tests/install/wscript

2
tests/install/wscript

@ -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…
Cancel
Save