I'm seeing inconsistent results while using oelint.var.inheritlast rule
from oelint-adv.
One of the inconsistent scenarios is while using a single
inherit statement vs. using multiple ones:
Test case 1
test-recipe.bb
test.bbclass
inherit deploy
inherit cmake
Results in the inherits being processed in this order: ['test', 'native', 'deploy', 'cmake'] which triggers oelint.var.inheritlast.native:native needs to be inherited last
Test case 2
test-recipe.bb
inherit test
inherit native
test.bbclass
inherit deploy
inherit cmake
Results in the inherits being processed in this order: ['test', 'deploy', 'cmake', 'native'] which pleases oelint.var.inheritlast rule.
From my point of view both inherit test native and inherit test+inherit native should have
resulted in the same output, meaning that the oelint rule should have succeeded for both cases.
Tested using oelint-adv==9.1.0 and oelint-parser==8.6.0
I'm seeing inconsistent results while using
oelint.var.inheritlastrulefrom
oelint-adv.One of the inconsistent scenarios is while using a single
inherit statement vs. using multiple ones:
Test case 1
test-recipe.bb
test.bbclass
Results in the inherits being processed in this order:
['test', 'native', 'deploy', 'cmake']which triggersoelint.var.inheritlast.native:native needs to be inherited lastTest case 2
test-recipe.bb
test.bbclass
Results in the inherits being processed in this order:
['test', 'deploy', 'cmake', 'native']which pleasesoelint.var.inheritlastrule.From my point of view both
inherit test nativeandinherit test+inherit nativeshould haveresulted in the same output, meaning that the oelint rule should have succeeded for both cases.
Tested using
oelint-adv==9.1.0andoelint-parser==8.6.0