[slurm-users] Question about unit tests

Rikimaru Honjo honjo.rikimaru at ntt-tx.co.jp
Thu Dec 10 01:07:07 UTC 2020


Hi,

On 2020/12/09 23:30, Andy Riebs wrote:
> Did you do the first "make check" from the top-level Slurm directory (not testsuite/slurm_unit)?

Oh, I had never tried it.
Thank you for your information.
I will report the result after trying.


> On 12/8/2020 11:15 PM, Rikimaru Honjo wrote:
>> 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,
> 




More information about the slurm-users mailing list