cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

__init__.py (474B)


      1# SPDX-License-Identifier: GPL-2.0
      2"""
      3Do not affect user-assigned choice value by another choice.
      4
      5Handling of state flags for choices is complecated.  In old days,
      6the defconfig result of a choice could be affected by another choice
      7if those choices interact by 'depends on', 'select', etc.
      8
      9Related Linux commit: fbe98bb9ed3dae23e320c6b113e35f129538d14a
     10"""
     11
     12
     13def test(conf):
     14    assert conf.defconfig('defconfig') == 0
     15    assert conf.config_contains('expected_config')