mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-20 13:08:08 +07:00
20 lines
413 B
Ruby
20 lines
413 B
Ruby
|
|
require 'syno_kconfig'
|
|
|
|
describe 'CONFIG_NUMA' do
|
|
include SynoKconfig
|
|
|
|
# you can use variable 'desc' if your description
|
|
# is idential to CONFIG name to be tested.
|
|
it "#{desc}=y for NUMA platforms" do
|
|
platforms
|
|
.select { |p| p.numa? }
|
|
.verify(desc, builtin?)
|
|
|
|
platforms
|
|
.reject { |p| p.numa? }
|
|
.verify(desc, disabled?)
|
|
end
|
|
end
|
|
|