On Mon, Aug 06, 2007 at 02:18:08PM -0700, Dan Nicholson wrote: > On 8/6/07, Ken Moffat <[EMAIL PROTECTED]> wrote: > > > > > OK, but that doesn't explain why it fails for me :) > > Nope. But the second part I wrote might help. For example: > > make -j1 test &> test.log > for t in src/testdir/*.failed; do > echo ${t%.failed} failed > cat -t $t > done >> test.log > Maybe I'm being even more dense than usual, but isn't that only going to tell me which test failed ? I already got a message saying 'test3 FAILED' just before 'ALL DONE'. That is the test to see if cindent works, but I can't begin to find any output from it in the log - there are a lot of lines containing only 'OK^M^M', but I can't see any 'FAIL' except for 'FAILED' in the text of the commands and at the end. OTOH, If I search for 'cindent' I can see the following impenetrable chunk -
rm -rf X* test.ok viminfo rm -rf test3.failed test.ok test.out X* viminfo cp test3.ok test.ok # Sleep a moment to avoid that the xterm title is messed up ../vim -u unix.vim -U NONE --noplugin -s dotest.in test3.in Vim: Warning: Output is not to a terminal ^[[?1h^[=^[[1;40r^[[m^[[H^[[2J^[[40;1H"test3.in" 1320 lines, 13734 characters^[[1;1H/* vim: set cin ts=4 sw=4 : */^M ^M Test for 'cindent'^M ^M STARTTEST^M :so small.vim^M :set nocompatible viminfo+=nviminfo^M :edit^[[16C" read modeline^M /start of AUTO^M =/end of AUTO^M ENDTEST^M ^M /* start of AUTO matically checked vim: set ts=4 : */^M {^[[15;9Hif (test)^[[16;17Hcmd1;^[[17;9Hcmd2;^M }^M ^M {^[[21;9Hif (test)^[[22;17Hcmd1;^[[23;9Helse^[[24;17Hcmd2;^M }^M ^M {^[[28;9Hif (test)^[[29;9H{^[[30;17Hcmd1;^[[31;17Hcmd2;^[[32;9H}^M }^M ^M {^[[36;9Hif (test)^[[37;9H{^[[38;17Hcmd1;^[[39;17Helse^[[1;1H^[[40;1H^[[K^[[40;1H:set cp^M^[[1;1H^[[40;1H^[[K^[[40;1H:map dotest /^STARTTEST^^H^[[1m^M^[[mj:set ff=unix cpo-=A^^H^[[1m^M^[[m:.,/ENDTEST/-1w! Xdotest^^H^[[1m^M^[[m:set ff& cpo+=A^^H^[[1m^M^[[mnj0:so! X^M^M ^[[39;100Hd^[[40;1Hotest^^H^[[1m^M^[[mdotest^M^[[1;1H^[[L^[[1;1H/* vim: set cin ts=4 sw=4 : */^[[40;1H^[[K^[[1;1H^[[40;1H/^STARTTEST^M^[[5;1H^M ^[[40;1H^[[K^[[40;1H:set ff=unix cpo-=A^M^[[6;1H^[[40;1H^[[K^[[40;1H:.,/ENDTEST/-1w! Xdotest^M"Xdotest" ^[[40;11H^[[K^[[40;11H[New File] 5 lines, 116 characters written^[[6;1H^[[40;1H^[[K^[[40;1H:set ff& cpo+=A^M^[[6;1H^[[40;1H/ENDTEST^[[40;10H^[[K^[[40;1H^[[11;1H^M ^[[40;1H^[[K^[[40;1H:so! Xdotest^M^[[12;1H^[[40;1H^[[K^[[40;1H:so small.vim^M^[[12;1H^[[40;1H^[[K^[[40;1H:set nocompatible viminfo+=nviminfo^M^[[12;1H^[[40;1H^[[K^[[40;1H:edit " read modeline^M"test3.in"^[[40;22H^[[K^[[40;12H1320L, 13734C^[[12;1H^[[40;1H^[[K^[[40;1H/start of AUTO^M^[[13;4H^[[40;1H^[[K^[[40;1H/end of AUTO^M789 lines to indent...^M750^H^H0^M65^H0^M55^H0^M45^H0^M35^H0^M25^H0^M15^H0^M50 lines to indent... ^M790 lines indented ^[[40;20H^[[K^[[13;1H^[[40;1H^[[K^[[40;1H/^STARTTEST^M^[[m^[[H^[[2J^[[1;27H}^[[2;9H}^M }^M ^M main()^M {^[[7;9H(void) MyFancyFuasdfadsfnction(^[[8;25Hargument);^M }^M ^M main()^M {^[[13;9Hchar foo[] = "/*";^[[14;9H/* as^[[15;12Hdf */^[[16;9Hhello^M }^M /* end of AUTO */^M ^M STARTTEST^M :set tw=0 wm=60 columns=80 noai fo=croq^M /serious/e^M a about life, the universe, and the rest^[[1m^[^[[m^M ENDTEST^M (ok ,that last part _must_ be the start of the next test). Maybe it fails because output is not to a terminal, but I don't remember seeing it before July. ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page