[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Quilt-dev] running tests on a patched quilt
From: |
John Vandenberg |
Subject: |
Re: [Quilt-dev] running tests on a patched quilt |
Date: |
Fri, 23 Sep 2005 22:24:11 +1000 |
On 9/23/05, Jean Delvare <address@hidden> wrote:
> Hi John,
>
> [John Vandenberg]
> > When I run the tests in a quilt checkout, if I have a patches
> > directory, all hell breaks loose, During the test cases, quilt walk
> > up the directory tree until it finds the `quilt' patches directory.
> > Can this be avoided without altering QUILT_PATCHES? If QUILT_PATCHES
> > needs to be different, is it reasonable for test/Makefile to set it to
> > a value that is not likey to be used by real people?
>
> I've worked on this problem earlier today. I noticed that some tests
> worked in the conditions you describe, and most didn't. The difference
> is that the former create the patches subdirectory explicitely before
> running any quilt command that needs it. So I modified all tests to do
> the same. I think this is the most simple and efficient solution to the
> problem. Picking a different $QUILT_PATCHES could always break, you
> never know how people name their own directories.
>
> What do you think?
Sounds reasonable. I think each test should also remove the main
directory it creates, so a failed test case doesnt cause others to
break.
--
John