This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/4] introduce parallel mode


>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:

Yao> Probably, we can send the output to the log, for example
Yao> inotify_[pid].log, and check whether there is something written into
Yao> the log in the test somewhere.  If there is, emit a FAIL, which would
Yao> be more attractive, like:

I am not sure about emitting a FAIL.  There won't be a corresponding
PASS.  It would be more noticeable, which is a plus; but in the absence
of a conflict it isn't clearly a FAIL-worthy bug -- even after my series
we'll have a few of these.

So for now I am just teeing the output to the log file:

	    set inotify_pid [exec inotifywait -r -m -e move,create,delete . \
				 --exclude $exclusion_re \
				 |& tee -a $outdir/$tool.log &]

This way it will show up in on the terminal but also in the log.

I'm open to discussion about your idea though.  I'm really not sure.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]