~amirouche/mutation

092bf120bb9e2dddcd1d7652f5bcac03a645a8ae — Amirouche 7 months ago 3cd2cdb
typofix
1 files changed, 10 insertions(+), 2 deletions(-)

M mutation.py
M mutation.py => mutation.py +10 -2
@@ 534,7 534,7 @@ def run(args):  # TODO: rename
        if out.returncode == 0:
            msg = "no error with mutation: {}"
            log.error(msg, " ".join(command))
            db[lexode.pack([2, uid]) = b'\x42'
            db[lexode.pack([2, uid])] = b'\x42'
            mutation_show(uid.hex)




@@ 551,7 551,7 @@ def coverage_read(root):
    return out


async def _main(loop, arguments):
async def play(loop, arguments):
    # TODO: Replay failed tests and remove them from failed if it is
    #       now ok...
    #


@@ 789,6 789,14 @@ async def _main(loop, arguments):
    return None


async def replay(uid=None, interactive=False):
    # Retrieve all failed tests and sort them by diff length

    # show diff

    # Run the tests


def diff_highlight(diff):
    # adapted from diff-highlight
    import re