Lines Matching refs:assert_error

73 #define assert_error(qts, cpu_type, expected_error, fmt, ...)          \  macro
278 assert_error(qts, cpu_type, "cannot disable sve128", "{ 'sve128': false }"); in sve_tests_default()
317 assert_error(qts, cpu_type, "cannot disable sve256", in sve_tests_default()
321 assert_error(qts, cpu_type, "cannot disable sve512", in sve_tests_default()
350 assert_error(qts, "max", "cannot disable sve1024", "{ 'sve1024': false }"); in sve_tests_sve_max_vq_8()
357 assert_error(qts, "max", "cannot enable sve1152", "{ 'sve1152': true }"); in sve_tests_sve_max_vq_8()
368 assert_error(qts, "max", "cannot disable sve256", "{ 'sve256': false }"); in sve_tests_sve_max_vq_8()
386 assert_error(qts, "max", "cannot enable sve128", "{ 'sve128': true }"); in sve_tests_sve_off()
428 assert_error(qts, cpu_type, in pauth_tests_default()
431 assert_error(qts, cpu_type, in pauth_tests_default()
434 assert_error(qts, cpu_type, in pauth_tests_default()
448 assert_error(qts, "foo", "The CPU type 'foo' is not a recognized " in test_query_cpu_model_expansion()
450 assert_error(qts, "max", "Parameter 'model.props.not-a-prop' is unexpected", in test_query_cpu_model_expansion()
452 assert_error(qts, "host", "The CPU type 'host' requires KVM", NULL); in test_query_cpu_model_expansion()
481 assert_error(qts, "a64fx", "cannot enable sve384", in test_query_cpu_model_expansion()
483 assert_error(qts, "a64fx", "cannot enable sve640", in test_query_cpu_model_expansion()
490 assert_error(qts, "max", in test_query_cpu_model_expansion()
527 assert_error(qts, "cortex-a7", in test_query_cpu_model_expansion_kvm()
534 assert_error(qts, "cortex-a7", in test_query_cpu_model_expansion_kvm()
593 assert_error(qts, "host", error, in test_query_cpu_model_expansion_kvm()
606 assert_error(qts, "host", error, "{ %s: false }", name); in test_query_cpu_model_expansion_kvm()
618 assert_error(qts, "host", error, "{ %s: true }", name); in test_query_cpu_model_expansion_kvm()