Re: [9fans] how to continue running mk target body after command failure?

2011-05-05 Thread EBo
On Thu, 5 May 2011 15:17:01 +0100, roger peppe wrote: doesn't the E attribute work for you? I misunderstood the definition of recipe... Oh well. That work better than "|| echo failed..." Thanks EBo --

Re: [9fans] how to continue running mk target body after command failure?

2011-05-05 Thread roger peppe
doesn't the E attribute work for you? On 5 May 2011 15:01, EBo wrote: > I am setting up some regression testing where I expect the command to fail > (actually that is what I am testing).  How do you force mk to ignore the > return status of a command it is running and continue running the target

Re: [9fans] how to continue running mk target body after command failure?

2011-05-05 Thread andrey mirtchovski
false || echo 'failed' as opposed to: true || echo 'fail'

[9fans] how to continue running mk target body after command failure?

2011-05-05 Thread EBo
I am setting up some regression testing where I expect the command to fail (actually that is what I am testing). How do you force mk to ignore the return status of a command it is running and continue running the target body? As a note, I read through all the mk attributes and could see none