5 Commits

Author SHA1 Message Date
Freddy Vulto
c86b336769 (testuite) Fix tests to run with autotools' make distcheck
File locations are prefixed with `$::srcdir' so that `make distcheck' can
execute the test suite using a relative path.

The current working directory is removed from the test-suite-bash-prompt.

Furthermore, no more dynamic creation of files in dir $::srcdir/fixtures since
this dir is read-only during `make distcheck'.  Instead create dynamic files in
$TESTDIR/tmp

The test suite uses these "directory" variables

   tcl            bash          description
   ------------   -----------   ------------------------------------
   $::srcdir      $SRCDIR       where `fixtures' reside, relative
   $::srcdirabs   $SRCDIRABS    where `fixtures' reside, absolute
   $::TESTDIR     $TESTDIR      where `runtest' is invoked, absolute
2010-11-12 23:35:36 +01:00
Ville Skyttä
8dc1e86a7a Don't source bash-completion.log when running "make check".
I wonder why does such a file end up in our completions dir, but it
looks like one created by "make check" invocations.
2010-11-05 19:47:25 +02:00
Ville Skyttä
ed3f21b013 Create and remove the test/{log,tmp} dirs when appropriate. 2010-11-05 19:46:53 +02:00
Freddy Vulto
dc4d28bc11 (testsuite) mv fixture1 fixtures/shared/default 2010-02-05 15:16:19 +01:00
Guillaume Rousse
4d4b6e9ba6 add support for test suite 2009-12-29 23:39:06 +01:00