On Wed, 2014-06-25 at 13:20 +0200, Andreas Schneider wrote: > What I meant is a denemo configuration directory included in the test > suite (i.e. as a subdirectory in the tests directory) with standardised > values.
hmm, yes, if a user wants to run the tests then having the .denemo-xxx location fixed at the user's home directory is a problem. I think your first suggestion of a command line flag to choose where to find .denemo-xxx might be good - I have used a separate, clean, user for this, but it sounds like you need to run the tests as part of your install process, so that they have to be run as your own user. I wonder what other projects do? Richard > Using the user's configuration brings in a random component. For > example, when I build a package for Denemo (using fakeroot), the success > of the thumbnailer test depends on which file I had been previously > working on (in the production environment). > > Andreas > > > Am 25.06.2014 12:59, schrieb Richard Shann: > > On Wed, 2014-06-25 at 10:21 +0200, Andreas Schneider wrote: > >> Is it possible to set the location of the .denemo-xxx directory with a > >> command line switch? > > There is none at present AFAIK > >> I suppose it would be good to include a fixed > >> configuration (i.e. a fixed .denemo-xxx directory) in the test suite. > > > > It is at a fixed location relative to the user's home directory. The > > only problem that I can imagine would be if the test suite is run by a > > user who has no home directory (or not one that the user has permissions > > to read and write to). I'm guessing that Eloi's test system as run by > > travis does not have that problem... > > > > Richard > > > _______________________________________________ > Denemo-devel mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/denemo-devel _______________________________________________ Denemo-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/denemo-devel
