On Mon, 27 Jun 2011 15:50:47 -0500, Austin Clements <amdra...@mit.edu> wrote: > This looks great (modulo one bug, below). I've wanted to run the > tests on tmpfs before, but was too lazy to actually fix the tests. > > Given how easy it is to accidentally use "..", I wonder if there's a > way to force people to use $TEST_DIRECTORY?
I was thinking of a test of the test-suite running in this mode, but I didn't quite feel comfortable, since it feels a bit slow sometimes already. So an instruction to run 'make test', which would include a 'make test OPTIONS="--root=/dev/shm/notmuch_test.$$"' or some such if that was acceptable. I didn't think about it very hard, but I was intrigued by the idea. -Mark > On Mon, Jun 27, 2011 at 12:09 PM, Mark Anderson <ma.sk...@gmail.com> wrote: > > --- a/test/symbol-hiding > > +++ b/test/symbol-hiding > > @@ -12,13 +12,13 @@ test_description='exception symbol hiding' > > . ./test-lib.sh > > > > run_test(){ > > - result=$(LD_LIBRARY_PATH=../../lib ./symbol-test 2>&1) > > + result=$(LD_LIBRARY_PATH=$TEST_DIRECTORY/../../lib ./symbol-test 2>&1) > > Did you mean $TEST_DIRECTORY/../lib? > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > http://notmuchmail.org/mailman/listinfo/notmuch > _______________________________________________ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch