On 14/06/12 08:39, Lucas Meneghel Rodrigues wrote:
> On Wed, Jun 13, 2012 at 5:34 PM, Chris Evich<cev...@redhat.com>  wrote:
>> make_clean checks for the word 'example' in the src directory path
>
> Ok, good catch, I was wondering why I was getting the patch files from
> the performance test erased every time... applied to master and
> rebased next accordingly...
>
>> Signed-off-by: Chris Evich<cev...@redhat.com>
>> ---
>>   client/tools/make_clean |    2 +-
>>   1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/client/tools/make_clean b/client/tools/make_clean
>> index a74699e..146fa1b 100755
>> --- a/client/tools/make_clean
>> +++ b/client/tools/make_clean
>> @@ -18,7 +18,7 @@ def purge_src(top_dir):
>>              continue
>>          ret = os.system('grep -q "preserve_srcdir = " ' + py)
>>          src_path = os.path.abspath(os.path.join('tests', dir, 'src'))
>> -        if not os.path.exists(src_path):
>> +        if not os.path.exists(src_path) or not src_path.count('example'):

The directory name is 'examples', not 'example'. It's not good to add 
this filter here.
Talked with lmr in IRC, I would revert this patch and move those 
'examples' to other directory.


>>              continue
>>          if ret:                 # This should have a replaceable src dir
>>              cmd = 'rm -rf ' + src_path
>> --
>> 1.7.1
>>
>> _______________________________________________
>> Autotest mailing list
>> Autotest@test.kernel.org
>> http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
>
>
>

-- 
                        Amos.
_______________________________________________
Autotest mailing list
Autotest@test.kernel.org
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to