mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 08:40:53 +07:00
5fa3ea047a
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
29 lines
659 B
Ruby
29 lines
659 B
Ruby
|
|
require 'syno_kconfig'
|
|
|
|
describe 'CONFIG_CRYPTO_*' do
|
|
include SynoKconfig
|
|
|
|
%w[
|
|
CONFIG_CRYPTO_CRC32C
|
|
CONFIG_LIBCRC32C
|
|
].each do |cfg|
|
|
it "#{cfg}=y" do
|
|
platforms.verify(cfg, builtin?)
|
|
end
|
|
end
|
|
|
|
it "CONFIG_CRYPTO_CRC32C_INTEL=y if x86_64 platforms" do
|
|
platforms
|
|
.select { |p| p.family == :x86_64 }
|
|
.verify('CONFIG_CRYPTO_CRC32C_INTEL', builtin?)
|
|
end
|
|
|
|
it "CONFIG_CRYPTO_CRC32C_INTEL is not set if !x86_64 platforms" do
|
|
platforms
|
|
.reject { |p| p.family == :x86_64 }
|
|
.verify('CONFIG_CRYPTO_CRC32C_INTEL', disabled?)
|
|
end
|
|
end
|
|
|