def is_stackprotector_available(self):
....
if self.dpkg_arch in ['arm64'] and \
not self.lsb_release['Release'] > 14.04: self._skipped("gcc-4.8 and older did not support stack-protector on arm64") result = False
....
So in this case, it will return False, making the following if statement become valid:
def test_180_config_stack_protector(self):
....
expected = 'y'
if not self.is_stackprotector_available(): expected = None
In the end it's expecting the stack_protector to be unset for ARM64.
This issue can be split into two parts:1
1. Maybe we should include amd64 and i386 in is_stackprotector_available
2. If we're doing 1., then these config must be disabled on T-HWE
It looks like this part in qrt is the cause:
def is_stackprotect or_available( self): release[ 'Release' ] > 14.04:
self. _skipped( "gcc-4. 8 and older did not support stack-protector on arm64")
result = False
....
if self.dpkg_arch in ['arm64'] and \
not self.lsb_
....
So in this case, it will return False, making the following if statement become valid:
def test_180_ config_ stack_protector (self): stackprotector_ available( ):
expected = None
....
expected = 'y'
if not self.is_
In the end it's expecting the stack_protector to be unset for ARM64.
This issue can be split into two parts:1 or_available
1. Maybe we should include amd64 and i386 in is_stackprotect
2. If we're doing 1., then these config must be disabled on T-HWE