linux_dsm_epyc7002/synology/synoconfigs-spec/CONFIG_SWIOTLB.rb

18 lines
308 B
Ruby
Raw Normal View History

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