• Tycho Andersen's avatar
    tests: add --dry-run to zdtm.py · fc2c3c94
    Tycho Andersen authored
    v2: print test name + flavor info for each test too.
    v3: pass dry_run via CR_CT_TEST_INFO
    
    Output looks like this now:
    
    === Run 1/242 ----------------
    Skipping zdtm/transition/thread-bomb (manual run only)
    Skipping zdtm/transition/file_aio (manual run only)
    
    ======================= Run zdtm/transition/maps007 in h =======================
    
    ====================== Run zdtm/transition/maps007 in ns =======================
    
    ====================== Run zdtm/transition/maps007 in uns ======================
    === Run 4/242 ----------------
    Skipping zdtm/transition/epoll (manual run only)
    
    ==================== Run zdtm/transition/pipe_shared00 in h ====================
    
    =================== Run zdtm/transition/pipe_shared00 in ns ====================
    
    =================== Run zdtm/transition/pipe_shared00 in uns ===================
    === Run 6/242 ----------------
    
    ======================== Run zdtm/transition/fork in h =========================
    
    ======================== Run zdtm/transition/fork in ns ========================
    
    ======================= Run zdtm/transition/fork in uns ========================
    === Run 7/242 ----------------
    Skipping zdtm/transition/ptrace (manual run only)
    Skipping zdtm/transition/socket_loop00 (manual run only)
    
    ======================== Run zdtm/transition/ipc in ns =========================
    === Run 10/242 ----------------
    Skipping zdtm/transition/netlink00 (manual run only)
    
    ===================== Run zdtm/transition/socket-tcp6 in h =====================
    === Run 12/242 ----------------
    ...
    Signed-off-by: 's avatarTycho Andersen <tycho.andersen@canonical.com>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    fc2c3c94
zdtm.py 34.9 KB