Skip to content

Give a warning or error when unable to remove test/var directory #206

@Totktonada

Description

@Totktonada

An attempt to proceed with dirty directory may lead to strange effects. Say, reproduce files will contain tests from previous runs. In fact test-run expects that the directory is successfully deleted.

Let's give a warning when shutil.rmtree(args.vardir) in lib/__init__.py is unable to remove the directory. Check that the directory exists first.

Maybe it even worth to give an error, because test-run may work incorrectly in the case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureA new functionality

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions