mirror of
https://github.com/intel/isa-l.git
synced 2024-12-12 17:33:50 +01:00
erasure_code: disable unit tests temporarily for aarch64/ppc64le
Some aarch64 and ppc64le implementations of gf_vect_mul do not check for invalid sizes, so the unit test checking for negative return value from this function is disabled temporarily on these architectures. Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
This commit is contained in:
parent
da928194b4
commit
e3ed3082f9
@ -171,6 +171,7 @@ int main(int argc, char *argv[])
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if !defined(aarch64) && !defined(ppc64le)
|
||||||
// Test all unsupported sizes up to TEST_SIZE
|
// Test all unsupported sizes up to TEST_SIZE
|
||||||
for (size = 0; size < TEST_SIZE; size++) {
|
for (size = 0; size < TEST_SIZE; size++) {
|
||||||
if (size % align != 0 && gf_vect_mul(size, gf_const_tbl, buff1, buff2) == 0) {
|
if (size % align != 0 && gf_vect_mul(size, gf_const_tbl, buff1, buff2) == 0) {
|
||||||
@ -180,7 +181,10 @@ int main(int argc, char *argv[])
|
|||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
printf
|
||||||
|
("WARNING: Test disabled on ARM & PPC due to known issue https://github.com/intel/isa-l/issues/263\n");
|
||||||
|
#endif
|
||||||
printf(" done: Pass\n");
|
printf(" done: Pass\n");
|
||||||
fflush(0);
|
fflush(0);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user