mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 10:20:49 +07:00
18 lines
308 B
Ruby
18 lines
308 B
Ruby
|
|
||
|
require 'syno_kconfig'
|
||
|
|
||
|
describe 'CONFIG_SWIOTLB' do
|
||
|
include SynoKconfig
|
||
|
|
||
|
it "CONFIG_SWIOTLB=y if CONFIG_64BIT enabled" do
|
||
|
platforms
|
||
|
.select { |p| p['CONFIG_64BIT'].enabled? }
|
||
|
.verify(desc, enabled?)
|
||
|
|
||
|
platforms
|
||
|
.reject { |p| p['CONFIG_64BIT'].enabled? }
|
||
|
.verify(desc, disabled?)
|
||
|
end
|
||
|
end
|
||
|
|