nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] Announcing the release of nmh-1.7


From: Ralph Corderoy
Subject: Re: [Nmh-workers] Announcing the release of nmh-1.7
Date: Mon, 20 Nov 2017 13:06:20 +0000

Hi Ken,

> The last test ("cleanup") deletes the entire test directory.

Yes, it does

    rm -rf "${MH_TEST_DIR}"/.w3m
    rm -rf "${MH_INST_DIR}"

so typically

    rm -rf test/testdir/.w3m
    rm -rf test/testdir/inst   # Temporary `make install' destination.

> But if you run "make check TESTS=test/slocal/test-slocal" it should
> just run that test and not clean up anything.

The above test/cleanup doesn't run, but test/common.sh traps exit and
runs its cleanup() and that does

    test -z "$MH_TEST_NOCLEANUP" &&
    (cd "$MH_TEST_DIR"; rm -rf "$MH_TEST_DIR"/Mail)

So to avoid all clean up it's

    MH_TEST_NOCLEANUP=1 make TESTS=test/slocal/test-slocal check

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]