[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnulib tests leftovers
From: |
Ralf Wildenhues |
Subject: |
gnulib tests leftovers |
Date: |
Sun, 23 May 2010 09:59:35 +0200 |
User-agent: |
Mutt/1.5.20 (2009-10-28) |
Hello,
taking a tree from
gnulib-tool --with-tests --test
and running distcheck on it ends with
[...]
| rm -f Makefile
| ERROR: files left in build directory after distclean:
| ./gltests/out
| make[1]: *** [distcleancheck] Error 1
| make[1]: Leaving directory `/tmp/build/dummy-0/_build'
| make: *** [distcheck] Error 1
A quick git grep reveals the following tests as candidates:
tests/test-verify.sh
tests/test-xalloc-die.sh
tests/test-xstrtoimax.sh
tests/test-xstrtol.sh
tests/test-xstrtoll.sh
tests/test-xstrtoumax.sh
Now, I'm not intricate with the current gnulib test framework, and I
wonder why 'err' is not a leftover file. Which is the preferred way to
remove files here? Supply a custom cleanup_ function? Put temp files
in $test_dir_?
Are the tests supposed to be usable with the parallel-tests framework?
In that case, 'out' and 'err' are not sufficiently unique as names for
concurrent tests. (Yes, I noted that some tests ask for a password, and
won't work with this either for use of stdin, but a majority of gnulib
users may not use these tests.)
Thanks,
Ralf
- gnulib tests leftovers,
Ralf Wildenhues <=
- Re: gnulib tests leftovers, Jim Meyering, 2010/05/23
- Re: gnulib tests leftovers, Jim Meyering, 2010/05/23
- Re: gnulib tests leftovers, Ralf Wildenhues, 2010/05/23
- Re: gnulib tests leftovers, Jim Meyering, 2010/05/23
- init.sh and C tests, Bruno Haible, 2010/05/23
- Re: init.sh and C tests, Jim Meyering, 2010/05/23
- Re: init.sh and C tests, Bruno Haible, 2010/05/23
Re: gnulib tests leftovers, Ralf Wildenhues, 2010/05/23