Closed sacsant closed 3 months ago
Running this test on power11 fails with : (01/16) nx_gzip/nx_gzip.py:NXGZipTests.test_inflate_deflate: STARTED (01/16) nx_gzip/nx_gzip.py:NXGZipTests.test_inflate_deflate: CANCEL: NX-GZIP tests are supported only onPowerNV(POWER9) or POWER10 and onwards. (0.01 s) (02/16) nx_gzip/nx_gzip.py:NXGZipTests.test_basic_comp_decomp: STARTED (02/16) nx_gzip/nx_gzip.py:NXGZipTests.test_basic_comp_decomp: CANCEL: NX-GZIP tests are supported only onPowerNV(POWER9) or POWER10 and onwards. (0.01 s) …..
After the change: (01/16) nx_gzip/nx_gzip.py:NXGZipTests.test_inflate_deflate: STARTED (01/16) nx_gzip/nx_gzip.py:NXGZipTests.test_inflate_deflate: PASS (124.04 s) (02/16) nx_gzip/nx_gzip.py:NXGZipTests.test_basic_comp_decomp: STARTED (02/16) nx_gzip/nx_gzip.py:NXGZipTests.test_basic_comp_decomp: PASS (4.44 s) (03/16) nx_gzip/nx_gzip.py:NXGZipTests.test_kernel_oops: STARTED (03/16) nx_gzip/nx_gzip.py:NXGZipTests.test_kernel_oops: PASS (4.06 s) (04/16) nx_gzip/nx_gzip.py:NXGZipTests.test_zpipe: STARTED ……
Running the test on power11 system fails even though it is supported. To support this and future generations of IBM Power processors rewrite the processor family check logic. Instead of checking for processor version, add a check to detect nx-gzip support.
While at it, also remove the condition to execute configure command.
Signed-off-by: Sachin Sant sachinp@linux.ibm.com