nmh-workers
[Top] [All Lists]

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

2017-11-20 07:06:47
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

-- 
Nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>