Lines Matching refs:TEST_ASSERT

65 	TEST_ASSERT(eval_reg == value, "value == 0x%lx", value);  in test_one_reg()
81 TEST_ASSERT(irqs >= 0, "Could not fetch IRQs: errno %d\n", errno); in assert_noirq()
82 TEST_ASSERT(!irqs, "IRQ pending"); in assert_noirq()
93 TEST_ASSERT(!memcmp(&regs.gprs, regs_null, sizeof(regs.gprs)), "grs == 0"); in assert_clear()
96 TEST_ASSERT(!memcmp(&sregs.acrs, regs_null, sizeof(sregs.acrs)), "acrs == 0"); in assert_clear()
99 TEST_ASSERT(!memcmp(&fpu.fprs, regs_null, sizeof(fpu.fprs)), "fprs == 0"); in assert_clear()
102 TEST_ASSERT(!memcmp(sync_regs->gprs, regs_null, sizeof(sync_regs->gprs)), in assert_clear()
105 TEST_ASSERT(!memcmp(sync_regs->acrs, regs_null, sizeof(sync_regs->acrs)), in assert_clear()
108 TEST_ASSERT(!memcmp(sync_regs->vrs, regs_null, sizeof(sync_regs->vrs)), in assert_clear()
116 TEST_ASSERT(sync_regs->gprs[0] == 0xffff000000000000UL, in assert_initial_noclear()
118 TEST_ASSERT(sync_regs->gprs[1] == 0x0000555500000000UL, in assert_initial_noclear()
120 TEST_ASSERT(sync_regs->gprs[2] == 0x00000000aaaa0000UL, in assert_initial_noclear()
122 TEST_ASSERT(sync_regs->gprs[3] == 0x0000000000000000UL, in assert_initial_noclear()
124 TEST_ASSERT(sync_regs->fprs[0] == 0x3ff0000000000000UL, in assert_initial_noclear()
126 TEST_ASSERT(sync_regs->acrs[9] == 1, "ar9 == 1 (sync_regs)"); in assert_initial_noclear()
137 TEST_ASSERT(sregs.crs[0] == 0xE0UL, "cr0 == 0xE0 (KVM_GET_SREGS)"); in assert_initial()
138 TEST_ASSERT(sregs.crs[14] == 0xC2000000UL, in assert_initial()
140 TEST_ASSERT(!memcmp(&sregs.crs[1], regs_null, sizeof(sregs.crs[1]) * 12), in assert_initial()
142 TEST_ASSERT(sregs.crs[15] == 0, "cr15 == 0 (KVM_GET_SREGS)"); in assert_initial()
145 TEST_ASSERT(sync_regs->crs[0] == 0xE0UL, "cr0 == 0xE0 (sync_regs)"); in assert_initial()
146 TEST_ASSERT(sync_regs->crs[14] == 0xC2000000UL, in assert_initial()
148 TEST_ASSERT(!memcmp(&sync_regs->crs[1], regs_null, 8 * 12), in assert_initial()
150 TEST_ASSERT(sync_regs->crs[15] == 0, "cr15 == 0 (sync_regs)"); in assert_initial()
151 TEST_ASSERT(sync_regs->fpc == 0, "fpc == 0 (sync_regs)"); in assert_initial()
152 TEST_ASSERT(sync_regs->todpr == 0, "todpr == 0 (sync_regs)"); in assert_initial()
153 TEST_ASSERT(sync_regs->cputm == 0, "cputm == 0 (sync_regs)"); in assert_initial()
154 TEST_ASSERT(sync_regs->ckc == 0, "ckc == 0 (sync_regs)"); in assert_initial()
155 TEST_ASSERT(sync_regs->pp == 0, "pp == 0 (sync_regs)"); in assert_initial()
156 TEST_ASSERT(sync_regs->gbea == 1, "gbea == 1 (sync_regs)"); in assert_initial()
159 TEST_ASSERT(vcpu->run->psw_addr == 0, "psw_addr == 0 (kvm_run)"); in assert_initial()
160 TEST_ASSERT(vcpu->run->psw_mask == 0, "psw_mask == 0 (kvm_run)"); in assert_initial()
163 TEST_ASSERT(!fpu.fpc, "fpc == 0"); in assert_initial()
176 TEST_ASSERT(sync_regs->crs[2] == 0x10, "cr2 == 10 (sync_regs)"); in assert_normal_noclear()
177 TEST_ASSERT(sync_regs->crs[8] == 1, "cr10 == 1 (sync_regs)"); in assert_normal_noclear()
178 TEST_ASSERT(sync_regs->crs[10] == 1, "cr10 == 1 (sync_regs)"); in assert_normal_noclear()
179 TEST_ASSERT(sync_regs->crs[11] == -1, "cr11 == -1 (sync_regs)"); in assert_normal_noclear()
185 TEST_ASSERT(vcpu->run->s.regs.pft == KVM_S390_PFAULT_TOKEN_INVALID, in assert_normal()
202 TEST_ASSERT(irqs >= 0, "Error injecting EMERGENCY IRQ errno %d\n", errno); in inject_irq()