ResearchComputing / curc-bench

benchmarking and testing utilities for CU-Boulder Research Computing resources
2 stars 2 forks source link

Running bench add a second time should first clear initial tests created #127

Open AaronTHolt opened 6 years ago

AaronTHolt commented 6 years ago

This could be deleting the tests, or perhaps moving/taring them to view later.

-bash-4.2$ bench add --test bandwidth --nodelist shas[0804-0807,0809-0846,0848-0860] -bash-4.2$ ls 2018-03-09-1/bandwidth/tests/ shas0804,shas0805 shas0811,shas0812 shas0817,shas0818 shas0823,shas0824 shas0829,shas0830 shas0835,shas0836 shas0841,shas0842 shas0848,shas0849 shas0854,shas0855 shas0858,shas0859 shas0806,shas0807 shas0813,shas0814 shas0819,shas0820 shas0824,shas0828 shas0831,shas0832 shas0837,shas0838 shas0843,shas0844 shas0850,shas0851 shas0855,shas0860 shas0809,shas0810 shas0815,shas0816 shas0821,shas0822 shas0825,shas0826 shas0833,shas0834 shas0839,shas0840 shas0845,shas0846 shas0852,shas0853 shas0856,shas0857

Current: -bash-4.2$ bench add --test bandwidth --nodelist shas[0804-0807] -bash-4.2$ ls 2018-03-09-1/bandwidth/tests/ shas0804,shas0805 shas0811,shas0812 shas0817,shas0818 shas0823,shas0824 shas0829,shas0830 shas0835,shas0836 shas0841,shas0842 shas0848,shas0849 shas0854,shas0855 shas0858,shas0859 shas0806,shas0807 shas0813,shas0814 shas0819,shas0820 shas0824,shas0828 shas0831,shas0832 shas0837,shas0838 shas0843,shas0844 shas0850,shas0851 shas0855,shas0860 shas0809,shas0810 shas0815,shas0816 shas0821,shas0822 shas0825,shas0826 shas0833,shas0834 shas0839,shas0840 shas0845,shas0846 shas0852,shas0853 shas0856,shas0857

Expected: -bash-4.2$ bench add --test bandwidth --nodelist shas[0804-0807] -bash-4.2$ ls 2018-03-09-1/bandwidth/tests/ shas0804,shas0805