[slurm-users] Question about unit tests

Rikimaru Honjo honjo.rikimaru at ntt-tx.co.jp
Wed Dec 9 04:15:15 UTC 2020


Hi,

I ran unit tests according to the following document.

https://github.com/SchedMD/slurm/blob/master/testsuite/slurm_unit/README

As a result, all unit tests are passed.

But, I am concerned that test case number is too small. Total number is 5.
Is this correct? It seems that test code is not small.

This is the console log.
--------------------------------------
root at ho-slurmctld:/work/slurm/testsuite/slurm_unit# make check
[...]
PASS: api-test
============================================================================
Testsuite summary for slurm 20.02
============================================================================
# TOTAL: 1
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
[...]
Making check in common
[...]
============================================================================
Testsuite summary for slurm 20.02
============================================================================
# TOTAL: 0
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
[...]
Making check in slurmdb_pack
[...]
============================================================================
Testsuite summary for slurm 20.02
============================================================================
# TOTAL: 0
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
[...]
make  bitstring-test job-resources-test log-test pack-test
[...]
PASS: bitstring-test
PASS: job-resources-test
PASS: log-test
PASS: pack-test
============================================================================
Testsuite summary for slurm 20.02
============================================================================
# TOTAL: 4
# PASS:  4
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[4]: Leaving directory '/work/slurm/testsuite/slurm_unit/common'
make[3]: Leaving directory '/work/slurm/testsuite/slurm_unit/common'
make[2]: Leaving directory '/work/slurm/testsuite/slurm_unit/common'
make[1]: Leaving directory '/work/slurm/testsuite/slurm_unit/common'
make[1]: Entering directory '/work/slurm/testsuite/slurm_unit'
make[1]: Nothing to be done for 'check-am'.
make[1]: Leaving directory '/work/slurm/testsuite/slurm_unit'
--------------------------------------

Best regards,
-- 
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Rikimaru Honjo
E-mail:honjo.rikimaru at ntt-tx.co.jp




More information about the slurm-users mailing list