ChangeLog.11 552 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107
  1. 2011-12-27 Stefano Lattarini <stefano.lattarini@gmail.com>
  2. tests: drop unnecessary requirement in 'subpkg.test'
  3. * tests/subpkg.test ($required): Drop "bison", it is not required
  4. anymore since commit `v1.11-502-g7e5ae80'.
  5. 2011-12-27 Stefano Lattarini <stefano.lattarini@gmail.com>
  6. gitlog-to-changelog: new auxiliary script, synced from gnulib
  7. We have plans to stop maintaining a version-controlled ChangeLog
  8. file in the Automake repository, and instead begin to generate it
  9. automatically from the git log messages. To do so, we will use
  10. the `gitlog-to-changelog' script from gnulib.
  11. * lib/gitlog-to-changelog: New, synced from gnulib.
  12. * Makefile.am (fetch): Fetch and sync it.
  13. * lib/Makefile.am (EXTRA_DIST): Distribute it.
  14. 2011-12-27 Stefano Lattarini <stefano.lattarini@gmail.com>
  15. regex: remove obsolete macro AM_WITH_REGEX
  16. Today, practically nobody uses the GNU rx library, which, according
  17. to its own website <http://www.gnu.org/software/rx/rx.html>, has
  18. been "decommissioned". Consequently, the automake-provided macro
  19. AM_WITH_REGEX is not used nor required anymore.
  20. * m4/regex.m4: Delete.
  21. * m4/Makefile.am (dist_automake_ac_DATA): Do not list it anymore.
  22. * doc/automake.texi (Obsolete Macros): Remove description, and in
  23. fact any mention, of `AM_WITH_REGEX'.
  24. * tests/regex.test: Delete.
  25. * tests/help-regex.test: Likewise.
  26. * tests/regex-obsolete.test: Likewise.
  27. * tests/list-of-tests.mk: Do not list them anymore.
  28. * NEWS: Update.
  29. See also commits `v1.11-587-g5f335be' and `v1.11-433-g37b0aee',
  30. where that macro had been deprecated.
  31. 2011-12-27 Stefano Lattarini <stefano.lattarini@gmail.com>
  32. cosmetics: be more consistent in copyright notices in tests
  33. * tests/cond39.test: Update the heading copyright notice, to be
  34. consistent with the formulation used in the other files.
  35. * tests/cond40.test: Likewise.
  36. * tests/cond41.test: Likewise.
  37. * tests/cond42.test: Likewise.
  38. * tests/cond43.test: Likewise.
  39. * tests/conflnk4.test: Likewise.
  40. * tests/extra8.test: Likewise.
  41. * tests/extra9.test: Likewise.
  42. * tests/suffix13.test: Likewise.
  43. * tests/vala.test: Likewise.
  44. * tests/vala1.test: Likewise.
  45. * tests/vala2.test: Likewise.
  46. * tests/vala3.test: Likewise.
  47. * tests/vala4.test: Likewise.
  48. * tests/vala5.test: Likewise.
  49. * lib/Automake/tests/Condition.pl: Likewise.
  50. * lib/Automake/tests/Condition-t.pl: Likewise.
  51. * lib/Automake/tests/DisjConditions.pl: Likewise.
  52. * lib/Automake/tests/DisjConditions-t.pl: Likewise.
  53. * lib/Automake/tests/Version.pl: Likewise.
  54. * lib/Automake/tests/Wrap.pl: Likewise.
  55. * lib/Automake/tests/Cond2.pl: Add copyright notice.
  56. * lib/Automake/tests/Cond3.pl: Likewise.
  57. * lib/Automake/tests/DisjCon2.pl: Likewise.
  58. * lib/Automake/tests/DisjCon3.pl: Likewise.
  59. * lib/Automake/tests/Version2.pl: Likewise.
  60. * lib/Automake/tests/Version3.pl: Likewise.
  61. 2011-12-27 Stefano Lattarini <stefano.lattarini@gmail.com>
  62. tap/awk: "Bail out!" recognized also after leading whitespace
  63. Newer versions of TAP::Harness (e.g., 3.23 on Perl 5.14.1)
  64. recognize a "Bail out!" directive also when it is prepended by
  65. leading whitespace; this was not the case for older TAP:Harness
  66. versions, (e.g., for version 3.17 on Perl 5.12.4), and for our
  67. TAP driver implemented in awk.
  68. * lib/tap-driver.sh: Handle the "Bail out!" directive also when
  69. it is preceded by leading whitespace.
  70. * tests/tap-spurious.test: Remove the tests checking that a
  71. "Bail out!" string coming right after leading whitespace does
  72. not trigger a bailout action.
  73. * tests/tap-bailout-leading-space.test: New test.
  74. * tests/list-of-tests.mk: Add it.
  75. Problem reported by Jim Meyering in automake bug#10374.
  76. 2011-12-27 Stefano Lattarini <stefano.lattarini@gmail.com>
  77. tests: fix spurious failure of cond29.test
  78. * tests/cond29.test: Limit the amount of virtual memory available
  79. to the automake process to ~ 150 MB, rather than only ~ 20 MB, to
  80. account for higher (but still acceptable) memory usages on some
  81. systems (in this case, a Fedora 16 distro on ppc64). To be
  82. sure not to reduce coverage, increase the number of potential
  83. combinations of automake conditionals from 2**22 = 4194304 to
  84. 2**24 = 16777216.
  85. We have actually verified that the new version of the test case
  86. catches the Automake 1.7 it is intended to check against, using
  87. the Automake 1.7.9 tarball downloaded from:
  88. <http://ftp.gnu.org/gnu/automake/automake-1.7.9.tar.gz>
  89. Reported by Jim Meyering in automake bug#10374.
  90. 2011-12-27 Stefano Lattarini <stefano.lattarini@gmail.com>
  91. docs: "aclocal --install -I /abs/dir" actually copies files
  92. This change is for automake bug#8407.
  93. In the past, there had been some debate and confusion about
  94. whether "aclocal --install" should copy third-party .m4 files
  95. in the first directory passed to the `-I' option even when
  96. such directory was given as an absolute path, or whether it
  97. was better to do so only for directories specified with a
  98. relative path.
  99. The rationale for this latter behaviour was that, before the
  100. existence of the `ACLOCAL_PATH' variable, the only way (a poor
  101. way, I might add) for a common user to extend the search path
  102. of a system-wide installation of aclocal was to export something
  103. like ACLOCAL="aclocal -I /my/extra/macros" in the environment.
  104. Today, the correct way to proceed is undoubtedly through the
  105. use of ACLOCAL_PATH, so we can settle the question once and for
  106. all, and start verifying the correct behaviour of `-I' with a
  107. new test.
  108. * tests/aclocal-install-absdir.test: New test.
  109. * tests/Makefile.am (TESTS): Add it.
  110. * doc/automake.texi (aclocal Options): Be more explicit about
  111. this part of `--install' semantics.
  112. 2011-12-26 Stefano Lattarini <stefano.lattarini@gmail.com>
  113. docs: fix node names for automake and aclocal invocations
  114. With the older node names, an "info automake" command issued
  115. from the command line would have opened the node about the
  116. invocation of the automake program, rather than the Top node
  117. of the automake documentation. To invoke the Top node, one
  118. had to issue the command "info Automake" instead (note the
  119. different capitalization). This was suboptimal, and certainly
  120. confusing.
  121. With this change, "info automake" will open the Top node of the
  122. automake documentation; to access the nodes about the invocation
  123. of the automake and aclocal program, one has now to issue "info
  124. automake-invocation" and "info aclocal-invocation" respectively.
  125. This change fixes automake bug#8071.
  126. See also commits `v2.61a-22-ge9215d1' and `v2.61a-72-g8c07b48' in
  127. the autoconf git repository, which tackled a similar issue.
  128. * doc/automake.texi (@direntry): Rename nodes `aclocal' and
  129. `automake' to `aclocal-invocation' and `automake-invocation'
  130. respectively.
  131. * NEWS: Update.
  132. 2011-12-26 Stefano Lattarini <stefano.lattarini@gmail.com>
  133. tests: tweak tests on silent-rules for makes without nested vars
  134. * tests/silent-nested-vars.test: Define $MAKE to `./mymake' in
  135. the environment, so that it will be automatically picked up by
  136. configure. Related tweaks and simplifications.
  137. Remove the checks verifying that silent rules are respected also
  138. when the 'subdir-objects' option is set, the checks testing the
  139. old syntax for user-defined silent rules, and the tests using
  140. the default $MAKE programs: they are redundant w.r.t. other test
  141. cases. Related simplifications.
  142. Remove the temporary files used in a sanity check as soon as they
  143. are not needed anymore.
  144. Do not capture also the standard error of configure: we only want
  145. to grep its standard output.
  146. Consistently use `stdout' for the name of files where to save the
  147. standard output captured from make and configure, for consistency
  148. with other tests.
  149. Make grepping of configure output and of the generated Makefile
  150. stricter.
  151. Improve and tweak the `mymake' script a little.
  152. * tests/silent6.test: Make grepping of make stdout slightly
  153. stricter. After having configured with silent rules disabled,
  154. try to force the use silent rules with `make V=1'.
  155. 2011-12-25 Paul Eggert <eggert@cs.ucla.edu>
  156. silent-rules: fallback for makes without nested vars
  157. This fixes two problems reported for Automake (Bug#9928, Bug#10237)
  158. and is in response to a bug report for building coreutils on HP
  159. NonStop OS (Bug#10234). The problem is that HP NonStop 'make'
  160. treats a line like "AM_V_CC = $(am__v_CC_$(V))" as one that
  161. expands a macro with the funny name am__v_CC_$(V instead of the
  162. desired name am__v_CC_1 or am__v_CC_0, and since the funny macro
  163. is not defined the line is equivalent to "AM_V_CC = )"; this
  164. inserts a stray ")" when $(AM_V_CC) is used, which eventually
  165. causes 'make' to fail.
  166. The basic idea is that instead of generating Makefile.in lines like
  167. "AM_V_CC = $(am__v_CC_$(V))", we generate
  168. "AM_V_CC = $(am__v_CC_@AM_V@)". We then AC_SUBST $(V) for @AM_V@
  169. in the usual case where `make' supports nested variables,
  170. and substitute 1 (or 0) otherwise. Similarly for usages like
  171. $(am__v_CC_$(AM_DEFAULT_VERBOSITY)).
  172. With this change, make implementations that doesn't grasp nested
  173. variable expansions will still be able to run Makefiles generated
  174. using the silent-rules option. They won't allow the user to
  175. override the make verbosity at runtime through redefinition of
  176. $(V) (as in "make V=0"); but this is still an improvement over not
  177. being able to work at all.
  178. * NEWS: Document this.
  179. * automake.in (define_verbose_var): When defining the variables,
  180. use @AM_V@ rather than $(V), and use @AM_DEFAULT_V@ rather than
  181. $(AM_DEFAULT_VERBOSITY).
  182. * doc/automake.texi (Automake silent-rules Option): Explain new system.
  183. * m4/silent.m4 (AM_SILENT_RULES): Check whether `make' supports
  184. nested variables, and substitute AM_V and AM_DEFAULT_V accordingly.
  185. * tests/silent-nested-vars.test: New test.
  186. * tests/Makefile.am (TESTS): Add it.
  187. 2011-12-24 Stefano Lattarini <stefano.lattarini@gmail.com>
  188. gitignore: use only one .gitignore file, in the top-level directory
  189. * doc/.gitignore, doc/amhello/.gitignore, lib/Automake/.gitignore,
  190. lib/Automake/tests/.gitignore, tests/.gitignore: Deleted, their
  191. contents merged into ...
  192. * .gitignore: ... this top-level file. Since we are at it, improve
  193. it by anchoring files where it makes sense.
  194. 2011-12-24 Stefano Lattarini <stefano.lattarini@gmail.com>
  195. tests: one more fixlet for gettext macros requirement
  196. * tests/gettext-macros.test (configure.in): Add calls to
  197. AC_INIT and AC_PROG_CC, to avoid a spurious failure in the
  198. later aclocal invocation.
  199. Luckily, this wart wasn't causing any spurious SKIP or FAIL,
  200. but only the redundant addition to the `-Wno-syntax' option
  201. to some aclocal invocations in the gettext tests.
  202. 2011-12-24 Stefano Lattarini <stefano.lattarini@gmail.com>
  203. tests: fix handling of gettext macros requirement
  204. The code introduced in the earlier change `v1.11-581-gb7d67d5'
  205. and aimed at automatically fetching all the .m4 files provided by
  206. gettext has proven inadequate, since it hasn't managed to truly
  207. and always get *all* the required .m4 files. For example, it has
  208. failed to fetch the file `intldir.m4' (present in gettext 0.18.1,
  209. and where the macro `AM_GNU_GETTEXT_INTL_SUBDIR' is defined),
  210. which in turn has caused spurious SKIPs of at least the test
  211. `gettext3.test'.
  212. The reason for this debacle is that autopoint looks at the version
  213. specified in AM_GNU_GETTEXT_VERSION to decide which version of the
  214. gettext infrastructure to bring in; since we were unconditionally
  215. specifying the older 0.10.35 version, the newer `.m4' files weren't
  216. brought in.
  217. * tests/gettext-macros.test: In AM_GNU_GETTEXT_VERSION, instead
  218. of unconditionally specifying the older 0.10.35 version, specify
  219. the version of the available `gettextize' or `autopoint' program,
  220. dynamically extracted with the help of ...
  221. (extract_program_version):... this new function, and saved ...
  222. ($autopoint_version): ... in this new variable.
  223. 2011-12-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  224. tests: automatically handle deps also for generated tests
  225. * tests/gen-testsuite-part: The test scripts are now scanned for
  226. automatic dependency generation *after* the auto-generated tests
  227. have been created, so they too will be scanned. It is a little
  228. tricky to ensure that the freshly-generated tests are correctly
  229. scanned, and we do that with the help of ...
  230. (@generated_tests): ... this new variable.
  231. Other related minor changes and refactorings.
  232. 2011-12-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  233. tests: auto-generate deps for tests requiring libtool/gettext
  234. * tests/gen-testsuite-part: Tests requiring libtool (or related
  235. programs) will need libtool-provided m4 macros, so they should
  236. be run after `libtool-macros.test'. Similarly for gettext tests.
  237. So, generate proper declarations of such dependencies.
  238. * tests/Makefile.am: Remove now-unneeded hand-written declaration
  239. of those dependencies.
  240. 2011-12-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  241. tests: remove FIXME comments from tricks to pacify syntax checks
  242. Originally, I myself had insisted on adding those "FIXME" comments
  243. near every unusual construct or use of "creative quoting" whose
  244. only purpose was to avoid false positive from out syntax checks.
  245. I did that with the expectation that we could have easily and soon
  246. added a whitelisting capability to our maintainer-specific syntax
  247. checks. This hasn't been the case unfortunately, and now those
  248. "FIXME" in the comments are just distracting noise, making it more
  249. difficult to grep the test cases for stuff that could really use a
  250. fix or an improvement. So just get rid of them.
  251. * tests/instdir-ltlib.test: Remove that extra "FIXME".
  252. * tests/instdir-prog.test: Likewise.
  253. * tests/parallel-tests3.test: Likewise.
  254. * tests/parallel-tests-dry-run.test: Likewise.
  255. * tests/parallel-tests-console-output.test: Likewise.
  256. * tests/parallel-tests-no-color-in-log.test: Likewise.
  257. * tests/tap-realtime.test: Likewise.
  258. * tests/test-trs-recover.test: Likewise.
  259. * tests/tap-deps.test: Likewise.
  260. 2011-12-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  261. tests: few minor fixlets, improvements and tweakings
  262. * tests/defs-static.in ($top_testbuilddir): New, for consistency
  263. and completeness.
  264. * tests/Makefile.am (do_subst): Substitute @abs_top_testbuilddir@
  265. as well.
  266. * tests/java-compile-run-mested.test: Prefer AM_TESTS_ENVIRONMENT
  267. over TESTS_ENVIRONMENT, now that the former has become available.
  268. * tests/java-compile-run-flat.test: Correct a botched "FIXME"
  269. comment.
  270. * tests/tap-realtime.test: Remove extra whitespace in comments.
  271. * tests/missing-tar.test: Use `get_shell_script' to bring in the
  272. `missing' script, to increase coverage. Remove redundant call to
  273. `set -e'. Fix a typo in comments.
  274. * tests/get-sysconf.test: Remove redundant definitions of
  275. `$top_testsrcdir', `testbuilddir' and `$top_testbuilddir'.
  276. 2011-12-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  277. tests: remove redundant uses of `set -e'
  278. * tests/deleted-am.test: Do not set the `errexit' shell flag, as
  279. it is already set by `tests/defs'.
  280. * tests/deleted-m4.test: Likewise.
  281. * tests/dist-missing-am.test: Likewise.
  282. * tests/dist-missing-am.test: Likewise.
  283. * tests/dist-missing-m4.test: Likewise.
  284. * tests/dist-missing-included-m4.test: Likewise.
  285. * tests/get-sysconf.test: Likewise.
  286. * tests/makefile-deps.test: Likewise.
  287. * tests/remake-m4-pr10111.test: Likewise.
  288. * tests/remake-am-pr10111.test: Likewise.
  289. * tests/remake-deleted-am.test: Likewise.
  290. * tests/remake-deleted-am2.test: Likewise.
  291. * tests/remake-deleted-am-subdir.test: Likewise.
  292. * tests/remake-renamed-am.test: Likewise.
  293. 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  294. tests: fix failure due to debugging code forgotten into a test
  295. * tests/missing-tar.test: Don't ever call the `missing' script
  296. with `sh -x'; this was used for debugging, but an instance of
  297. it slipped into the committed test case. Bug revealed by a
  298. failure on a Solaris 10 system with GNU tar installed as `gtar'.
  299. 2011-12-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  300. Merge branch 'master' into testsuite-work
  301. * tests/gettext-macros.test: In the generated `get.sh' file,
  302. use `skip_all_', not `skip_'.
  303. * tests/libtool-macros.test: Likewise.
  304. * tests/list-of-tests.mk: Update.
  305. 2011-12-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  306. tests: avoid spurious failure of libtool and gettext tests
  307. On Solaris 10 (and presumably earlier), /bin/sh trips up on
  308. here-documents that contains a command substitution *and* are
  309. fed to a shell function:
  310. # All as expected.
  311. $ cat <<END
  312. `pwd`
  313. END
  314. /home/stefano
  315. $ echo status = $?
  316. status = 0
  317. # An apparently innocuous function ...
  318. $ kitty () { cat; }
  319. # ... but hilarity ensues!
  320. $ kitty <<END
  321. `pwd`
  322. END
  323. /tmp/sh137723: cannot open
  324. $ echo status = $?
  325. status = 1
  326. We need to work around this misbehaviour in a couple of our
  327. tests (whose failures where causing cascading failures in a
  328. lot of other tests).
  329. * tests/gettext-macros.test: Avoid the use of command substitution
  330. in a here-document passed to the `indent' function, by using the
  331. `echo' builtin instead.
  332. * tests/libtool-macros.test: Likewise.
  333. See also:
  334. <http://lists.gnu.org/archive/html/bug-autoconf/2011-12/msg00001.html>
  335. 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  336. Merge branch 'maint' into master.
  337. * m4/regex.m4: Bump serial number by some notches, for good
  338. measure. Prefer the deprecation message from maint over that
  339. from master.
  340. * m4/python.m4: Bump serial number.
  341. * tests/Makefile.am (canon6.log): Depend on `libtool-macros.log'.
  342. (canon7.log): Likewise.
  343. (extradep2.log): Likewise.
  344. (ar-lib4.log): Likewise.
  345. (ar-lib6a.log): Likewise.
  346. (ar-lib6b.log): Likewise.
  347. (vartypo2): Likewise.
  348. (posixsubst-ltlibraries.log): Likewise.
  349. * tests/defs: Adjust the path of the included `get.sh' scripts
  350. generated by `libtool-macros.test' and `gettext-macros.test'.
  351. * aclocal.m4: Delete, it's auto-generated now.
  352. * configure: Likewise.
  353. * Makefile.in: Likewise.
  354. * doc/Makefile.in: Likewise.
  355. * m4/Makefile.in: Likewise.
  356. * tests/Makefile.in: Likewise.
  357. * lib/Makefile.in: Likewise.
  358. * lib/am/Makefile.in: Likewise.
  359. * lib/Automake/Makefile.in: Likewise.
  360. * lib/Automake/tests/Makefile.in: Likewise.
  361. * .gitignore: Correctly ignored the autogenerated files
  362. that are not committed anymore.
  363. 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  364. hacking: distribute it, and mention it in the ChangeLog
  365. Not distributing the HACKING file might make it more difficult,
  366. for some random curious user, to get informed about or interested
  367. in the Automake development process, or to send us patches.
  368. * Makefile.am (EXTRA_DIST): Add HACKING.
  369. * HACKING: It's OK to distribute this file, and to mention it in
  370. the ChangeLog.
  371. 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  372. regex: deprecate the obsolete macro AM_WITH_REGEX
  373. This is a backport of commit v1.11-433-g37b0aee.
  374. Today, practically nobody uses the GNU rx library, which, according
  375. to its own website <http://www.gnu.org/software/rx/rx.html>, has
  376. been "decommissioned". Consequently, the automake-provided macro
  377. AM_WITH_REGEX is not used nor required anymore. Deprecate it, so
  378. that it will be possible to safely remove it in the next major
  379. automake version.
  380. * m4/regex.m4 (AM_WITH_REGEX): Give a warning of the class
  381. `obsolete' when this macro is used.
  382. * doc/automake.texi (Public Macros): Move description of
  383. `AM_WITH_REGEX' from here ...
  384. (Obsolete Macros): ... to here, and declare it as obsolete
  385. and "to be removed in a future version".
  386. * tests/regex-obsolete.test: New test.
  387. * tests/Makefile.am (TESTS): Add it.
  388. * NEWS: Update.
  389. See also:
  390. <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00131.html>
  391. 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  392. maint: distribute .xz tarballs, not .bz2 ones
  393. Many GNU packages are moving towards xz-compressed tarballs, so
  394. let's follow suit, by dropping the creation and distribution of
  395. a bzip2-compressed tarball and switching to xz instead.
  396. For compatibility and safeness, we will continue to create and
  397. distribute a gzip-compressed tarball as well.
  398. * configure.ac (AM_INIT_AUTOMAKE): Drop `dist-bzip2', add
  399. `dist-xz'.
  400. * NEWS: Update
  401. Suggested by Jim Meyering.
  402. 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  403. include: avoid "deleted .am file" problem
  404. * automake.in (handle_configure): When processing `configure.am',
  405. also expand `HAVE-MAKEFILE-IN-DEPS' to a boolean telling whether
  406. `MAKEFILE-IN-DEPS' is empty or not.
  407. * lib/am/configure.am [?HAVE-MAKEFILE-IN-DEPS?]
  408. (%MAKEFILE-IN-DEPS%): New target without dependencies, to
  409. avoid the "deleted .am file" problem. Emit this only when
  410. `?HAVE-MAKEFILE-IN-DEPS?' is true, to avoid generating an
  411. "empty" dependency declaration.
  412. * tests/deleted-am.test: Make grepping of error message stricter.
  413. * tests/dist-missing-am.test: Likewise.
  414. * tests/remake-deleted-am.test: New test.
  415. * tests/remake-deleted-am-2.test: Likewise.
  416. * tests/remake-deleted-am-subdir.test: Likewise.
  417. * tests/remake-renamed-am.test: Likewise.
  418. * tests/makefile-deps.test: Likewise.
  419. * tests/Makefile.am (TESTS): Add the new tests.
  420. * NEWS: Update.
  421. Fixes automake bug#9768.
  422. Report by Peter Johansson.
  423. See also commit `Release-1-10-40-gd0ebf71', which fixed a similar
  424. problem for .m4 files included by configure.ac.
  425. 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  426. maint: better use of autoconf 2.68 features
  427. * configure.ac: Now that Automake requires autoconf 2.68 for its
  428. own bootstrapping and build system, we can assume that PACKAGE_URL
  429. gets automatically AC_SUBT'd.
  430. 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  431. cosmetics: use proper m4 quoting in configure.ac
  432. * configure.ac (AC_CONFIG_SRCDIR): Use proper m4 quoting
  433. for its arguments.
  434. (AC_CONFIG_AUX_DIR): Likewise.
  435. (AC_PROG_PATH): Likewise.
  436. 2011-12-14 Stefano Lattarini <stefano.lattarini@gmail.com>
  437. tests: better handling of gettext and libtool requirements
  438. This change fixes automake bug#9807.
  439. Before this change, the automake testsuite only looked for the
  440. `.m4' files containing libtool and gettext macros definitions in
  441. the directory `${prefix}/share/aclocal' (and in the directories
  442. specified by the `dirlist' file in there, if any), where ${prefix}
  443. was the configure-time automake installation prefix (defaulting
  444. to `/usr/local').
  445. This approach had various shortcomings and disadvantages. Let's
  446. briefly describe the three major ones.
  447. First, on most GNU/Linux systems, a libtool or gettext installed
  448. from distro-provided packages (e.g., by dpkg on Debian/Ubuntu, or
  449. by rmp on RedHat/Fedora) would have `/usr', not `/usr/local', as
  450. its ${prefix}; so, trying to run the automake testsuite with a
  451. simple "./configure && make && make check" would have failed to
  452. execute the libtool and gettext tests on most GNU/Linux distros.
  453. It's true that it was quite easy to work around this issue, by
  454. creating a proper `/usr/local/share/aclocal/dirlist' file with
  455. an entry pointing to `/usr/share/aclocal' (a workaround in fact
  456. used by most automake developers); but the typical user wasn't
  457. aware of the necessity of this trick, so the libtool and gettext
  458. tests was usually skipped on testsuite runs "in the wild", thus
  459. needlessly reducing coverage.
  460. Second, the older testsuite behaviour made more difficult for
  461. the developers to run the testsuite with non-default libtool or
  462. gettext. For example, assume the developer is working on a system
  463. that has a default libtool version 1.5 installed in the /usr/local
  464. hierarchy; to improve coverage, the developer installs also a more
  465. modern libtool version, say 2.4, in its home directory, let's say
  466. in ~/libtool-2.4; he then tries to run the automake testsuite with
  467. this more modern libtool by doing an (apparently) simple:
  468. $ PATH=$HOME/libtool-2.4:$PATH make check
  469. But the automake testsuite would still look for libtool macros in
  470. /usr/local/share/aclocal, not in ~/libtool-2.4/share/aclocal, so
  471. the wrong version of the macros would be picked up, and the tests
  472. would either fail spuriously or (which would be worse) pass without
  473. truly covering the libtool version the developers was thinking to
  474. be testing with.
  475. Worse again, the automake testsuite would *unconditionally* look
  476. for libtool macros in /usr/local/share/aclocal, so even something
  477. like:
  478. $ export ACLOCAL_PATH=$HOME/libtool-2.4/share/aclocal
  479. $ PATH=$HOME/libtool-2.4:$PATH make check
  480. wouldn't work.
  481. Third and last, during a "make distcheck", automake is configured
  482. with a ${prefix} pointing to a proper subdirectory of the build
  483. directory (usually `pwd`/_inst), which gets created on-the-fly;
  484. in this case, with the old approach, the automake testsuite never
  485. found the libtool and gettext macro files, ans so the libtool and
  486. gettext tests was *always* skipped in a "make distcheck".
  487. * tests/libtool-macros.test: New helper test, looking (with the
  488. help of the `libtoolize' script) for libtool macro files required
  489. by most libtool tests, and making them easily accessible.
  490. * tests/gettext-macros.test: New helper test, looking (with the
  491. help of the `libtoolize' script) for libtool macro files required
  492. by most libtool tests, and making them easily accessible.
  493. * tests/defs.in: Update to make it rely on the results and setups
  494. of `libtool-macros.test' and `gettext-macros.test'.
  495. * tests/Makefile.am: Declare dependency of all the logs of libtool
  496. tests from `libtool-macros.log', and all the logs of gettext tests
  497. from `gettext-macros.log'.
  498. (TESTS): Add the new tests.
  499. 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  500. fix: typos and grammaros in comments of the new test
  501. * tests/get-sysconf.test: Fix few typos, grammaros and botched
  502. wording. Reported by Eric Blake.
  503. 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  504. tests: report useful system information in 'test-suite.log'
  505. It has already happened various times that a user has run the
  506. automake testsuite, experienced a failure, read the messages
  507. telling him "See tests/test-suite.log" and "Please report to
  508. bug-automake@gnu.org", and done exactly that -- sending us only
  509. the contents of `tests/test-suite.log', which are usually not
  510. enough to start debugging the reported failure. So we have to
  511. ask him for more details, and usually also for the `config.log'
  512. file generated by configure. It's time to fix this recurring
  513. feedback inefficiency. We do so by creating a dummy test case
  514. that takes care of copying the contents of `config.log', plus
  515. other useful system information, in the final `test-suite.log'.
  516. * tests/get-sysconf.test: New test, gathering system information
  517. and then always terminating with a SKIP, so that its output gets
  518. copied in `test-suite.log'.
  519. * tests/Makefile.am (TESTS): Add it.
  520. 2011-12-07 Reuben Thomas <rrt@sc3d.org> (tiny change)
  521. python: remove relics for Python 1.5 support
  522. * m4/python.m4: The comments in here claim to support only
  523. Python >= 2.0, yet this file still has specific support for
  524. Python 1.5. Just remove it, python 1.5 is 12 years old now,
  525. and practically defunct.
  526. * NEWS: Update.
  527. See also commit `Release-1-10-205-gd5bec12', "Support for
  528. Python 3.0, drop support for pre-2.0."
  529. 2011-12-21 Stefano Lattarini <stefano.lattarini@gmail.com>
  530. configure: remove extraneous 'eval's from AM_RUN_LOG invocations
  531. * configure.ac: Remove extra 'eval's from AM_RUN_LOG invocations;
  532. for example, instead of "AM_RUN_LOG([eval $PERL --version])",
  533. simply use "AM_RUN_LOG([$PERL --version])"
  534. 2011-12-21 Stefano Lattarini <stefano.lattarini@gmail.com>
  535. configure: report TeX version in config.log
  536. * configure.ac: If possible, report the version of the selected
  537. TeX program; this should render the logs more informative.
  538. 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  539. maint: snapshots from `maint' are still development snapshots
  540. The maintenance-oriented development line in the `maint' branch,
  541. while being usually pretty stable and 99% backward-compatible,
  542. is not always right off production-quality; but until now, the
  543. Automake package version declared in configure.ac hid this fact,
  544. since it appeared to be the version of a stable release (e.g.,
  545. 11.1). Fix this.
  546. * configure.ac (AC_INIT): Bump version to "1.11.0a".
  547. 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  548. configure: print proper message for test releases
  549. * configure.ac: If the current release is detected to be a test
  550. release or a development snapshot, print a proper warning for
  551. the user.
  552. * README-alpha: Delete, it's obsolete now (and in fact this file
  553. hasn't been touched in eleven years, since release 1.4b or so).
  554. * HACKING (Release procedure): Don't say to update README-alpha.
  555. 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  556. devel: help in comparing Makefile.in from different commits
  557. Now that the generated Makefile.in, configure and aclocal.m4 files
  558. are no longer committed in Automake's git repository, a simple
  559. "git diff" or "git log" no longer shows if and how a change in
  560. Automake results in changes to the Makefile.in files and/or
  561. configure script of its own build system. Still, the ability to
  562. peek so easily at such differences has proved itself quite useful
  563. in the past, often revealing inconsistencies and blunders, and
  564. sometimes even bugs; so it would be a pity to lose that altogether.
  565. With this change, we add a new maintainer recipe that re-introduces
  566. much of that capability, by generating and comparing on the fly the
  567. Makefile.in, configure and aclocal.m4 derived from two arbitrary
  568. commits of the Automake repository.
  569. * Makefile.am (autodiffs, compare-autodiffs): New phony targets.
  570. 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  571. repo: don't commit generated files in the git repository anymore
  572. It has been quite some time since autoconf and libtool have stopped
  573. committing the generated autotools files in their git repositories,
  574. with no significant ill effects we're aware of. It's true that the
  575. autoconf bootstrap process has now the minor annoyance that a
  576. pre-installed autoconf is required to complete it; but luckily
  577. automake will not have a similar annoyance, since our bootstrap
  578. script take care, through some hoops, to use the very automake and
  579. aclocal versions from the current git checkout to generate the
  580. required aclocal.m4 and Makefile.in files. In fact, this has been
  581. a necessity also in the past, because automake has been known to
  582. use in its own build system new development features that hadn't
  583. been present in any previously released automake distribution.
  584. * .gitignore: Ignore configure, aclocal.m4, and all the
  585. Makefile.in files.
  586. * configure.ac (AC_PREREQ): New macro call, to require the
  587. latest autoconf (2.68 for the moment).
  588. 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  589. missing: don't try to re-run tar with a munged command line
  590. * lib/missing: If the default `tar' program fails with the given
  591. arguments, and GNU tar is not available, don't try to re-run the
  592. default `tar' with a munged command line (e.g., ditching possibly
  593. unportable options), as that could be subtly alter the intended
  594. semantics (and maybe even create a somewhat corrupted tarball).
  595. Also, it's worth noting that the main purpose of the `missing'
  596. script is to allow a non-developer to build the package in the
  597. face of slightly-skewed timestamps, not to provide wrappers for
  598. all the maintainer tools -- so we don't have to try too hard
  599. when `missing' is just called to wrap `tar'.
  600. * tests/missing-tar.test: New test.
  601. * tests/Makefile.am (TESTS): Add it.
  602. 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  603. missing: inform the user if GNU tar is called
  604. * lib/missing: If the code trying to run GNU tar is reached, it
  605. means that the previous attempt to run the default tar program
  606. has failed, very likely producing some error message. At this
  607. point, just running GNU tar without further comments might be
  608. confusing.
  609. 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  610. missing: if GNU tar exists but fails when called, give up
  611. * lib/missing: If the code trying to run GNU tar is reached,
  612. don't continue if the invoked GNU tar program fails, as there
  613. is little point in doing so (and can even be confusing and
  614. counter-productive).
  615. 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  616. missing: miscellaneous fixlets
  617. * lib/missing: Some shells, such as Solaris or FreeBSD /bin/sh,
  618. warn about missing programs before performing redirections.
  619. Therefore, where we have to silently check whether a program
  620. exists, perform redirections on a subshell.
  621. Remove redundant uses of double-quotes in variable definitions.
  622. Delete an extra blank line.
  623. 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  624. maint: remove executable bit from automake.in
  625. * automake.in: This file is not meant to be executed, only to
  626. be preprocessed to create the `automake' script; so don't leave
  627. it executable.
  628. 2011-12-20 Peter Rosin <peda@lysator.liu.se>
  629. tests: fix spurious failure on systems lacking unistd.h
  630. This is for automake bug#10324.
  631. * tests/silent-lex-generic.test (foo.l): Add a dummy #define of
  632. YY_NO_UNISTD_H, so that the generated foo.c file won't require
  633. unistd.h to be present (it is not present when compiling with,
  634. e.g., MSVC 9).
  635. 2011-12-20 Stefano Lattarini <stefano.lattarini@gmail.com>
  636. tests: fix spurious failure on MSYS/MinGW and Cygwin
  637. * tests/primary-prefix-couples-force-valid.test (Makefile.am):
  638. Correctly append $(EXEEXT) to the path of built binaries.
  639. 2011-12-16 Stefano Lattarini <stefano.lattarini@gmail.com>
  640. test defs: hack to support autoconf-wrapper programs
  641. * tests/defs-static.in ($AUTOCONF): Add a dummy `-B' option to the
  642. autoconf invocation, so that, when the Debian autoconf wrapper is
  643. involved, it will correctly dispatch an autoconf >= 2.50 instead of
  644. defaulting to autoconf 2.13.
  645. ($AUTOHEADER, $AUTORECONF): Likewise, but for autoheader and
  646. autoreconf respectively.
  647. Reported by Bruno Haible:
  648. <http://lists.gnu.org/archive/html/automake/2011-12/msg00039.html>
  649. 2011-12-16 Stefano Lattarini <stefano.lattarini@gmail.com>
  650. tests: fix a minor spurious failure with FreeBSD make
  651. * tests/remake-am-pr10111.test: Avoid using `#' comments in
  652. makefile recipes, as these have been confusing FreeBSD make.
  653. The failure was masked by the fact that this test is currently
  654. expected to fail.
  655. Suggested by a report from Bruno Haible.
  656. 2011-12-16 Stefano Lattarini <stefano.lattarini@gmail.com>
  657. tests: make two test scripts executable
  658. * tests/remake-am-pr10111.test: Make executable.
  659. * tests/remake-m4-pr10111.test: Likewise.
  660. 2011-12-27 Stefano Lattarini <stefano.lattarini@gmail.com>
  661. yacc/lex tests: remove an unneeded workaround for bug#8485
  662. * tests/yacc-d-cxx.test: Remove the workaround previously required
  663. to avoid spurious failures due to automake bug#8485: that bug has
  664. been solved with commit `v1.11-512-g40c3432'.
  665. 2011-12-27 Stefano Lattarini <stefano.lattarini@gmail.com>
  666. yacc/lex tests: avoid too much failures with FreeBSD make
  667. In various Yacc/Lex tests, we used to run "make distcheck" commands
  668. whose value was mostly dubious, and, even when it was there, was
  669. very, very little. The presence of these extra distchecks had two
  670. disadvantages: it slowed down our already-too-slow testsuite even
  671. more, and, much worse, caused a lot of extra failures with FreeBSD,
  672. all due to automake bug#7884, which is already exposed by the test
  673. case `yacc-dist-nobuild.test'.
  674. We can improve this situation by simply removing "make distcheck"
  675. calls from a few testcases, or making them conditional to the use
  676. of GNU make.
  677. * tests/lex-clean-cxx.test: Do not call "make distcheck".
  678. * tests/lex-clean.test: Likewise.
  679. * tests/yacc-clean-cxx.test: Likewise.
  680. * tests/yacc-clean.test: Likewise.
  681. * tests/yflags-force-override.test: Likewise.
  682. * tests/yacc-nodist.test: Only run "make distcheck" if make
  683. is GNU make.
  684. 2011-12-15 Stefano Lattarini <stefano.lattarini@gmail.com>
  685. Merge branch 'maint' into 'yacc-work'
  686. * tests/silent-lex.test: Provide a dummy `yywrap()' function, to
  687. avoid link errors on systems that doesn't provide a "lex library".
  688. See also commit `v1.11-546-gca0ba5d'.
  689. 2011-12-14 Stefano Lattarini <stefano.lattarini@gmail.com>
  690. readme: reference webpages for automake mailing lists
  691. * README: Rationalize and reorganize the (brief) description of
  692. the automake mailing lists. In particular, instead of suggesting
  693. the reader to write to the `-request' addresses to subscribe to
  694. mailing lists, point him to the relevant webpages, where he can
  695. also subscribe via a web form.
  696. 2011-12-14 Stefano Lattarini <stefano.lattarini@gmail.com>
  697. readme: update advice about testsuite execution
  698. * README: Now that the automake testsuite uses the parallel-tests
  699. driver, there is no need for the user to capture the stdout of
  700. "make check" to determine which tests have failed: a detailed log
  701. is automatically saved into the `tests/test-suite.log' file.
  702. Since we are at it, improve the wording by dropping an extra
  703. "please".
  704. 2011-12-14 Stefano Lattarini <stefano.lattarini@gmail.com>
  705. readme: don't reference the old homepage at sources.redhat.com
  706. * README: Don't reference the old homepage at sources.redhat.com,
  707. which is no longer active; reference the homepage on www.gnu.org
  708. instead. See also automake bug#10157 and bug#10248.
  709. * tests/README: Likewise, and remove related extra-pedantic advice
  710. about copyright papers for test cases (we'll ask for those papers
  711. explicitly when we think they are warranted).
  712. 2011-12-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  713. hacking: some more fixlets
  714. * HACKING (Release Procedure): Place the list of pre-release
  715. bootstrap-and-test commands on a line of its own, so it's easy to
  716. select and then paste it into a terminal window.
  717. Fix the explanation of "make git-release", as, since the previous
  718. change, "make git-release" would simply run "make dist" rather
  719. than "make distcheck".
  720. Suggestion from Jim Meyering.
  721. 2011-12-12 Peter Rosin <peda@lysator.liu.se>
  722. * NEWS: Fix typo in 'make dist-bzip2' description.
  723. 2011-12-10 Stefano Lattarini <stefano.lattarini@gmail.com>
  724. release: don't run "make distcheck" automatically
  725. * Makefile.am (git-dist): The developers should test extensively
  726. before finally creating the release tarball; so don't run "make
  727. distcheck" on their behalf here; instead ...
  728. * HACKING (Release procedure): ... state here that "make check"
  729. and "make distcheck" should be run before calling "make git-dist".
  730. 2011-12-15 Stefano Lattarini <stefano.lattarini@gmail.com>
  731. tests: fix spurious failure in 'color2.test'
  732. * tests/color2.test: (expect-make): Add an "expect eof" directive,
  733. so that the collected output from the spawned make program will be
  734. displayed on stdout, as desired.
  735. Since we are at it, also correctly remove a temporary file which
  736. we was trying to delete using a wrong filename.
  737. Problem introduced in merge `v1.11-1579-g8d3466c', probably by a
  738. botched edit or conflict resolution.
  739. 2011-12-15 Stefano Lattarini <stefano.lattarini@gmail.com>
  740. tests: fix spurious failure in 'lex3.test'
  741. * tests/lex3.test (foo.l): Remove duplicated definition of
  742. `yywrap'. Problem introduced in merge `v1.11-1579-g8d3466c'.
  743. 2011-12-09 Jim Meyering <meyering@redhat.com>
  744. Stefano Lattarini <stefano.lattarini@gmail.com>
  745. dist-xz, dist-bzip2: don't hard-code -9, honor envvar settings
  746. Before the present change, automake-generated `dist-xz' rule used
  747. a hard-coded `xz -9'. That was a problem because on this front,
  748. xz differs from gzip and bzip2. While the latter two don't incur
  749. any run-time decompression penalty for using a higher compression
  750. level, specifying -9 with xz imposes a potentially fatal virtual
  751. memory requirement on any client that wants to decompress your
  752. tar.xz file.
  753. People have complained that a tarball compressed with -9 cannot
  754. be uncompressed in a low-memory environment (wrt-based embedded).
  755. Hence, instead of defaulting to -9, which is useful only for very
  756. large tarballs, it defaults to -e (equivalent to -6e). This
  757. limits the default memory requirements imposed on decompressors,
  758. yet still gives very good compression ratios.
  759. * lib/am/distdir.am (dist-xz): Do not hard-code xz's -9: that made
  760. it impossible to override. Actually don't default to -9, either,
  761. since that induced inordinately large virtual memory usage when
  762. merely decompressing. Instead, use its XZ_OPT envvar, defaulting
  763. to -e if not defined. Suggested by Lasse Collin.
  764. (dist-bzip2): Similarly, do not hard-code -9, but do continue to
  765. use -9 by default. Honor the BZIP2 envvar.
  766. * NEWS: Update.
  767. * doc/automake.texi (The Types of Distributions): Describe the
  768. newly enabled environment variables.
  769. 2011-12-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  770. * NEWS: Fix typos, grammaros and suboptimal wording.
  771. Reported by Jim Meyering.
  772. 2011-12-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  773. maint: sync auxiliary files from upstream
  774. * lib/texinfo.tex: Synced from upstream, by "make fetch".
  775. * lib/config.guess: Likewise.
  776. * lib/config.sub: Likewise.
  777. 2011-12-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  778. tests: fix spurious failures due to missing 'yywrap()' function
  779. The AC_PROG_LEX Autoconf macro does not diagnose a failure to find
  780. the "lex library" expected to provide a `yywrap' function (function
  781. which is required to link most lex-generated programs). On the
  782. contrary, when all the link attempts (i.e., with `-ll' and `-lfl')
  783. fail, configure declares that no lex library is needed, and simply
  784. proceeds with the configuration process -- only for the build to
  785. possibly fail later, at make time.
  786. This behaviour is intended; the Autoconf manual reads:
  787. ``You are encouraged to use Flex in your sources, since it is
  788. both more pleasant to use than plain Lex and the C source it
  789. produces is portable. In order to ensure portability, however,
  790. you must either provide a function `yywrap' or, if you don't use
  791. it (e.g., your scanner has no `#include'-like feature), simply
  792. include a `%noyywrap' statement in the scanner's source.''
  793. This AC_PROG_LEX behaviour is causing some spurious failures of
  794. the Automake testsuite in environments which lack a proper library
  795. providing `yywrap' (this happens for example on Fedora-based
  796. systems). The proper workaround is to simply provide a fall-back
  797. implementation of `yywrap' in our lexers.
  798. See also partially-overlapping commit `v1.11-871-geb147a1' (from
  799. the 'testsuite-work' branch), which was motivated by similar
  800. spurious failures experienced when cross-compiling.
  801. From a report by Jim Meyering:
  802. <http://lists.gnu.org/archive/html/automake-patches/2011-10/msg00092.html>
  803. * tests/cond35.test: Provide a dummy `yywrap' function.
  804. * tests/lex3.test: Likewise.
  805. * tests/silent-lex-generic.test: Likewise.
  806. * tests/silent-lex-gcc.test: Likewise.
  807. * tests/silent-many-generic.test: Likewise.
  808. * tests/silent-many-gcc.test: Likewise.
  809. 2011-12-04 Paul Eggert <eggert@cs.ucla.edu>
  810. depcomp: spelling fix
  811. * lib/depcomp (-h): Fix misspelling in usage diagnostic.
  812. 2011-11-28 Peter Rosin <peda@lysator.liu.se>
  813. tests: fix 'distcheck-override-infodir.test' on Cygwin
  814. * tests/distcheck-override-infodir.test (Makefile.am): Do not add
  815. any `/' between $(DESTDIR) and the following paths. Otherwise,
  816. when $(DESTDIR) is empty, the recipes will try to access files
  817. with a leading double slash, which have an implementation-defined
  818. interpretation (e.g., for Cygwin, they mean UNC paths).
  819. 2011-11-24 Stefano Lattarini <stefano.lattarini@gmail.com>
  820. cosmetics: typofix in comments
  821. * tests/remake-am-pr10111.test (Makefile.am): Fix typo in comments.
  822. * THANKS: Update.
  823. Reported by Krzysztof Żelechowski.
  824. 2011-11-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  825. coverage: undistributed '.am' and '.m4' files are diagnosed
  826. The stub rules emitted to work around the "deleted header problem"
  827. for `.m4' files (included by autoconf in e.g., configure.ac) and
  828. for `.am' files (included by automake in e.g., Makefile.am) should
  829. not prevent "make" from correctly complaining when such a required
  830. file is missing from a distribution tarball.
  831. * tests/dist-missing-am.test: New test.
  832. * tests/dist-missing-m4.test: Likewise.
  833. * tests/dist-missing-included-m4.test: Likewise.
  834. * tests/Makefile.am (TESTS): Add them.
  835. Suggestion by Ralf Wildenhues.
  836. 2011-11-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  837. coverage: required but missing '.am' and '.m4' files are diagnosed
  838. The stub rules emitted to work around the "deleted header problem"
  839. for `.m4' files (included by autoconf in e.g., configure.ac) and
  840. for `.am' files (included by automake in e.g., Makefile.am) should
  841. not prevent the remake rules from correctly erroring out when a
  842. still-required file is missing.
  843. * tests/deleted-am.test: New test.
  844. * tests/deleted-m4.test: Likewise.
  845. * tests/Makefile.am (TESTS): Add them.
  846. 2011-11-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  847. coverage: expose automake bug#10111 in the testsuite
  848. * tests/remake-am-pr10111.test: New test, xfailing.
  849. * tests/remake-m4-pr10111.test: Likewise.
  850. * tests/Makefile.am (TESTS, XFAIL_TESTS): Add them.
  851. 2011-11-19 Stefano Lattarini <stefano.lattarini@gmail.com>
  852. texinfo: work around Solaris 10 xpg4 shell bug in install rules
  853. * lib/am/texinfos.am (install-html-am): Use an extra variable
  854. indirection to work around a bug in Solaris 10 /usr/xpg4/bin/sh.
  855. Bug revealed by a failure of `txinfo21.test'. See also:
  856. <http://lists.gnu.org/archive/html/bug-autoconf/2011-11/msg00005.html>
  857. <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10026#23>
  858. 2011-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
  859. configure: report perl version in config.log
  860. * configure.ac: Report the version of the selected perl interpreter
  861. in config.log; this should render the logs more informative.
  862. 2011-11-13 Stefano Lattarini <stefano.lattarini@gmail.com>
  863. tests: fix spurious failure with older install-info
  864. * tests/install-info-dir.test (foo.texi): Also add proper
  865. `@settitle', `@dircategory' and `@direntry' directive, otherwise
  866. older versions of `install-info' (e.g., 4.8) will fail to create
  867. the `dir' index file in ${infodir}.
  868. Problem revealed by a failure on NetBSD 5.1.
  869. 2011-11-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  870. maintcheck: fix spurious failure in 'color2.test'
  871. * tests/color2.test: Avoid creative quoting to avoid a spurious
  872. failure of the `sc_tests_Exit_not_exit' maintainer check.
  873. 2011-11-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  874. tests: fix spurious error in 'uninstall-fail.test' on Solaris
  875. * tests/uninstall-fail.test: Solaris 10 /usr/xpg4/bin/sh can add
  876. a line number before the `:' in the error messages issued by shell
  877. builtins. Account for that in our grepping of make output.
  878. 2011-11-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  879. tests: fix typo in 'uninstall-fail.test'
  880. * tests/uninstall-fail.test: Always use `$rm_f_is_silent_on_error'
  881. instead of the bogus `$rm_f_is_silent_on_failure'.
  882. 2011-11-19 Paul Eggert <eggert@cs.ucla.edu>
  883. * lib/install-sh: Spelling fix in comment.
  884. 2011-11-10 Stefano Lattarini <stefano.lattarini@gmail.com>
  885. tests: avoid a spurious failure of 'ltinit.test' MinGW
  886. * tests/ltinit.test: Be laxer in grepping configure output, to
  887. avoid spurious failures on systems which lack POSIX dynamic
  888. linking (e.g., MinGW), or when cross-compiling for such systems.
  889. See also commit `v1.11-855-ge9e5d4a'.
  890. Report and suggestion from Peter Rosin.
  891. 2011-11-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  892. tests: testsuite is now safe to run with dmake in parallel mode
  893. * tests/defs.in: Unset variables DMAKE_CHILD, DMAKE_DEF_PRINTED
  894. and DMAKE_MAX_JOBS, which are exported by Solaris dmake when run
  895. in parallel mode, and which might confuse make processes spawned
  896. by our testsuite.
  897. 2011-11-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  898. tests: fix spurious failures w.r.t. parallel make and colorization
  899. * tests/color2.test: Skip the test if the $MAKE program fails to
  900. consider the standard output as a tty when spawned by `expect'.
  901. This is required for make implementations, like FreeBSD make and
  902. Solaris dmake, that redirect the output of recipes to temporary
  903. files or pipes when run in parallel mode. Since we are at it,
  904. simplify the detection of a working `expect' program, and throw
  905. in other minor simplifications.
  906. 2011-11-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  907. tests: fix spurious failure in 'distcheck-override-infodir.test'
  908. * tests/distcheck-override-infodir.test ($required): Add
  909. 'install-info'.
  910. 2011-11-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  911. tests: avoid another failure of 'uninstall-fail.test' on Solaris
  912. * tests/uninstall-fail.test: On Solaris 10, if `/bin/rm' is run
  913. with the `-f' option, it doesn't print any error message when
  914. failing to remove a file (due to e.g., "Permission denied").
  915. Yikes. Cater to this incompatibility, by relaxing the test when
  916. a faulty `rm' is detected.
  917. 2011-11-10 Stefano Lattarini <stefano.lattarini@gmail.com>
  918. tests: various minor tweakings, mostly related to AM_PROG_AR
  919. * tests/alloca2.test: Ensure we don't experience a spurious failure
  920. due to a missing `AM_PROG_AR' macro or a missing `ar-lib' auxiliary
  921. script.
  922. * tests/libtool4.test: Likewise.
  923. * tests/ldadd.test: Likewise. Since we are at it, make grepping of
  924. automake stderr stricter.
  925. * tests/reqd2.test: Likewise.
  926. * tests/pr211.test: Ensure automake fails also with `-Wnone', since
  927. the error we are testing for is an hard error, not a mere warning.
  928. * tests/syntax.test: Likewise, and ensure we don't fail to other
  929. errors by removing use of `lib_LTLIBRARIES' in Makefile.am. Since
  930. we are at it, make grepping of automake stderr stricter.
  931. 2011-11-05 Stefano Lattarini <stefano.lattarini@gmail.com>
  932. ar-lib: fix configure output for "unrecognized archiver interface"
  933. * m4/ar-lib.m4: Ensure that, even when an error is hit while trying
  934. to determine the archiver interface kind, the "checking archiver
  935. interface" message from configure is properly terminated before
  936. an error message is printed, to avoid slightly garbled output.
  937. * tests/ar4.test: Enhance.
  938. * tests/ar5.test: Likewise.
  939. 2011-11-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  940. warnings: fix buglets for portability warnings
  941. * lib/Automake/ChannelDefs.pm (switch_warning): Ensure the
  942. correct implications and inter-dependencies between warnings
  943. in the categories `portability', `extra-portability' and
  944. `recursive-portability' are respected. Also add detailed
  945. explicative comments, and references to the relevant tests.
  946. * tests/dollarvar2.test: Update and extend. Also, remove
  947. some unnecessary uses of `--force' option in automake calls.
  948. * tests/extra-portability3.test: New test.
  949. * tests/Makefile.am (TESTS): Add it.
  950. 2011-11-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  951. tests: extend tests on 'extra-portability' warning category
  952. * tests/extra-portability.test: Redefine `$AUTOMAKE' to ensure we
  953. have complete control over the automake options. Extend by using
  954. also a setup where no `portability' warning is present (only an
  955. `extra-portability' warning is). Other minor extensions. Remove
  956. some redundant, verbose comments about the expected diagnostic.
  957. 2011-11-03 Stefano Lattarini <stefano.lattarini@gmail.com>
  958. tests: various minor tweakings, mostly related to AM_PROG_AR
  959. * tests/alloca.test: Adjust to new portability requirements due
  960. to the new AM_PROG_AR macro.
  961. * tests/discover.test: Likewise.
  962. * tests/libobj3.test: Likewise.
  963. * tests/pluseq7.test: Likewise. Also, make grepping of automake
  964. expected error message stricter.
  965. * tests/stdlib.test: Likewise, and extend the test a bit.
  966. * tests/parse.test (configure.in): Remove redundant call to
  967. AC_PROG_RANLIB.
  968. * tests/library2.test: Adjust to new portability requirements
  969. due to the new AM_PROG_AR macro. Also ...
  970. (configure.in): ... add call to AC_PROG_CC, to ensure automake
  971. really fails for the expected reason.
  972. 2011-11-05 Stefano Lattarini <stefano.lattarini@gmail.com>
  973. ar-lib: fix configure output for "unrecognized archiver interface"
  974. * m4/ar-lib.m4: Ensure that, even when an error is hit while trying
  975. to determine the archiver interface kind, the "checking archiver
  976. interface" message from configure is properly terminated before
  977. an error message is printed, to avoid slightly garbled output.
  978. * tests/ar4.test: Enhance.
  979. * tests/ar5.test: Likewise.
  980. 2011-11-05 Stefano Lattarini <stefano.lattarini@gmail.com>
  981. tests: more faithful 'installcheck' support in few tests
  982. * tests/ar-lib5a.test: Use the `$am_scriptdir' variable instead
  983. of "$testsrcdir/../lib" or "$top_testsrcdir/lib", to test more
  984. faithfully under "make installcheck".
  985. * tests/ar-lib5a.test: Likewise.
  986. * tests/libobj-basic.test: Likewise.
  987. * tests/libobj19.test: Likewise.
  988. * tests/suffix5.test: Likewise.
  989. 2011-11-05 Stefano Lattarini <stefano.lattarini@gmail.com>
  990. tests: remove redundant settings of `errexit' shell flag
  991. * tests/aclocal-path-install-serial.test: Do not set the
  992. `errexit' shell flag, as it is already set by `tests/defs'.
  993. * tests/ar-lib2.test: Likewise.
  994. * tests/ar-lib3.test: Likewise.
  995. * tests/ar-lib4.test: Likewise.
  996. * tests/ar-lib5a.test: Likewise.
  997. * tests/ar-lib5b.test: Likewise.
  998. * tests/ar-lib6a.test: Likewise.
  999. * tests/ar-lib6b.test: Likewise.
  1000. * tests/ar-lib7.test: Likewise.
  1001. * tests/ar3.test: Likewise.
  1002. * tests/ar4.test: Likewise.
  1003. * tests/ar5.test: Likewise.
  1004. * tests/extra-portability.test: Likewise.
  1005. * tests/extra-portability2.test: Likewise.
  1006. * tests/extra-portability3.test: Likewise.
  1007. * tests/install-info-dir.test: Likewise.
  1008. * tests/maintmode-configure-msg.test: Likewise.
  1009. 2011-11-05 Stefano Lattarini <stefano.lattarini@gmail.com>
  1010. generated tests: avoid extra "FIXME" comments
  1011. * tests/gen-testsuite-part: Avoid putting too much "FIXME"
  1012. comments in the generated test scripts, since they end up
  1013. being just counter-productive noise when one has to grep
  1014. the test scripts looking for real "FIXME" items.
  1015. 2011-09-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  1016. cosmetics: fix typo in 'prove-runner' script
  1017. * tests/prove-runner: Remove erroneously-repeated word.
  1018. * THANKS: Update.
  1019. Reported by Dave Hart.
  1020. 2011-11-05 Stefano Lattarini <stefano.lattarini@gmail.com>
  1021. Merge branch 'master' into testsuite-work
  1022. * tests/extra-portability.test: Use `$am_original_AUTOMAKE'
  1023. instead of the obsolete `$original_AUTOMAKE'.
  1024. * tests/extra-portability3.test: Likewise.
  1025. * tests/list-of-tests.mk: Update.
  1026. 2011-11-05 Stefano Lattarini <stefano.lattarini@gmail.com>
  1027. Merge branch 'msvc' into master
  1028. * tests/extra-portability3.test: Use `$original_AUTOMAKE' instead
  1029. of hackishly extracting the first component of `$AUTOMAKE'.
  1030. * tests/extra-portability.test: Likewise. Also, since we are at
  1031. it, throw in a couple of small extensions and tweakings (suggested
  1032. by the minor merge conflicts).
  1033. 2011-11-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  1034. warnings: fix buglets for portability warnings
  1035. * lib/Automake/ChannelDefs.pm (switch_warning): Ensure the
  1036. correct implications and inter-dependencies between warnings
  1037. in the categories `portability', `extra-portability' and
  1038. `recursive-portability' are respected. Also add detailed
  1039. explicative comments, and references to the relevant tests.
  1040. * tests/dollarvar2.test: Update and extend. Also, remove
  1041. some unnecessary uses of `--force' option in automake calls.
  1042. * tests/extra-portability3.test: New test.
  1043. * tests/Makefile.am (TESTS): Add it.
  1044. 2011-11-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  1045. tests: extend tests on 'extra-portability' warning category
  1046. * tests/extra-portability.test: Redefine `$AUTOMAKE' to ensure we
  1047. have complete control over the automake options. Extend by using
  1048. also a setup where no `portability' warning is present (only an
  1049. `extra-portability' warning is). Other minor extensions. Remove
  1050. some redundant, verbose comments about the expected diagnostic.
  1051. 2011-11-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  1052. test defs: new functions to analyze configure help screen
  1053. * tests/defs (extract_configure_help, grep_configure_help): New
  1054. functions.
  1055. * tests/maintmode-configure-msg.test: Use them, reducing code
  1056. duplication and test brittleness.
  1057. * tests/help-depend.test: Likewise.
  1058. * tests/help-depend2.test: Likewise.
  1059. * tests/help-dmalloc.test: Likewise.
  1060. * tests/help-lispdir.test: Likewise.
  1061. * tests/help-multilib.test: Likewise.
  1062. * tests/help-python.test: Likewise.
  1063. * tests/help-regex.test: Likewise.
  1064. * tests/help-silent.test: Likewise.
  1065. * tests/help-upc.test: Likewise.
  1066. * tests/help-init.test: Make grepping of configure help screen
  1067. slightly stricter.
  1068. * tests/self-check-configure-help.test: New self test.
  1069. * tests/Makefile.am (TESTS): Add it.
  1070. From a report by Jim Meyering.
  1071. 2011-11-03 Stefano Lattarini <stefano.lattarini@gmail.com>
  1072. Merge branch 'master' into testsuite-work
  1073. * tests/instspc.tap: Adjust to new portability requirements
  1074. due to the new AM_PROG_AR macro.
  1075. * tests/lex-lib.test: Likewise.
  1076. * tests/extra-portability2.test: Use `$am_original_AUTOMAKE'
  1077. instead of the obsolete `$original_AUTOMAKE'.
  1078. * tests/list-of-tests.mk: Update.
  1079. 2011-11-03 Stefano Lattarini <stefano.lattarini@gmail.com>
  1080. tests: various minor tweakings, mostly related to AM_PROG_AR
  1081. * tests/alloca.test: Adjust to new portability requirements due
  1082. to the new AM_PROG_AR macro.
  1083. * tests/discover.test: Likewise.
  1084. * tests/libobj3.test: Likewise.
  1085. * tests/pluseq7.test: Likewise. Also, make grepping of automake
  1086. expected error message stricter.
  1087. * tests/stdlib.test: Likewise, and extend the test a bit.
  1088. * tests/parse.test (configure.in): Remove redundant call to
  1089. AC_PROG_RANLIB.
  1090. * tests/library2.test: Adjust to new portability requirements
  1091. due to the new AM_PROG_AR macro. Also ...
  1092. (configure.in): ... add call to AC_PROG_CC, to ensure automake
  1093. really fails for the expected reason.
  1094. 2011-11-03 Stefano Lattarini <stefano.lattarini@gmail.com>
  1095. Merge branch 'msvc' into master
  1096. * tests/instspc-tests.sh: Adjust to new portability requirements
  1097. due to the new AM_PROG_AR macro.
  1098. * tests/libobj-basic.test: Likewise.
  1099. * tests/libobj2.test: Likewise.
  1100. * tests/libobj15a.test: Likewise.
  1101. * tests/libobj15b.test: Likewise.
  1102. * tests/libobj15c.test: Likewise.
  1103. * tests/libobj16a.test: Likewise.
  1104. * tests/libobj16b.test: Likewise.
  1105. * tests/libobj17.test: Likewise.
  1106. * tests/libobj18.test: Likewise.
  1107. * tests/libobj19.test: Likewise.
  1108. * tests/libobj20a.test: Likewise.
  1109. * tests/libobj20b.test: Likewise.
  1110. * tests/libobj20c.test: Likewise.
  1111. * tests/canon6.test: Likewise.
  1112. * tests/canon6.test: Likewise.
  1113. * tests/canon7.tests: Likewise.
  1114. * tests/extra9.test: Likewise.
  1115. * tests/extradep.test: Likewise.
  1116. * tests/extradep2.test: Likewise.
  1117. * tests/posixsubst-ldadd.test: Likewise.
  1118. * tests/posixsubst-libraries.test: Likewise.
  1119. * tests/posixsubst-ltlibraries.test: Likewise.
  1120. * tests/python-virtualenv.test: Likewise.
  1121. * tests/vartypos.test: Likewise.
  1122. * tests/vartypo2.test: Likewise.
  1123. * tests/suffix.test: Update to take into account previous
  1124. master-only changes.
  1125. * tests/suffix2.test: Likewise.
  1126. * tests/libobj7.test: Call automake with the `--add-missing'
  1127. option, instead of creating a dummy `ar-lib' file, since this
  1128. test now also runs "./configure" and "make".
  1129. * tests/suffix5.test: Copy the real `ar-lib' script file,
  1130. instead of creating a dummy one, since this test now also
  1131. runs "./configure" and "make".
  1132. * tests/extra-portability2.test: Fix this test not to rely
  1133. on the older, faulty semantics of "strictness specification
  1134. always reset warning level", which has been fixed in commit
  1135. v1.11-623-g1609491 (see also automake bug#7669 a.k.a. PR/547).
  1136. Since we are at it, throw inf few other minor unrelated
  1137. improvements.
  1138. * tests/extra-portability.test: Explicitly pass `-Wall' to
  1139. automake calls, for clarity.
  1140. 2011-10-21 Peter Rosin <peda@lysator.liu.se>
  1141. warnings: new 'extra-portability' category, for AM_PROG_AR
  1142. * lib/Automake/ChannelDefs.pm: Register new extra-portability
  1143. warning channel.
  1144. (switch_warning): Turn off extra-portability if portability is
  1145. turned off, and turn on portability if extra-portability is
  1146. turned on.
  1147. (set_strictness): Silence extra-portability for --gnits, --gnu
  1148. and --foreign.
  1149. * tests/extra-portability2.test: New test, checking that the
  1150. extra-portability channel is silenced by --gnits, --gnu and
  1151. --foreign.
  1152. * doc/automake.texi (Invoking Automake): Document the new warning
  1153. category and its interaction with the portability category.
  1154. * tests/extra-portability.test: New test, checking the interaction
  1155. between the portability and extra-portability warning categories.
  1156. * automake.in (handle_libraries, handle_ltlibraries): Move the
  1157. AM_PROG_AR warnings to the new extra-portability channel.
  1158. * tests/ar2.test: Adjust to the new warning channel.
  1159. * tests/pr300-lib.test: Likewise.
  1160. * tests/pr300-ltlib.test: Likewise.
  1161. * tests/pr307.test: Likewise.
  1162. * tests/pr401.test: Likewise.
  1163. * tests/pr401b.test: Likewise.
  1164. * tests/pr401c.test: Likewise.
  1165. * tests/pr72.test: Likewise.
  1166. * NEWS: Likewise.
  1167. * tests/Makefile.am (TESTS): Update.
  1168. 2011-10-21 Peter Rosin <peda@lysator.liu.se>
  1169. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1170. Stefano Lattarini <stefano.lattarini@gmail.com>
  1171. Add new 'AM_PROG_AR' macro, triggering the 'ar-lib' script.
  1172. * m4/ar-lib.m4: New macro AM_PROG_AR, which locates an
  1173. archiver and triggers the auxiliary 'ar-lib' script if needed.
  1174. * m4/Makefile.am (dist_m4data_DATA): Update.
  1175. * automake.in ($seen_ar): New variable.
  1176. (scan_autoconf_traces): Set it.
  1177. (handle_libraries, handle_ltlibraries): Require AM_PROG_AR for
  1178. portability.
  1179. * doc/automake.texi (Public Macros): Mention the new
  1180. 'AM_PROG_AR' macro.
  1181. (Subpackages): Add AM_PROG_AR to the example.
  1182. (A Library): Adjust recommendations for AR given the new
  1183. AM_PROG_AR macro.
  1184. * All relevant tests: Adjust to new portability requirements due
  1185. to the new AM_PROG_AR macro.
  1186. * tests/ar-lib2.test: New test, checking that AM_PROG_AR triggers
  1187. install of ar-lib.
  1188. * tests/ar-lib3.test: New test, checking that lib_LIBRARIES
  1189. requires AM_PROG_AR.
  1190. * tests/ar-lib4.test: New test, checking that lib_LTLIBRARIES
  1191. requires AM_PROG_AR.
  1192. * tests/ar-lib5a.test: New test, checking that AM_PROG_AR triggers
  1193. use of ar-lib when the archiver is Microsoft lib.
  1194. * tests/ar-lib5b.test: New test, checking that AM_PROG_AR triggers
  1195. use of ar-lib when the archiver is a faked lib.
  1196. * tests/ar-lib6a.test: New test, checking the ordering of
  1197. AM_PROG_AR and LT_INIT.
  1198. * tests/ar-lib6b.test: New test, checking the ordering of
  1199. AM_PROG_AR and AC_PROG_LIBTOOL.
  1200. * tests/ar-lib7.test: New test, checking that automake warns
  1201. if ar-lib is missing.
  1202. * tests/ar3.test: New test, checking that AR and ARFLAGS may
  1203. be overridden by the user even if AM_PROG_AR is used.
  1204. * tests/ar4.test: New test, checking that AM_PROG_AR bails out
  1205. if it cannot determine the archiver interface.
  1206. * tests/ar5.test: New test, checking that AM_PROG_AR runs its
  1207. optional argument if it cannot determine the archiver interface.
  1208. * tests/defs.in: New required entry 'lib'.
  1209. * tests/Makefile.am (TESTS): Update.
  1210. * NEWS: Update.
  1211. 2011-11-03 Zack Weinberg <zackw@panix.com> (tiny change)
  1212. Stefano Lattarini <stefano.lattarini@gmail.com>
  1213. maint-mode: fix botched configure messages
  1214. This change fixes automake bug#9890.
  1215. * m4/maintainer.m4 (AM_MAINTAINER_MODE): Fix the "checking ..."
  1216. configure message related to the enabling/disabling of maintainer
  1217. mode.
  1218. * tests/help-maintainer.test: Renamed ...
  1219. * tests/maintmode-configure-msg.test: ... to this, and extended
  1220. to cover the fixed bug. Also, since we are at it, make grepping
  1221. of configure help screens stricter, and throw in some few other
  1222. changes to reduce code duplication and enhance readability.
  1223. * tests/Makefile.am (TESTS): Update.
  1224. * THANKS: Update with Zack's new e-mail address.
  1225. Report and initial patch by Zack Weinberg, test cases added by
  1226. Stefano Lattarini.
  1227. 2011-10-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  1228. info: allow user to inhibit creation/update of '${infodir}/dir'
  1229. With this change, we allow the user to request the install-info
  1230. rules not to update the `${infodir}/dir' file, by setting the
  1231. environment variable `AM_UPDATE_INFO_DIR' to the value "no".
  1232. This is especially useful to distro packagers, and is a definite
  1233. improvement over our previous hack of looking whether the
  1234. `install-info' program was the Debian or GNU version -- hack
  1235. which had been silently broken with recent versions of debian
  1236. install-info BTW (probably since dpkg 1.15.4, 2009-09-06).
  1237. This change fixes automake bug#9773. See also Debian Bug#543992.
  1238. * lib/am/texinfos.am: Don't look anymore at the output of
  1239. `install-info --version' to decide whether to use it to update
  1240. the `${infodir}/dir' or not; instead, honour the environment
  1241. variable `AM_UPDATE_INFO_DIR'.
  1242. * tests/install-info-dir.test: New test.
  1243. * tests/Makefile.am (TESTS): Add it.
  1244. * tests/defs: Also unset `AM_UPDATE_INFO_DIR', to avoid unwanted
  1245. interferences from the environment.
  1246. * doc/automake.texi (Texinfo): Update.
  1247. * NEWS: Likewise.
  1248. * THANKS: Likewise.
  1249. Report by Jonathan Nieder.
  1250. 2011-10-25 Stefano Lattarini <stefano.lattarini@gmail.com>
  1251. test defs: new function 'am_keeping_testdirs', for better APIs
  1252. This change is meant to make it easier for TAP-based test scripts
  1253. to remove files left over by completed (sub)tests, while still
  1254. honoring the user-provided `$keep_testdirs' setting.
  1255. * tests/defs (am_keeping_testdirs): New function, telling whether
  1256. we should keep the test directories around, even in case of
  1257. success (by default, we don't).
  1258. (exit trap): Use it.
  1259. * tests/depmod.tap: Likewise.
  1260. * tests/instspc.tap: Likewise. Also, fix some pre-existing
  1261. "copy & paste" bugs, and a typo in comments.
  1262. 2011-10-25 Stefano Lattarini <stefano.lattarini@gmail.com>
  1263. tests: remove redundant `set -e', and other minor improvements
  1264. * tests/dejagnu-absolute-builddir.test: Do not set the `errexit'
  1265. shell flag, as it is already set by `tests/defs'.
  1266. * tests/dejagnu-relative-srcdir.test: Likewise.
  1267. * tests/dejagnu-siteexp-append.test: Likewise.
  1268. * tests/dejagnu-siteexp-useredit.test: Likewise, and fix a typo
  1269. in comments.
  1270. * tests/dejagnu-siteexp-extend.test: Likewise, and prefer the
  1271. use of `$distdir' over hard-coded `$me-1.0'. Also ...
  1272. (write_check_for): ... use `unindent' when writing from an
  1273. here-doc, for better code indentation.
  1274. 2011-10-20 Stefano Lattarini <stefano.lattarini@gmail.com>
  1275. deps: partially revert commit `v1.11-512-geeee551'
  1276. This change partly reverts commit "Create subdirs for generated
  1277. sources even when not dep tracking", of 2011-04-02.
  1278. That commit had caused the bugs #8485 and #8526. Since we are
  1279. nearing the bug-fixing automake release 1.11.2, the safest policy
  1280. at the moment is to just revert the problematic hunks: an older,
  1281. known bug is better than a regression.
  1282. * automake.in (handle_single_transform): Don't add a dirstamp
  1283. dependency, even when $object is derived and lands in a subdir.
  1284. * tests/Makefile.am (XFAIL_TESTS): Add lex-subobj-nodep.test,
  1285. remove yacc-dist-nobuild-subdir.test.
  1286. 2011-10-25 Stefano Lattarini <stefano.lattarini@gmail.com>
  1287. tests: few improvements to some `ar-lib' related tests
  1288. * tests/ar-lib5a.test (Makefile.am): Also check that the target
  1289. library has truly been created.
  1290. (ar-lib): Use the real `ar-lib' script (mildly patched) rather
  1291. than a dummy one, to ensure better "real-life coverage". Fix
  1292. botched shebang line.
  1293. * tests/ar-lib5b.test: Extend the PATH variable to make the dummy
  1294. `lib' script accessible, instead of explicitly calling it by its
  1295. relative/absolute path.
  1296. (ar-lib): Fix botched shebang line.
  1297. (bin/lib): Likewise. Also, add explicative comments, and make
  1298. slightly stricter.
  1299. 2011-10-24 Peter Rosin <peda@lysator.liu.se>
  1300. Merge branch 'maint' into msvc
  1301. * tests/subpkg-yacc.test: Adjust to new portability requirements due
  1302. to the new AM_PROG_AR macro.
  1303. 2011-10-19 Stefano Lattarini <stefano.lattarini@gmail.com>
  1304. dejagnu: allow the package developer to extend site.exp
  1305. Fixes automake bug#7873.
  1306. * lib/am/dejagnu.am (site.exp): Depend from the files listed in
  1307. $(EXTRA_DEJAGNU_SITE_CONFIG), if any. Append their contents to
  1308. the generated site.exp (still preserving user edits).
  1309. * doc/automake.texi (Dejagnu Tests): Update.
  1310. * tests/dejagnu-siteexp-append.test: New test.
  1311. * tests/dejagnu-siteexp-extend.test: Likewise.
  1312. * tests/dejagnu-siteexp-useredit.test: Likewise.
  1313. * tests/Makefile.am (TESTS): Update.
  1314. * NEWS: Update.
  1315. Suggestion by Rainer Orth.
  1316. 2011-10-19 Stefano Lattarini <stefano.lattarini@gmail.com>
  1317. dejagnu: ensure 'srcdir' is defined as a relative directory
  1318. This change fixes automake bug#7833.
  1319. * lib/am/dejagnu.am (check-DEJAGNU): Prefer using plain $(srcdir)
  1320. over calculating and using the absolute path of $(srcdir).
  1321. * tests/dejagnu-relative-srcdir.test: New test.
  1322. * tests/dejagnu-absolute-builddir.test: Likewise.
  1323. * tests/Makefile.am (TESTS): Update.
  1324. Report by Ian Lance Taylor. Suggestions by Ralf Wildenhues.
  1325. 2010-12-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1326. Fix testsuite failure of check12.test without DejaGNU.
  1327. * tests/check12.test: Require runtest.
  1328. 2010-12-10 Stefano Lattarini <stefano.lattarini@gmail.com>
  1329. Extend and improve tests on DejaGnu support.
  1330. * tests/dejagnu.test: Do not create useless dummy test script.
  1331. Add trailing `:' command. In heading comments, add reference
  1332. to ...
  1333. * tests/check12.test: ... this new "semantic" test, covering
  1334. concurrent use of dejagnu tests, simple tests and `check-local'
  1335. target.
  1336. * tests/dejagnu2.test: Make test more reliable, by avoid weak
  1337. grepping of make output. Prefer `cat' over `echo' to append
  1338. to configure.in. Quote literal dots in grep regexps. Prefer
  1339. `grep -c ...' over `grep ... | wc -l'. Make grepping of
  1340. automake stderr slightly stricter. Add trailing `:' command.
  1341. * tests/dejagnu3.test: Prefer `cat' over `echo' to append to
  1342. configure.in. Check stderr of expected-to-fail "make" call.
  1343. Remove extra blank lines from Makefile.am.
  1344. * tests/dejagnu4.test: Prefer `cat' over `echo' to append to
  1345. configure.in. Prefer `mv -f' over plain `mv' when the target
  1346. file already exists. Avoid extra mkdir calls by creating more
  1347. directories at once. Better use of blank lines. Check that
  1348. the `*.log' and `*.sum' files are created by runtest also when
  1349. "make check" fails.
  1350. * tests/dejagnu7.test: Prefer `cat' over `echo' to append to
  1351. configure.in. Better use of blank lines. Add a trailing `:'
  1352. command.
  1353. * tests/dejagnu6.test: Likewise, and give the dejagnu test a
  1354. more descriptive name.
  1355. * tests/dejagnu5.test: Likewise. Also, simply define package
  1356. name to `$me' rather than using a non-obvious sed script to
  1357. extract it from `AC_INIT', and write the Makefile.am with only
  1358. one command.
  1359. * tests/Makefile.am (TESTS): Updated.
  1360. 2011-10-21 Peter Rosin <peda@lysator.liu.se>
  1361. * THANKS: Fix whitespace issue.
  1362. 2011-10-25 Stefano Lattarini <stefano.lattarini@gmail.com>
  1363. tests: fix spurious failures due to missing 'yywrap()' function
  1364. The AC_PROG_LEX Autoconf macro does not diagnose a failure to find
  1365. the "lex library" expected to provide a `yywrap' function (function
  1366. which is required to link most lex-generated programs). On the
  1367. contrary, when all the link attempts (i.e., with `-ll' and `-lfl')
  1368. fail, configure declares that no lex library is needed, and simply
  1369. proceeds with the configuration process -- only for the build to
  1370. possibly fail later, at make time.
  1371. This behaviour is intended; the Autoconf manual reads:
  1372. ``You are encouraged to use Flex in your sources, since it is
  1373. both more pleasant to use than plain Lex and the C source it
  1374. produces is portable. In order to ensure portability, however,
  1375. you must either provide a function `yywrap' or, if you don't use
  1376. it (e.g., your scanner has no `#include'-like feature), simply
  1377. include a `%noyywrap' statement in the scanner's source.''
  1378. This AC_PROG_LEX behaviour is causing some spurious failures of
  1379. the Automake testsuite in environments which lack a proper library
  1380. providing `yywrap' (this happens for example on Fedora-based
  1381. systems). The proper workaround is to simply provide a fall-back
  1382. implementation of `yywrap' in our lexers.
  1383. See also partially-overlapping commit `v1.11-871-geb147a1' (from
  1384. the 'testsuite-work' branch), which was motivated by similar
  1385. spurious failures experienced when cross-compiling.
  1386. Reported by Jim Meyering:
  1387. <http://lists.gnu.org/archive/html/automake-patches/2011-10/msg00092.html>
  1388. * tests/cond35.test: Provide a dummy `yywrap' function.
  1389. * tests/lex3.test: Likewise.
  1390. * tests/lexvpath.test: Likewise.
  1391. * tests/silent-lex-generic.test: Likewise.
  1392. * tests/silent-lex-gcc.test: Likewise.
  1393. 2011-10-21 Stefano Lattarini <stefano.lattarini@gmail.com>
  1394. tests: more faithful 'installcheck' support in few tests
  1395. * tests/test-driver-acsubst.test: Use the `$am_scriptdir'
  1396. variable instead of `$testsrcdir/../lib', to test more
  1397. faithfully under "make installcheck".
  1398. * tests/test-driver-cond.test: Likewise.
  1399. * tests/dist-auxfile.test: Likewise, and add one more use
  1400. of `fatal_' to report hard errors.
  1401. * tests/tests/dist-auxdir-many-subdirs.test: Likewise.
  1402. 2011-10-21 Stefano Lattarini <stefano.lattarini@gmail.com>
  1403. tests: remove redundant settings of `errexit' shell flag
  1404. * tests/aclocal-path-install-serial.test: Do not set the
  1405. `errexit' shell flag, as it is already set by `tests/defs'.
  1406. * tests/aclocal-path-install.test: Likewise.
  1407. * tests/aclocal-path-nonexistent.test: Likewise.
  1408. * tests/aclocal-path-precedence.test: Likewise.
  1409. * tests/aclocal-path.test: Likewise.
  1410. * tests/dist-auxfile-2.test: Likewise.
  1411. * tests/dist-auxfile.test: Likewise.
  1412. * tests/distcheck-pr9579.test: Likewise.
  1413. * tests/javadir-undefined.test: Likewise.
  1414. * tests/subpkg-yacc.test: Likewise.
  1415. * tests/test-extensions-cond.test: Likewise.
  1416. * tests/test-extensions.test: Likewise.
  1417. * tests/uninstall-fail.test: Likewise.
  1418. * tests/uninstall-pr9578.test: Likewise.
  1419. * tests/distcheck-override-infodir.test: Likewise. Also,
  1420. fix typo in heading comments since we are at it.
  1421. 2011-10-20 Stefano Lattarini <stefano.lattarini@gmail.com>
  1422. fixup: add forgotten test scripts to $(TESTS)
  1423. * tests/list-of-tests.mk: Add various test scripts that are in
  1424. the git repository but weren't correctly listed in $(TESTS).
  1425. The inconsistency had been caused by botched/incomplete merges,
  1426. and revealed by the "maintainer-check-list-of-tests" target.
  1427. 2011-10-18 Stefano Lattarini <stefano.lattarini@gmail.com>
  1428. tests: fix spurious failure with FreeBSD make and Yacc in VPATH
  1429. * tests/subpkg.test: Some cosmetic adjustments. Move the tests
  1430. checking that $(YLWRAP) is defined and installed properly when
  1431. ylwrap is in a default auxdir found in a parent package ...
  1432. * tests/subpkg-yacc.test: ... into this new test, which carefully
  1433. avoids to trigger the known bug#7884 (combo FreeBSD make plus Yacc
  1434. plus VPATH build).
  1435. * tests/Makefile.am (TESTS): Update.
  1436. 2011-10-18 Stefano Lattarini <stefano.lattarini@gmail.com>
  1437. tests: avoid spurious failure in 'parallel-tests3.test'
  1438. This fixes automake bug#8788.
  1439. * tests/parallel-tests3.test: To ensure that the serial run of
  1440. the dummy testsuite is still ongoing when the parallel run has
  1441. terminated, use `kill -0', not a bare `kill'. This will prevent
  1442. a testsuite crash on NetBSD 5.1, and a testsuite hang on FreeBSD
  1443. 8.2. Also, since we are at it, try harder to avoid possible
  1444. hangs of the script in other unusual situations.
  1445. 2011-10-20 Stefano Lattarini <stefano.lattarini@gmail.com>
  1446. tests: fix spurious failures with "chatty" make implementations
  1447. * tests/distcheck-missing-m4.test: On failure, some make
  1448. implementations (such as Solaris make) print the whole failed
  1449. recipe on standard output. This was causing a spurious failure
  1450. in the checks grepping the output from make. Work around this.
  1451. * tests/distcheck-outdated-m4.test: Likewise.
  1452. 2011-10-20 Stefano Lattarini <stefano.lattarini@gmail.com>
  1453. tests: fix spurious failure on fast machines
  1454. * tests/aclocal-path-precedence.test: Also remove the `configure'
  1455. script between different test runs, to ensure it is always remade
  1456. by autoconf. Add proper explicative comments.
  1457. 2011-10-20 Stefano Lattarini <stefano.lattarini@gmail.com>
  1458. tests: avoid spurious failure of 'uninstall-fail.test' on Solaris
  1459. * tests/uninstall-fail.test: All the Solaris 10 shells (/bin/sh,
  1460. /bin/ksh, and /usr/xpg4/bin/sh), upon failing to chdir to a
  1461. directory with the `cd' builtin, print a message like:
  1462. "sh: /root: permission denied"
  1463. which doesn't report the `cd' builtin anywhere. Relax the grepping
  1464. of the error message accordingly.
  1465. 2011-10-20 Jim Meyering <meyering@redhat.com>
  1466. tests: fix aclocal-print-acdir.test
  1467. * tests/aclocal-print-acdir.test: Adjust to pass.
  1468. 2011-10-19 Stefano Lattarini <stefano.lattarini@gmail.com>
  1469. tests: avoid spurious failure of 'uninstall-fail.test' on Cygwin
  1470. * tests/uninstall-fail.test: Be sure to really skip this test
  1471. on systems that allows files to be removed from unwritable
  1472. directories. Motivated by a spurious failure on Cygwin 1.5.
  1473. 2011-10-17 Stefano Lattarini <stefano.lattarini@gmail.com>
  1474. tests: fix spurious failure with autoconf 2.62
  1475. * tests/aclocal-path-precedence.test: Rewrite configure.in,
  1476. rather than appending to it, to avoid spurious failures (at
  1477. least with autoconf 2.62) due to repeated calls to AC_INIT.
  1478. Also, add package name and version arguments to AC_INIT, to
  1479. avoid spurious errors from automake.
  1480. 2011-10-16 Stefano Lattarini <stefano.lattarini@gmail.com>
  1481. docs: avoid using colon character inside arguments of @pxref
  1482. Fixes automake bug#9753
  1483. * doc/automake.texi (VPATH Builds): Avoid using colon character
  1484. `:' inside arguments of @pxref, as this can cause problems in
  1485. the generated `.info' files, and such an usage will be explicitly
  1486. forbidden by future texinfo documentation.
  1487. * THANKS: Update.
  1488. Reported by Дилян Палаузов.
  1489. 2011-10-17 Stefano Lattarini <stefano.lattarini@gmail.com>
  1490. refactor: improve signature of 'check_directory' sub in automake
  1491. * automake.in (check_directory): Take the relative directory
  1492. the directory to be checked is expected to be found into as
  1493. an optional parameter, rather than reading it from the global
  1494. variable `$relative_dir'.
  1495. (scan_autoconf_traces, check_directories_in_var): Adjust.
  1496. 2011-10-17 Stefano Lattarini <stefano.lattarini@gmail.com>
  1497. cosmetics: remove obsolete comment
  1498. * automake.in (push_required_file): Remove "FIXME" comment stating
  1499. that the special handling of `$config_aux_dir' breaks threaded
  1500. automake: this is not true anymore after the recent commits (see
  1501. in particular commit `v1.11-1225-gf672944').
  1502. 2011-10-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  1503. tests: fix spurious failure with Solaris /bin/sh
  1504. * tests/dist-auxfile.test: Don't use redirected `:' in a loop,
  1505. it hits a bug in Solaris 10 /bin/sh.
  1506. 2011-10-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  1507. threaded-am: better serialization for required config files
  1508. With this change, we make serialization/de-serialization of
  1509. required config files installs more granular, and in the process
  1510. fix the bug introduced by commit `v1.11-1219-g326ecba'.
  1511. * automake.in ($required_conf_file_queue): Move its declaration
  1512. earlier.
  1513. (require_file_internal): Add a new argument telling whether the
  1514. function should act immediately or queue its action for the master
  1515. thread to handle.
  1516. (queue_required_conf_file): Renamed ...
  1517. (queue_required_file_check_or_copy): ... to this.
  1518. (require_queued_conf_file): Renamed ...
  1519. (require_queued_file_check_or_copy): ... to this, and make it call
  1520. `required_file_check_or_copy' instead of `require_file_internal'.
  1521. (require_conf_file, handle_makefiles_threaded): Adjust and simplify
  1522. accordingly.
  1523. * tests/Makefile.am (XFAIL_TESTS): Remove `parallel-am.test'.
  1524. 2011-10-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  1525. automake: refactor, break up 'require_file_internal'
  1526. This refactoring is only required in view of future changes.
  1527. * automake.in (require_file_internal): Move the guts of this
  1528. function ...
  1529. (required_file_check_or_copy): ... into this new function. This
  1530. ensures that calls to `push_required_file' and code that copies
  1531. required files are placed in separate functions; this will be
  1532. very useful for reorganizing de-serialization of file installs
  1533. in future changes.
  1534. 2011-10-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  1535. dist: separate auxiliary file instantiation from DIST_COMMON update
  1536. This change simplifies the automake internals dealing with the
  1537. checking, copying and distributing of required auxiliary files.
  1538. With this change, a required auxiliary file is *unconditionally*
  1539. added to the contents of the DIST_COMMON variable in the generated
  1540. Makefile.in, before checking whether it exists, or trying to copy
  1541. it (if `--add-missing' is in use). This shouldn't be a problem,
  1542. since if the checking or copying of the file fails, automake will
  1543. bail out, the Makefile.in won't be created, and thus its content
  1544. will not matter. OK, this is not completely true when threaded
  1545. automake is in use, but then, such a situation was also possible
  1546. before this patch, so no regression here, which is enough for us.
  1547. This change is the first of a series of steps aimed at fixing
  1548. the regression introduced in threaded automake usage by commit
  1549. `v1.11-1219-g326ecba'.
  1550. * automake.in (require_file_internal): Add the required file to
  1551. DIST_COMMON unconditionally.
  1552. * tests/missing-auxfile-stops-makefiles-creation.test: New test.
  1553. * tests/Makefile.am (TESTS): Add it.
  1554. 2011-10-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  1555. refactor: rename a subroutine to a more proper name
  1556. * automake.in (maybe_push_require_file): Renamed ...
  1557. (push_required_file): ... to this.
  1558. All callers adjusted.
  1559. 2011-10-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  1560. dist: truly always distribute files in AC_REQUIRE_AUX_FILE
  1561. This change fixes automake bug#9651.
  1562. * automake.in (handle_dist): Files whose distribution is required
  1563. by configure.ac are now correctly distributed even if the build-aux
  1564. directory coincides with the top-level directory.
  1565. * tests/Makefile.am (XFAIL_TESTS): Remove `dist-auxfile.test'.
  1566. * NEWS: Update.
  1567. 2011-10-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  1568. dist: simplify automake code accordingly to the previous changes
  1569. After the previous change `v1.11-1219-g326ecba', every Makefile.am
  1570. requiring a file in the "config auxdir" will cause it to be listed
  1571. in the DIST_COMMON variable of the corresponding generated
  1572. Makefile.in, not only of the top-level Makefile.in. Thus we don't
  1573. need to worry anymore about trying to distribute files in the
  1574. config auxdir from the top-level Makefile or the Makefile in
  1575. config auxdir (if any). This allows us to carry out some useful
  1576. simplifications in the automake script.
  1577. This will however cause some changes in the generated Makefile;
  1578. for example, if the `PROGRAMS' primary is used only in a subdir
  1579. Makefile.am, the `depcomp' script will be distributed only by
  1580. `subdir/Makefile', not by the top-level Makefile. This change
  1581. can be seen as an internal detail though, and definitely warranted
  1582. by the nice simplifications the current commit provides.
  1583. * automake.in ($automake_will_process_aux_dir): Variable removed.
  1584. (scan_autoconf_files): Adjust and simplify.
  1585. (handle_makefiles_threaded): Likewise.
  1586. (get_number_of_threads): Likewise.
  1587. (require_file_internal): Likewise.
  1588. (maybe_push_required_file): Its return value is not used anymore,
  1589. so return nothing. Add special handling for distributed files from
  1590. `$config_libobj_dir'. Also, catch "this can't happen" situations,
  1591. and abort accordingly. Fix function description to better fit its
  1592. new role.
  1593. * tests/libobj19.test: Extend to also check situations where the
  1594. Makefile.am using $(LIBOBJS) is not the top-level one.
  1595. * tests/distcom6.test: Delete, merged into ...
  1596. * tests/distcom2.test: ... this test, which has been update to
  1597. account for the changed automake semantics.
  1598. * tests/Makefile.am (TESTS): Update.
  1599. * NEWS: Update.
  1600. 2011-10-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  1601. dist: auxiliary files can be distributed from subdir Makefiles
  1602. With this change, we make it possible for a subdir Makefile.am
  1603. to distribute files in the config auxdir; while this means that
  1604. some files might be copied multiple times, it simplify some logic
  1605. in the automake script, and fix at least one important bug. In
  1606. fact, before this change, the auxiliary script `test-driver' was
  1607. not being distributed as expected when TESTS was defined only in
  1608. a subdir Makefile (which is a pretty common setup indeed). Now
  1609. this does not happen anymore: so the present change fixes automake
  1610. bug#9546.
  1611. Another welcome collateral effect is that `dist-auxfile-2.test'
  1612. now passes.
  1613. OTOH, the present changes *breaks threaded automake*. The reason
  1614. is that automake needs to serialize file installations spawned
  1615. by `--add-missing' (this isn't for cosmetic reasons, but is
  1616. really needed to avoid possible race conditions and botched output
  1617. files). Currently the code that installs required files is
  1618. intertwined with the code that declares the DIST_COMMON variables;
  1619. so, upon de-serialization, the definition of DIST_COMMON might get
  1620. emitted in the wrong Makefile.in.
  1621. Some follow-up refactoring in automake will soon take care of
  1622. remedying this situation. For the moment, we just declare some
  1623. "parallel-am" tests as xfailing.
  1624. * automake.in (maybe_push_required_file): Add ad-hoc handling for
  1625. the case where the directory part of the required file is different
  1626. from the subdir where the current Makefile.am resides, but is equal
  1627. to the "config-aux directory" ($config_auxdir). This is needed to
  1628. allow a construct in a non-top-level Makefile.am to require a file
  1629. in the config-aux directory.
  1630. * tests/test-driver-is-distributed.test: Extend and adjust. This
  1631. test now passes.
  1632. * tests/java-compile-run-nested.test: Call automake with the `-a'
  1633. option to ensure that the `test-driver' auxiliary script gets
  1634. correctly installed. This test now passes.
  1635. * tests/distcom-subdir.test: New test.
  1636. * tests/dist-readonly.test: Likewise.
  1637. * tests/dist-repeated.test: Likewise.
  1638. * tests/dist-auxdir-many-subdirs.test: Likewise.
  1639. * tests/distcom7.test: Removed, it's obsolete now.
  1640. * tests/Makefile.am (TESTS, XFAIL_TESTS): Update.
  1641. 2011-10-11 Stefano Lattarini <stefano.lattarini@gmail.com>
  1642. coverage: conditional contents in LOG_DRIVER variables
  1643. * tests/test-driver-cond.test: New test.
  1644. * tests/Makefile.am (TESTS): Add it.
  1645. 2011-10-11 Stefano Lattarini <stefano.lattarini@gmail.com>
  1646. coverage: LOG_DRIVER variables can be defined through AC_SUBST
  1647. * tests/test-driver-acsubst.test: New test.
  1648. * tests/Makefile.am (TESTS): Add it.
  1649. 2011-10-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  1650. parallel-tests: warn on conditional TEST_EXTENSIONS definition
  1651. Before this change, automake would have still bailed out, but
  1652. with a confusing error message (about an invalid redefinition
  1653. of TEST_EXTENSIONS).
  1654. * automake.in (handle_tests): Warn explicitly if TEST_EXTENSIONS
  1655. has conditional contents.
  1656. * tests/test-extensions-con.test: New test.
  1657. * tests/Makefile.am (TESTS): Add it.
  1658. * NEWS: Update.
  1659. 2011-10-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  1660. parallel-tests: don't allow @substitutions@ in TEST_EXTENSIONS
  1661. Even after the last commit `v1.11-476-g90bea64', the checks
  1662. performed by automake on entries in $(TEST_EXTENSIONS) tried to
  1663. allow for @substitited@ stuff. This however ends up allowing
  1664. quite brittle setups, which, most importantly, are of no real
  1665. practical usefulness anyway. So it's better to just disallow
  1666. @substitutions@ in TEST_EXTENSIONS altogether, offering a clear
  1667. error message, instead of risking weird bugs and unexpected
  1668. behaviors in the generated Makefile.in.
  1669. * automake.in ($TEST_EXTENSION_PATTERN): Turned from a regular
  1670. expression ...
  1671. (is_valid_test_extension): ... into this subroutine. Don't allow
  1672. generic @substitutions@ anymore (possibly making an exception for
  1673. `@EXEEXT@' under the proper circumstances).
  1674. * tests/test-extensions.test: Adjust and extend. This test does
  1675. not cause any internal error in automake anymore now.
  1676. 2011-10-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  1677. tests: fix spurious failure in 'insthook.test'
  1678. * tests/insthook.test (Makefile.am): Add a proper `uninstall-hook'
  1679. target to remove the symlink created by the `install-exec-hook'
  1680. target; this prevents "make distcheck" from failing spuriously.
  1681. Since we are at it, delete an extra blank line, and add a trailing
  1682. `:' command.
  1683. 2011-10-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  1684. maintcheck: fix spurious failure
  1685. * lib/am/distdir.am: Use `$(infodir)', not `${infodir}', to avoid
  1686. complaints from the `sc_no_brace_variable_expansions' maintainer
  1687. check.
  1688. 2011-10-18 Stefano Lattarini <stefano.lattarini@gmail.com>
  1689. * tests/yacc-dist-nobuild.test: Add reference to relevant bug#7884.
  1690. 2011-10-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  1691. tests: fix spurious error in 'test-extensions.test'
  1692. * tests/test-extensions.test: Call automake with the option
  1693. `--add-missing', to ensure the required script `test-driver'
  1694. gets installed. Note that the test still fails due to an
  1695. internal error in automake, though.
  1696. 2011-10-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  1697. tests: avoid few useless uses of the `-e' make option
  1698. * tests/python12.test: Using `make -e' is not required to override
  1699. the DESTDIR variable, since this variable shouldn't be defined in
  1700. any automake-generated Makefile.in file.
  1701. * tests/man2.test: Likewise.
  1702. * tests/man5.test: Likewise.
  1703. 2011-10-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  1704. fix: make a test script executable
  1705. * tests/nobase-nodist.test: Make executable.
  1706. 2011-10-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  1707. coverage: expose automake bug#9651
  1708. * tests/dist-auxfile.test: New test, xfailing.
  1709. * tests/dist-auxfile-2.test: Likewise.
  1710. * tests/Makefile.am (TESTS, XFAIL_TESTS): Add them.
  1711. 2011-10-01 Stefano Lattarini <stefano.lattarini@gmail.com>
  1712. parallel-tests: automake error our on invalid TEST_EXTENSIONS
  1713. This change fixes automake bug#9400.
  1714. * automake.in (handle_tests): Bail out if a suffix specified in
  1715. TEST_EXTENSIONS would produce an invalid `xxx_LOG_COMPILER'
  1716. variable or an invalid suffix rule. Before this change, automake
  1717. would have issued a confusing error messages (about invalid or
  1718. non-POSIX variables being defined), and in some situations would
  1719. have even produced a broken `Makefile.in' file.
  1720. ($TEST_EXTENSION_PATTERN): New helper variable.
  1721. * doc/automake.texi (Simple Tests using parallel-tests): Document
  1722. the limitations on TEST_EXTENSIONS explicitly.
  1723. * NEWS: Update.
  1724. * tests/test-extensions.test: New test.
  1725. * tests/Makefile.am (TESTS): Update.
  1726. 2011-09-28 Stefano Lattarini <stefano.lattarini@gmail.com>
  1727. docs: don't suggest installing `.m4' files in hard-coded location
  1728. This change fixes automake bug#7988.
  1729. * doc/automake.texi (aclocal Options): State that the use of
  1730. the `--print-ac-dir' option to determine the directory where
  1731. third-party packages can install their `.m4' files is discouraged
  1732. now.
  1733. (Extending aclocal): Suggest telling the user about ACLOCAL_PATH.
  1734. * THANKS: Update.
  1735. Report by Peter Johansson.
  1736. 2011-09-26 Stefano Lattarini <stefano.lattarini@gmail.com>
  1737. distuninstallcheck: fail also when only one file is left installed
  1738. This change fixes automake bug#9579.
  1739. * lib/am/distdir.am (distuninstallcheck): Be stricter in ignoring
  1740. a potential `dir' file created by install-info and left installed.
  1741. Also, be more careful about "this can't happen" kind of errors.
  1742. (am__distuninstallcheck_listfiles): New internal helper macro.
  1743. * tests/distcheck-pr9579.test: New test.
  1744. * tests/distcheck-override-infodir.test: Likewise.
  1745. * tests/Makefile.am (TESTS): Add them.
  1746. * NEWS, THANKS: Update.
  1747. Report by Nick Bowler.
  1748. 2011-09-28 Stefano Lattarini <stefano.lattarini@gmail.com>
  1749. tap/awk: improve comments about Korn shell signal handling issues
  1750. * lib/tap-driver.sh: Link an Austin Group discussion about how
  1751. shells are allowed, and even encouraged, to set the special
  1752. variable `$?' to values greater than 256 to report termination
  1753. of a child by a signal. Improve and extend comments about our
  1754. workarounds for unusual korn shell signals' propagation.
  1755. Thanks to Eric Blake for the pointers.
  1756. 2011-09-28 Stefano Lattarini <stefano.lattarini@gmail.com>
  1757. maintcheck: fix usage of `cd' instead of `$(am__cd)'
  1758. * lib/am/inst-vars.am (am__uninstall_files_from_dir): Use
  1759. `$(am__cd)', not plain `cd'.
  1760. 2011-09-28 Stefano Lattarini <stefano.lattarini@gmail.com>
  1761. tap/awk: account for unusual korn shell signal handling behaviour
  1762. This change has been motivated by a testsuite failure on Debian
  1763. with the AT&T Korn Shell version 93u-1.
  1764. * lib/tap-driver.sh: Temporarily ignore some common signals when
  1765. waiting for the test command to complete, to avoid premature exit
  1766. in Korn shells that propagate to themselves signals that have
  1767. killed a child process.
  1768. See also related commit `v1.11-1342-g6321ad3'.
  1769. 2011-09-28 Stefano Lattarini <stefano.lattarini@gmail.com>
  1770. tap/awk: handle exit statuses > 256 (seen on few korn shells)
  1771. Some Korn shells, when a child process die due to signal number
  1772. n, can leave in $? an exit status of 256+n instead of the more
  1773. standard 128+n. Apparently, both behaviours are allowed by
  1774. POSIX, so be prepared to handle them both.
  1775. This change has been motivated by a testsuite failure on Debian
  1776. with the AT&T Korn Shell version 93u-1.
  1777. * lib/tap-driver.sh (get_test_exit_message): Handle the described
  1778. Korn Shell behaviour too.
  1779. ($scriptversion): Update.
  1780. 2011-09-28 Stefano Lattarini <stefano.lattarini@gmail.com>
  1781. tests: remove redundant workaround for Solaris /bin/sh
  1782. After previous commit `v1.11-1424-g27a399a', some workarounds for
  1783. Solaris 10 /bin/sh are no more required, and in fact they have
  1784. started causing XPASS results on Solaris.
  1785. * tests/tap-signal.tap: Remove unneeded workarounds for Solaris 10
  1786. /bin/sh. Some related minor code reorganizations.
  1787. 2011-09-24 Stefano Lattarini <stefano.lattarini@gmail.com>
  1788. uninstall: "make uninstall" before "make install" works
  1789. This change fixes automake bug#9578.
  1790. * lib/am/inst-vars.am (am__uninstall_files_from_dir): New internal
  1791. macro, that defines a shell code fragment to uninstall files from
  1792. a given directory.
  1793. * lib/am/data.am (uninstall-%DIR%%PRIMARY%): Use it, to reduce code
  1794. duplication and improve consistency and correctness.
  1795. * lib/am/libs.am (uninstall-%DIR%LIBRARIES): Likewise.
  1796. * lib/am/lisp.am (uninstall-%DIR%LISP): Likewise.
  1797. * lib/am/mans.am (uninstall-man%SECTION%): Likewise.
  1798. * lib/am/python.am (uninstall-%DIR%LIBRARIES): Likewise.
  1799. * lib/am/scripts.am (uninstall-%DIR%SCRIPTS): Likewise.
  1800. * tests/uninstall-pr9578.test: New test.
  1801. * tests/uninstall-fail.test: New test.
  1802. * tests/Makefile.am (TESTS): Add them.
  1803. * NEWS, THANKS: Update.
  1804. Report by Nick Bowler.
  1805. 2011-09-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  1806. tests: fix tests on aclocal search path precedences
  1807. * tests/aclocal-path-precedence.test: Call `$ACLOCAL' with the
  1808. proper overridden system acdir.
  1809. 2011-09-28 Stefano Lattarini <stefano.lattarini@gmail.com>
  1810. tests: fix spurious failures in tests on TAP + signals
  1811. * tests/tap-signal.tap: Write the dummy test scripts as perl
  1812. scripts, not as shell scripts, to work around unportabilities
  1813. in the handling of signals. In fact, even with bash, the older
  1814. script were unable to properly deliver a SIGQUIT to themselves
  1815. consistently.
  1816. 2011-09-26 Stefano Lattarini <stefano.lattarini@gmail.com>
  1817. tests: fix spurious failure in test on ACLOCAL_PATH precedences
  1818. * tests/aclocal-path-precedence.test: Do not merely append to
  1819. `configure.in', it should be created from scratch. Pass package
  1820. name and version to AC_INIT as arguments, otherwise autoconf will
  1821. complain.
  1822. 2011-09-20 Stefano Lattarini <stefano.lattarini@gmail.com>
  1823. docs: remove mention of deprecated option `--acdir'
  1824. * doc/automake.texi (aclocal Options): Remove mention of
  1825. deprecated `--acdir' option.
  1826. 2011-09-20 Stefano Lattarini <stefano.lattarini@gmail.com>
  1827. * NEWS: Cleanup after botched merges.
  1828. 2011-09-20 Stefano Lattarini <stefano.lattarini@gmail.com>
  1829. * NEWS: Fix typo.
  1830. 2011-09-20 Stefano Lattarini <stefano.lattarini@gmail.com>
  1831. docs: document planned precedence changes in aclocal search path
  1832. * doc/automake.texi (Macro Search Path): Explicitly state that the
  1833. lookup order for extra directories of `.m4' files will be changed
  1834. in the next major release.
  1835. * NEWS: Likewise.
  1836. 2011-09-19 Paolo Bonzini <bonzini@gnu.org>
  1837. Stefano Lattarini <stefano.lattarini@gmail.com>
  1838. aclocal: handle ACLOCAL_PATH environment variable
  1839. * aclocal.in (parse_ACLOCAL_PATH): New function, parse ACLOCAL_PATH
  1840. as a colon-separated list of directories to be included in the
  1841. search path.
  1842. * doc/automake.texi (Macro Search Path): Document new behavior and
  1843. the precedence rules for various elements of the search path.
  1844. * tests/aclocal-path.test: New test.
  1845. * tests/aclocal-path-install.test: Likewise.
  1846. * tests/aclocal-path-install-serial.test: Likewise.
  1847. * tests/aclocal-path-precedence.test: Likewise.
  1848. * tests/aclocal-path-nonexistent.test: Likewise.
  1849. * tests/Makefile.am (TESTS): Add them.
  1850. * NEWS: Update.
  1851. * tests/distcheck-missing-m4.test: Extend by also checking
  1852. interactions with ACLOCAL_PATH.
  1853. * tests/distcheck-outdated-m4.test: Likewise, and fix a couple
  1854. of botched comments since we are at it.
  1855. 2011-09-19 Stefano Lattarini <stefano.lattarini@gmail.com>
  1856. tests: fix spurious failure in 'primary-prefix-valid-couples.test'
  1857. * tests/primary-prefix-valid-couples.test: After commit
  1858. v1.11-464-gc9dfc36, `java_JAVA' is not a valid prefix/primary
  1859. combination by default anymore: one has to explicitly define
  1860. $(javadir) to make it so. So just drop `java_JAVA' from our
  1861. Makefile.am Also, since we are at it, ...
  1862. (configure.in): ... remove AM_PROG_GCJ from here, as it's not
  1863. really required.
  1864. 2011-09-19 Stefano Lattarini <stefano.lattarini@gmail.com>
  1865. docs: deprecate JAVA primary
  1866. * doc/automake.texi (Java): Deprecate the JAVA primary, stating
  1867. that it will become obsolete in automake 1.12 and probably removed
  1868. altogether in automake 1.13. Reflect this in the section title,
  1869. by appending the string "(deprecated feature)".
  1870. (@menu, @detailmenu): Update.
  1871. (Java Support with gcj): The cross-referenced support for bytecode
  1872. compilation with the JAVA primary is rudimentary and deprecated.
  1873. State that explicitly.
  1874. 2011-09-19 Stefano Lattarini <stefano.lattarini@gmail.com>
  1875. docs: clearer distinction between `.java' with javac and with gcj
  1876. * doc/automake.texi (Java support): Rename this node ...
  1877. (Java support with gcj): ... to this, and change its title from
  1878. "Compiling Java sources" to "Compiling Java sources using gcj".
  1879. (@detailmenu, @menu, @cindex): Update and make more precise.
  1880. (Java): Change the title of this node from simply "Java" to
  1881. "Java bytecode compilation".
  1882. (@detailmenu, @menu, @cindex): Update and make more precise.
  1883. 2011-09-18 Stefano Lattarini <stefano.lattarini@gmail.com>
  1884. java: complain if java_JAVA is used but $(javadir) is undefined
  1885. Fixes automake bug#8461.
  1886. * automake.in (handle_java): Remove inappropriate "java" argument
  1887. from the calls to `&am_install_var' and `&am_primary_prefixes'.
  1888. * tests/instdir-java.test (Makefile.am): Define `$(javadir)'.
  1889. * tests/javadir-undefined.test: New test.
  1890. * tests/Makefile.am (TESTS): Add it.
  1891. * NEWS: Update.
  1892. 2011-09-18 Stefano Lattarini <stefano.lattarini@gmail.com>
  1893. parallel-tests: expose automake bug#9546
  1894. * tests/test-driver-is-distributed.test: New test.
  1895. * tests/Makefile.am (TESTS, XFAIL_TESTS): Add it.
  1896. 2011-09-18 Stefano Lattarini <stefano.lattarini@gmail.com>
  1897. py-compile tests: more faithful 'installcheck' support
  1898. * tests/py-compile-basedir.test: Use the `$am_scriptsdir' variable
  1899. instead of `$testsrcdir/../lib', to test more faithfully under
  1900. "make installcheck". More uses of the `fatal_' subroutine to
  1901. diagnose hard errors.
  1902. * tests/py-compile-basic.test: Likewise.
  1903. * tests/py-compile-basic2.test: Likewise.
  1904. * tests/py-compile-destdir.test: Likewise.
  1905. * tests/py-compile-env.test: Likewise.
  1906. * tests/py-compile-option-terminate.test: Likewise.
  1907. * tests/py-compile-usage.test: Likewise.
  1908. 2011-09-18 Stefano Lattarini <stefano.lattarini@gmail.com>
  1909. tests: remove redundant settings of `errexit' shell flag
  1910. * tests/aclocal-acdir.test: Do not set the `errexit' shell
  1911. flag, as it is already set by `tests/defs'.
  1912. * tests/aclocal-print-acdir.test: Likewise.
  1913. * tests/distcheck-missing-m4.test: Likewise.
  1914. * tests/distcheck-outdated-m4.test: Likewise.
  1915. * tests/java-clean.test: Likewise.
  1916. * tests/java-compile-install.test: Likewise.
  1917. * tests/java-compile-run-flat.test: Likewise.
  1918. * tests/java-compile-run-nested.test: Likewise.
  1919. * tests/java-mix.test: Likewise.
  1920. * tests/java-no-duplicate.test: Likewise.
  1921. * tests/java-nobase.test: Likewise.
  1922. * tests/java-rebuild.test: Likewise.
  1923. * tests/java-sources.test: Likewise.
  1924. * tests/java-uninstall.test: Likewise.
  1925. * tests/javaflags.test: Likewise.
  1926. * tests/nobase-nodist.test: Likewise.
  1927. * tests/py-compile-basedir.test: Likewise.
  1928. * tests/py-compile-basic.test: Likewise.
  1929. * tests/py-compile-basic2.test: Likewise.
  1930. * tests/py-compile-destdir.test: Likewise.
  1931. * tests/py-compile-env.test: Likewise.
  1932. * tests/py-compile-option-terminate.test: Likewise.
  1933. * tests/py-compile-usage.test: Likewise. Since we are at it,
  1934. add an extra blank line, for clarity.
  1935. 2011-09-16 Stefano Lattarini <stefano.lattarini@gmail.com>
  1936. automake: remove special handling of `ANSI2KNR' make variable
  1937. * automake.in (define_configure_variable): Remove special-cased
  1938. handling of `ANSI2KNR' variable. Related minor simplifications.
  1939. 2011-09-18 Stefano Lattarini <stefano.lattarini@gmail.com>
  1940. coverage: test interactions of `nobase_' and `nodist_'
  1941. * tests/nobase-nodist.test: New test.
  1942. * tests/Makefile.am (TESTS): Add it.
  1943. 2011-09-18 Stefano Lattarini <stefano.lattarini@gmail.com>
  1944. java: fix various blunders in test 'java-mix.test'
  1945. * tests/java-mix.test: Add missing call to `set -e'. Fix inverted
  1946. semantics (`.java' files are expected *not* to be distributed by
  1947. default, not the other way round). Fix various typos in the name
  1948. of the `.java' files. Correct other minor blunders. Improve some
  1949. comments.
  1950. 2011-09-15 Stefano Lattarini <stefano.lattarini@gmail.com>
  1951. automake: remove code duplication in 'handle_tests'
  1952. * automake.in (handle_tests): Factor out some code dealing with
  1953. test extensions and rules for generation of `.log' files into ...
  1954. (handle_per_suffix_test): ... this new subroutine.
  1955. * tests/parallel-tests-exeext.test: New test.
  1956. * tests/Makefile.am (TESTS): Update.
  1957. 2011-09-13 Peter Rosin <peda@lysator.liu.se>
  1958. * tests/defs [$sh_errexit_works = yes]: Output 'SIGINT' for signal 2.
  1959. 2011-09-13 Stefano Lattarini <stefano.lattarini@gmail.com>
  1960. self tests: work around 'unset' spurious non-zero return value
  1961. * tests/self-check-exit.tap ($init): Unset the possibly already
  1962. unset variable `am_explicit_skips' when the `errexit' shell flag
  1963. is not yet active, for the benefit of shell that return a non-zero
  1964. status when unsetting an already-unset variable.
  1965. 2011-09-13 Stefano Lattarini <stefano.lattarini@gmail.com>
  1966. tests: an explicative comment on signal-related woes
  1967. * tests/self-check-exit.tap: Add pointer to a bug-autoconf
  1968. discussion explaining why this test needs to temporarily block
  1969. SIGINT.
  1970. 2011-09-13 Stefano Lattarini <stefano.lattarini@gmail.com>
  1971. tests: also trap SIGQUIT; other fixes
  1972. Some shells seems to just ignore SIGQUIT under some circumstances,
  1973. even when it is not blocked; however, if the signal it trapped,
  1974. the trap gets correctly executed.
  1975. * tests/defs [$sh_errexit_works = yes]: Also trap SIGQUIT. Add
  1976. extensive explanation of why we do so.
  1977. * tests/self-check-cleanup.tap: Improve and fix to ensure that an
  1978. earlier failure does not prevent the rest of the test to execute.
  1979. Problem revealed by a failure in `self-check-cleanup.tap'.
  1980. 2011-09-13 Stefano Lattarini <stefano.lattarini@gmail.com>
  1981. test defs: work around weird ksh behaviour w.r.t. signal handling
  1982. * tests/defs (is_blocked_signal): Use perl to determine whether a
  1983. signal is trapped, since trying to do it portably within the shell
  1984. means opening a nasty can of worms.
  1985. For more information and background, see:
  1986. <http://lists.gnu.org/archive/html/bug-autoconf/2011-09/msg00004.html>
  1987. <http://mail.opensolaris.org/pipermail/ksh93-integration-discuss/2009-February/004121.html>
  1988. <http://www.cons.org/cracauer/sigint.html>
  1989. 2011-09-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  1990. cosmetics: fix various typos and grammaros
  1991. * NEWS: Fix typos.
  1992. * tests/py-compile-basic.test: Likewise.
  1993. * tests/py-compile-basedir.test: Fix botched wording in comments.
  1994. * tests/py-compile-option-terminate.test: Fix typo and incomplete
  1995. comment.
  1996. Suggestions by Peter Rosin.
  1997. 2011-09-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  1998. tests: remove redundant line from a test script
  1999. * tests/test-log.test (fail.test): Remove extra `echo' command,
  2000. probably due to a past copy&paste blunder.
  2001. 2011-09-11 Stefano Lattarini <stefano.lattarini@gmail.com>
  2002. tests: convert another test to TAP
  2003. * tests/primary-prefix-invalid-couples.test: Renamed ...
  2004. * tests/primary-prefix-invalid-couples.tap: ... to this, and
  2005. converted to the use of the TAP protocols (this requires only
  2006. very minimal changes this time).
  2007. * tests/list-of-tests.mk: Update.
  2008. 2011-09-11 Stefano Lattarini <stefano.lattarini@gmail.com>
  2009. tests: fix spurious failure on fast machines
  2010. * tests/aclocal-acdir.test: Avoid spurious failures due to caching
  2011. issues, by cleaning the autom4te cache between all the aclocal
  2012. invocations, and by always calling autoconf with the `--force'
  2013. flag.
  2014. 2011-09-10 Stefano Lattarini <stefano.lattarini@gmail.com>
  2015. tests: minor optimizations/simplifications in some aclocal tests
  2016. * acloca11.test: Instead of running ./configure and then grepping
  2017. the file it has produced, directly grep configure. Add trailing
  2018. `:' command.
  2019. * acloca12.test: Likewise.
  2020. * acloca10.test: Likewise. Also, remove the autom4te caches
  2021. by hand, instead of sleeping to ensure they get outdated and
  2022. ignored.
  2023. * aclocal9.test: Likewise.
  2024. * acloca18.test: Likewise. Also, do not remove file `foo',
  2025. which is not being created anymore.
  2026. * acloca20.test: The test makes sense only if the system support
  2027. real symlinks, so skip it if this is not the case. This allows
  2028. for various simplifications.
  2029. 2011-09-10 Stefano Lattarini <stefano.lattarini@gmail.com>
  2030. prove: avoid weird signal-related bug
  2031. * tests/defs (trap): In the trap code dealing with SIGPIPE
  2032. signal, ignore further signals of the same kind.
  2033. See also Test::Harness issue [rt.cpan.org #70855], archived at
  2034. <https://rt.cpan.org/Ticket/Display.html?id=70855>
  2035. 2011-09-10 Stefano Lattarini <stefano.lattarini@gmail.com>
  2036. tests: allow use of `prove' to run automake testsuite
  2037. * tests/prove-runner: New helper script; mostly it wraps
  2038. our `*.test' test scripts to make them runnable by the
  2039. `prove' utility.
  2040. * tests/Makefile.am (EXTRA_DIST): Distribute it.
  2041. (PROVE, AM_PROVEFLAGS, AM_PROVECMD): New variables.
  2042. (prove, installprove): New targets, used run the automake
  2043. testsuite through the `prove' utility.
  2044. * tests/gen-testsuite-part: For any considered dependency,
  2045. generate a variables that groups all the tests depending on
  2046. it. This is especially useful for use in the new `prove'
  2047. and `installprove' targets, which cannot rely on make for
  2048. inter-test dependencies, and have to handle them "by hand".
  2049. 2011-09-10 Stefano Lattarini <stefano.lattarini@gmail.com>
  2050. tests defs: more namespace-safeness
  2051. ($using_tap): Renamed ...
  2052. ($am_using_tap): ... to this.
  2053. ($parallel_tests): Renamed ...
  2054. ($am_parallel_tests): ... to this.
  2055. ($test_prefer_config_shell): Renamed ...
  2056. ($am_test_prefer_config_shell): ... to this.
  2057. ($original_AUTOMAKE): Renamed ...
  2058. ($am_original_AUTOMAKE): ... to this.
  2059. ($original_ACLOCAL): Renamed ...
  2060. ($am_original_ACLOCAL): ... to this.
  2061. * tests/defs, tests/defs-static.in, tests/gen-testsuite-part,
  2062. tests/README, and all callers: Adjusted.
  2063. * tests/Makefile.am (AM_TESTS_ENVIRONMENT): Adjust, and rewrite
  2064. to make future adjustments easier.
  2065. * tests/defs (funcs_file_): Renamed ...
  2066. (am_funcs_file): ... to this.
  2067. * Makefile.am (sc_tests_obsolete_variables): New maintainer
  2068. check.
  2069. (syntax_check_rules): Add it.
  2070. 2011-09-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  2071. aclocal: better URL reference in error message
  2072. * aclocal.in (scan_file): In the error message about underquoted
  2073. definitions, reference the automake page at `www.gnu.org', not
  2074. at `sources.redhat.com'.
  2075. 2011-09-10 Stefano Lattarini <stefano.lattarini@gmail.com>
  2076. tests: avoid creating useless files in some test directories
  2077. * tests/aclocal.test: Define `$am_create_testdir' to "empty"
  2078. before sourcing ./defs, to avoid bringing in unused auxiliary
  2079. files. Related adjustments.
  2080. * tests/aclocal3.test: Likewise.
  2081. * tests/aclocal8.test: Likewise.
  2082. * tests/aclocal9.test: Likewise.
  2083. * tests/acloca10.test: Likewise.
  2084. * tests/acloca11.test: Likewise.
  2085. * tests/acloca12.test: Likewise.
  2086. * tests/acloca15.test: Likewise.
  2087. * tests/acloca16.test: Likewise.
  2088. * tests/acloca17.test: Likewise.
  2089. * tests/acloca18.test: Likewise.
  2090. * tests/acloca20.test: Likewise.
  2091. * tests/acloca21.test: Likewise.
  2092. * tests/acloca23.test: Likewise.
  2093. * tests/aclocal-print-acdir.test: Likewise.
  2094. * tests/ar-lib.test: Likewise.
  2095. * tests/compile.test: Likewise.
  2096. * tests/compile2.test: Likewise.
  2097. * tests/compile3.test: Likewise.
  2098. * tests/compile6.test: Likewise.
  2099. * tests/instsh2.test: Likewise.
  2100. * tests/instsh3.test: Likewise.
  2101. * tests/mdate5.test: Likewise.
  2102. * tests/mdate6.test: Likewise.
  2103. * tests/missing3.test: Likewise.
  2104. * tests/missing5.test: Likewise.
  2105. * tests/mkinst3.test: Likewise.
  2106. * tests/self-check-explicit-skips.test: Likewise.
  2107. * tests/self-check-report.test: Likewise.
  2108. * tests/self-check-sanity.test: Likewise.
  2109. * tests/tap-driver-stderr.test: Likewise.
  2110. 2011-09-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  2111. test defs: more environment cleanup
  2112. * tests/defs: Also unset the XFAIL_TESTS, and various
  2113. LOG_DRIVER, LOG_COMPILER variables (and corresponding
  2114. flags variable).
  2115. 2011-09-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  2116. tests: allow depmod.tap to only run a subset of its tests
  2117. * tests/depmod.tap: If command-line arguments are passed to the
  2118. tests, they are now taken as the list of test names for which the
  2119. checks are to be run.
  2120. 2011-09-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  2121. tests: allow instspc.tap to only run a subset of its tests
  2122. * tests/instspc.tap: If command-line arguments are passed to the
  2123. tests, they are now taken as the list of test names for which the
  2124. checks are to be run.
  2125. 2011-09-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  2126. coverage: distcheck-hook to catch missing/outdated *.m4 files
  2127. Related to automake bug#9037.
  2128. * tests/distcheck-missing-m4.test: New test.
  2129. * tests/distcheck-outdated-m4.test: Likewise.
  2130. * tests/distcheck-hook-m4.am: New data file, used by the new
  2131. tests.
  2132. * tests/Makefile.am (distcheck-m4-missing.log,
  2133. distcheck-m4-outdated.log): Depend on it.
  2134. (EXTRA_DIST): Distribute it.
  2135. (TESTS): Add the new tests.
  2136. 2011-09-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  2137. tests: more granularity in variables for tools overriding
  2138. Among the other things, this change makes it possible to use, at
  2139. the same time, an autoconf version in the automake testsuite and
  2140. another one in the automake build system; even more importantly, it
  2141. makes it possible to use, say, a non-GNU make implementation in the
  2142. test scripts, while at the same time using GNU make to drive the
  2143. execution of the automake's test suite.
  2144. * tests/defs-static.in (TEX, EGREP, FGREP, SHELL, PERL, MAKE,
  2145. AUTOCONF, AUTOM4TE, AUTORECONF, AUTOHEADER, AUTOUPDATE,
  2146. original_AUTOMAKE, original_ACLOCAL): Allow and prefer overriding
  2147. through corresponding `AM_TESTSUITE_..' variables; for example,
  2148. $GREP can now be overridden by an exported `$AM_TESTSUITE_GREP'
  2149. 2011-09-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  2150. testsuite: fix `skip_row_' subroutine in tap-functions.sh
  2151. * tests/tap-functions.sh (skip_row_): Use `seq_', not `seq', to
  2152. be portable to non-GNU systems.
  2153. Bug revealed by a testsuite error on Solaris.
  2154. 2011-09-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  2155. installcheck: support it in our own testsuite
  2156. * NEWS: Update.
  2157. * tests/defs-static.in ($am_running_installcheck): New variable.
  2158. Initialize it to a default of "no", and sanity-check its value.
  2159. ($am_datadir, $am_docdir, $am_automake_acdir, $am_system_acdir,
  2160. $am_bindir, $am_scriptdir, $am_pkgvdir): New variables,
  2161. initialized from AC_SUBST'ed values which are adaptively chosen
  2162. depending on whether the testsuite is running in "simple" mode
  2163. or in "installcheck" mode.
  2164. ($MISSING): Remove, it's not really required by the testsuite.
  2165. ($PATH): Update using `$am_bindir', not `$testbuilddir'.
  2166. * Makefile.am (installcheck-local): New target.
  2167. * lib/Automake/tests/Makefile.am (installcheck-local): New target.
  2168. (AM_TESTS_ENVIRONMENT, AM_PL_LOG_FLAGS): Adaptively choose the
  2169. `-I' flags for perl based on whether the tests are being run by
  2170. "make check" or "make installcheck".
  2171. * tests/Makefile.am (installcheck-local): New target.
  2172. (defs-static): Generate it at make time, not at configure time,
  2173. in order to correctly resolve all the indirections in the
  2174. AC_SUBST'd variables; done with the help of ...
  2175. (do_subst): ... this new macro.
  2176. (EXTRA_DIST): Explicitly distribute `defs-static.in'.
  2177. (CLEANFILES): Remove `defs-static'.
  2178. * configure.ac (AC_CONFIG_FILES): Remove `tests/defs-static'.
  2179. (AC_SUBST): Substitute also `automake_acdir', `system_acdir',
  2180. `scriptdir' and `amdir' to proper values.
  2181. * lib/Makefile.am (scriptdir): Don't explicitly define anymore.
  2182. * lib/am/Makefile.am (amdir): Likewise.
  2183. * m4/acdir/dirlist: Remove, it's not needed anymore. Instead
  2184. use ...
  2185. * m4/acdir/.placeholder: ... this file.
  2186. * m4/Makefile.am (EXTRA_DIST): Update.
  2187. (automake_acdir, system_acdir): Don't explicitly define anymore.
  2188. * tests/aclocal-print-acdir.test: Use new `$am_...dir' variables,
  2189. instead of hard-coding values with $testsrcdir and $testbuilddir,
  2190. to test more faithfully under "make installcheck".
  2191. * tests/amhello-binpkg.test: Likewise.
  2192. * tests/amhello-cflags.test: Likewise.
  2193. * tests/amhello-cross-compile.test: Likewise.
  2194. * tests/ansi2knr-no-more.test: Likewise.
  2195. * tests/autodist-stamp-vti.test: Likewise.
  2196. * tests/auxdir.test: Likewise.
  2197. * tests/check2.test: Likewise.
  2198. * tests/copy.test: Likewise.
  2199. * tests/multlib.test: Likewise.
  2200. * tests/obsolete.test: Likewise.
  2201. * tests/parallel-tests-interrupt.test: Likewise.
  2202. * tests/repeated-options.test: Likewise.
  2203. * tests/suffix5.test: Likewise.
  2204. * tests/tap-doc2.test: Likewise.
  2205. * tests/txinfo22.test: Likewise.
  2206. * tests/vtexi3.test: Likewise.
  2207. * tests/defs: Likewise. Also, print the values of `$using_tap'
  2208. and `$am_running_installcheck', to simplify debugging, and do
  2209. some related code movings and tweakings.
  2210. * tests/aclocal3.test: Update to avoid possible spurious failures
  2211. when running under "make installcheck".
  2212. * tests/warnings-unknown.test: Likewise.
  2213. * tests/location.test: Likewise, and improve debugging input since
  2214. we are at it.
  2215. * tests/acloca10.test: Adapt and tweak to work also during a
  2216. "make installcheck", and not to require a pre-populated `dirlist'
  2217. file.
  2218. * tests/acloca18.test: Likewise.
  2219. * tests/dirlist2.test: Likewise.
  2220. * tests/dirlist.test: Likewise, and remove an obsolete comment.
  2221. * tests/README: Update.
  2222. * tests/dirlist-abspath.test: New test.
  2223. * tests/list-of-tests.mk: Update.
  2224. 2011-09-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  2225. maintcheck: fix spurious failures
  2226. * tests/gen-testsuite-part (write_wrapper_script): More uses of
  2227. creative quoting in the generated tests, to avoid triggering
  2228. failures in the `sc_tests_Exit_not_exit' maintcheck.
  2229. * Makefile.am (sc_tests_tap_plan): It's OK for auto-generated
  2230. TAP tests that sources an hand-written one not to declare a TAP
  2231. plan: the sourced test will do so.
  2232. * tests/Makefile.am (checked_test_extensions): Don't define
  2233. anymore, the default value `$(TEST_EXTENSIONS)' is correct now.
  2234. (expected_list_of_tests): Don't define anymore, the default
  2235. value `$(TESTS)' is correct now.
  2236. 2011-09-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  2237. aclocal: more granularity in acdir overriding
  2238. Before this change, using the `--acdir' option caused aclocal to
  2239. redefine both the directory of automake-provided m4 macros and the
  2240. directory of third-party system-wide m4 macros. With this change,
  2241. we deprecate the `--acdir' aclocal option, and introduce two new
  2242. options `--automake-acdir' and `--system-acdir', to allow for more
  2243. granularity.
  2244. * aclocal.in (@automake_includes, @system_includes,
  2245. @user_includes): Fix and extend comments.
  2246. (usage): Update.
  2247. (handle_acdir_option): New function.
  2248. (parse_arguments): Recognize new options `--system-acdir' and
  2249. `automake-acdir', and handle `--acdir' using the new function
  2250. above. Simplify logic by assuming that the directory of
  2251. third-party system-wide m4 files always exists.
  2252. * tests/aclocal.in: Update to use the new options, instead of
  2253. the deprecated. `--acdir'.
  2254. * m4/dirlist: Move ...
  2255. * m4/acdir/dirlist: ... here.
  2256. * m4/Makefile.am (EXTRA_DIST): Update.
  2257. (m4datadir): Rename ...
  2258. (automake_acdir): ... to this. Accordingly, ...
  2259. (dist_m4data_DATA): ... rename this ...
  2260. (dist_automake_ac_DATA): ... to this.
  2261. (system_acdir): New, directory.
  2262. (dist_system_ac_DATA): New, defined to an empty value; this will
  2263. ensure that the $(system_acdir) directory will be created by
  2264. "make install".
  2265. * tests/aclocal.test: Remove check about the `--print-ac-dir'
  2266. option of aclocal, it has been moved into ...
  2267. * tests/aclocal-print-acdir.test: ... this new test, and quite
  2268. extended.
  2269. * tests/aclocal-acdir.test: New test.
  2270. * tests/Makefile.am (TESTS): Add the new tests.
  2271. * NEWS, bootstrap: Update.
  2272. * doc/automake.texi (aclocal Options, Macro Search Path): Update.
  2273. 2011-09-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  2274. cosmetic: rename gen-tests-deps -> gen-testsuite-part
  2275. * tests/gen-tests-deps: Renamed ...
  2276. * tests/gen-testsuite-part: ... to this.
  2277. * bootstrap: Update.
  2278. * tests/Makefile.am ($(srcdir)/tests-deps.am): Don't generate
  2279. nor include this ...
  2280. ($(srcdir)/testsuite-part.am): ... do with this instead.
  2281. * tests/.gitignore (tests-deps.am): Don't ignore this ...
  2282. (testsuite-part.am): ... ignore this instead.
  2283. 2011-09-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  2284. testsuite: revamp generation of autogenerated tests
  2285. With this change, we make generated tests be real scripts again
  2286. -- albeit only thin layers around the tests they wrap. It turned
  2287. out that the apparently clever tricks we played by having lots
  2288. of custom (and auto-generated) `..._LOG_COMPILER' variables and
  2289. by having the tests in $(wrap_TESTS) not being real on-file-system
  2290. scripts caused more pain and confusion than expected, for only
  2291. marginal gains. Also, that previous setup didn't interact very
  2292. well with "make check RECHECK_LOGS=", since the log files for
  2293. the "wrappee" tests were always considered out-of-date (which in
  2294. hindsight is natural, since these log files depended on wrappee
  2295. tests that didn't exist -- and weren't created). And finally, it
  2296. wasn't possible to easily and naturally run the wrappee tests
  2297. from the command line -- definitely harmful for debugging and
  2298. sanity checking.
  2299. * tests/gen-wrap-tests: Deleted, its role subsumed into ...
  2300. * tests/gen-tests-deps: ... this script, with the help of
  2301. (unindent, atomic_write, build_matcher, write_wrapper_script,
  2302. %test_generators): ... these new functions and variables.
  2303. Other few minor fixlets and improvements.
  2304. * tests/wrap-tests.sh: Delete, not needed anymore.
  2305. * tests/Makefile.am ($(srcdir)/wrap-tests.am): Don't generate
  2306. nor include anymore.
  2307. (EXTRA_DIST): Update.
  2308. (wrap_TESTS): Renamed to ...
  2309. (generated_TESTS): ... this.
  2310. ($(generated_TESTS)): Must have the same dependencies of
  2311. `$(srcdir)/tests-deps.am'.
  2312. Other minor related reordering and adjustments.
  2313. * bootstrap: Do not generate `wrap-tests.am' anymore.
  2314. * tests/.gitignore (wrap-tests.am): Don't ignore anymore.
  2315. (*-w.test, *-w.tap): Ignore.
  2316. * tests/README: Update paragraph on automatically-generated
  2317. tests.
  2318. 2011-09-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  2319. testsuite: automatize generation of dependencies for tests
  2320. * tests/gen-test-deps: New script, automatically generates
  2321. dependencies for the tests.
  2322. * tests/Makefile.am (EXTRA_DIST): Distribute it.
  2323. ($(srcdir)/tests-deps.am): New rule.
  2324. (include $(srcdir)/tests-deps.am): New inclusion.
  2325. Remove hand-written dependencies for tests. Other related
  2326. updates.
  2327. * tests/list-of-tests (tap_with_common_setup_TESTS,
  2328. tap_other_TESTS): Delete, their content merged back into ...
  2329. (handwritten_TESTS): ... this.
  2330. * tests/.gitignore (tests-deps.am): New ignored file.
  2331. * bootstrap: Generate `tests/tests-deps.am'.
  2332. 2011-09-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  2333. tests: avoid spurious failure due to bug in older TAP::Parser
  2334. Older TAP::Parser versions (e.g., 3.10) erroneously convert a test
  2335. number `0' into `1'; do not let this bug cause a spurious failure
  2336. in our testsuite.
  2337. * tests/tap-test-number-0.test: Skip if the aforementioned
  2338. TAP::Parser bug is detected.
  2339. 2011-09-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  2340. tap/perl: be more portable to older perl versions
  2341. * lib/tap-driver.pl (trap_perl_warnings_and_errors): Do not use
  2342. the three-args version of the `open' builtin, it is not well
  2343. supported by older perl versions (at least perl 5.6.2).
  2344. (start): Add a no-op statement to pacify a "possible typo ... used
  2345. only once" perl warning.
  2346. 2011-09-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  2347. tap/perl: be more portable to older TAP::Parser versions
  2348. * lib/tap-driver.pl (start): Do not call the `ignore_exit' method
  2349. on our TAP parser: it is not supported in older TAP::Parser
  2350. versions (e.g., 3.10), and is not really required by our usage of
  2351. the parser object.
  2352. 2011-09-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  2353. tests: fix spurious Cygwin failure of a test on TAP support
  2354. * tests/tap-bad-prog.tap (noexec.test): Add forgotten `echo'.
  2355. When trying to run it, redirect its output to /dev/null, to
  2356. avoid confusing automake's testsuite own TAP driver.
  2357. 2011-09-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  2358. test defs: fix glitch in TAP version of `warn_' function
  2359. * tests/tap-functions.sh (warn_): Do not display the warning
  2360. message two times.
  2361. 2011-09-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  2362. tests: fix another spurious failure due to ignored signals
  2363. * tests/tap-signal.test: Renamed ...
  2364. * tests/tap-signal.tap: ... to this, converted to the use of the
  2365. TAP protocol, and improved not to try to use/trap signals that
  2366. are ignored by the parent shell (they will be forcibly ignored
  2367. by all the child processes too). Extend the test a bit since we
  2368. are at it.
  2369. * tests/list-of-tests.mk: Update.
  2370. 2011-09-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  2371. tests: fix a spurious failure due to lacking Fortran compilers
  2372. * tests/silent-many-generic.test (configure.in): Cause the test
  2373. to be skipped if `configure' fails to find working C++, Fortran
  2374. and Fortran 77 compilers.
  2375. 2011-09-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  2376. self tests: more use of TAP
  2377. * tests/self-check-reexec.test: Renamed ...
  2378. * tests/self-check-reexec.tap: ... to this, converted to the
  2379. use of TAP protocol, and extended a bit.
  2380. * tests/self-check-seq.test: Renamed ...
  2381. * tests/self-check-seq.tap: ... to this, and converted to the
  2382. use of TAP protocol.
  2383. * tests/list-of-tests.mk: Update.
  2384. 2011-09-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  2385. self tests: fix spurious failures when /bin/ksh do not exists
  2386. * tests/self-check-reexec.test: Ensure that the non-bash shells
  2387. we look do really exists. Since we are at it, also try the name
  2388. `ash', non `dash', for the Almquist Shell, for Cygwin 1.5.
  2389. 2011-09-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  2390. tests: more use of TAP in our own testsuite
  2391. * tests/parallel-tests-interrupt.test: Renamed ...
  2392. * tests/parallel-tests-interrupt.tap: ... to this, and converted
  2393. to the use of TAP protocol.
  2394. * tests/self-check-cleanup.test: Renamed ...
  2395. * tests/self-check-cleanup.tap: ... to this, and converted to the
  2396. use of TAP protocol.
  2397. * tests/self-check-dir.test: Renamed ...
  2398. * tests/self-check-dir.tap: ... to this, and converted to the use
  2399. of TAP protocol.
  2400. * tests/self-check-is_newest.test: Renamed ...
  2401. * tests/self-check-is_newest.tap: ... to this, and converted to
  2402. the use of TAP protocol.
  2403. * tests/self-check-unindent.test: Renamed ...
  2404. * tests/self-check-unindent.tap: ... to this, and converted to
  2405. the use of TAP protocol.
  2406. * tests/list-of-tests.mk: Update.
  2407. 2011-09-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  2408. self tests: sanity check on 'is_blocked_signal' function
  2409. * tests/self-check-is-blocked-signal.tap: New test.
  2410. * tests/list-of-tests.mk: Update.
  2411. 2011-09-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  2412. tests: fix spurious failures due to ignored signals
  2413. * tests/defs (is_blocked_signal): New function.
  2414. * tests/parallel-tests-interrupt.test: Do not try to use/trap
  2415. signals that are ignored by the parent shell: they will be
  2416. ignored by all the child processes too.
  2417. * tests/self-check-exit.test: Likewise.
  2418. * tests/self-check-cleanup.test: Likewise, and do few minor
  2419. improvements and extensions since we are at it.
  2420. 2011-09-05 Peter Rosin <peda@lysator.liu.se>
  2421. * tests/amhello-binpkg.test: Add missing $EXEEXT usage.
  2422. 2011-09-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  2423. fix: list test 'vala-vpath.test' in XFAIL_TESTS
  2424. * tests/Makefile.am (XFAIL_TESTS): Update.
  2425. 2011-09-02 Stefano Lattarini <stefano.lattarini@gmail.com>
  2426. tests: simplify wrapper for aclocal
  2427. * tests/aclocal.in: Remove use of $ACLOCAL_TESTSUITE_FLAGS and
  2428. extra `-I' flags; they are not really required, since the file
  2429. `m4/amversion.m4' is generated in the srcdir anyway.
  2430. * tests/acloca10.test: Remove use of $ACLOCAL_TESTSUITE_FLAGS.
  2431. * tests/acloca18.test: Likewise.
  2432. * tests/defs.in: Don't nullify $ACLOCAL_TESTSUITE_FLAGS, and do
  2433. not export it.
  2434. 2011-09-02 Stefano Lattarini <stefano.lattarini@gmail.com>
  2435. tests: remove redundant settings of `errexit' shell flag
  2436. * doc-parsing-buglets-colneq-subst.test: Do not set the
  2437. `errexit' shell flag, as it is already set by `tests/defs'.
  2438. * doc-parsing-buglets-tabs.test: Likewise.
  2439. * java-empty-classpath.test: Likewise.
  2440. * vala-vpath.test: Likewise.
  2441. 2011-09-02 Stefano Lattarini <stefano.lattarini@gmail.com>
  2442. tests: more uses of `$top_testsrcdir', in the `amhello' tests
  2443. * tests/amhello-binpkg.test: Use `$top_testsrcdir' instead
  2444. of `$testsrcdir/..'.
  2445. * tests/amhello-cflags.test: Likewise.
  2446. * tests/amhello-cross-compile.test: Likewise.
  2447. 2011-09-02 Stefano Lattarini <stefano.lattarini@gmail.com>
  2448. tests: avoid creating useless files in the `amhello' tests
  2449. * tests/amhello-binpkg.test: Define `$am_create_testdir' to
  2450. "empty" before sourcing ./defs, to avoid bringing in unused
  2451. auxiliary files.
  2452. * tests/amhello-cflags.test: Likewise.
  2453. * tests/amhello-cross-compile.test: Likewise.
  2454. 2011-09-02 Stefano Lattarini <stefano.lattarini@gmail.com>
  2455. coverage: vala support failing for VPATH from-scratch builds
  2456. * tests/vala-vpath.test: New test, xfailing.
  2457. * tests/Makefile.am (TESTS): Update.
  2458. * THANKS: Update.
  2459. From a report by Zbigniew Jędrzejewski-Szmek.
  2460. Related to automake bug#8753.
  2461. 2011-09-01 Stefano Lattarini <stefano.lattarini@gmail.com>
  2462. docs: report few more automake parsing limitations
  2463. Partly motivated by automake bug#8360.
  2464. * doc/automake.texi (General Operation): Report few more automake
  2465. limitations w.r.t. parsing of unusual makefile constructs. Related
  2466. minor reorderings.
  2467. * tests/doc-parsing-buglets-colneq-subst.test: New test.
  2468. * tests/doc-parsing-buglets-tabs.test: Likewise.
  2469. * tests/Makefile.am (TESTS): Update.
  2470. 2011-09-01 Stefano Lattarini <stefano.lattarini@gmail.com>
  2471. automake: fix regression due to de-ansification support removal
  2472. The last change `v1.11-947-g136b489' removed code that automake
  2473. was using to decide whether binary objects were built by the
  2474. generated Makefile.in, so that it could avoid to emit unneeded
  2475. code when this was not the case. Re-introduce such code in a
  2476. less-obfuscated form, and add a test to ensure we don't regress
  2477. again.
  2478. * automake.in ($must_handle_compiled_objects): New global
  2479. variable, telling whether the generated Makefile has to build
  2480. compiled objects.
  2481. (initialize_per_input): Reset it.
  2482. (handle_programs, handle_libraries, handle_ltlibraries): Set
  2483. it to a true value when required.
  2484. (handle_compile): Don't generate any code if the variable
  2485. `$must_handle_compiled_objects' is not set to a true value.
  2486. * tests/no-extra-makefile-code.test: New test.
  2487. * tests/Makefile.am (TESTS): Add it.
  2488. 2011-08-28 Stefano Lattarini <stefano.lattarini@gmail.com>
  2489. automake: cleanups after de-ansification support removal (2)
  2490. * automake.in ($get_object_extension_was_run): Remove, it's not
  2491. really needed anymore.
  2492. (&get_object_extension): Remove, it's a no-op now.
  2493. All callers adjusted.
  2494. 2011-08-28 Stefano Lattarini <stefano.lattarini@gmail.com>
  2495. automake: cleanups after de-ansification support removal (1)
  2496. * automake.in (lang_c_rewrite, handle_single_transform): Rename
  2497. variable `$nonansi_obj' to `$obj'.
  2498. 2011-08-28 Stefano Lattarini <stefano.lattarini@gmail.com>
  2499. ansi: remove obsolete code/files for de-ANSI-fication support
  2500. * lib/ansi2knr.1, lib/ansi2knr.c: Deleted.
  2501. * lib/Makefile.am (dist_pkgvdata_DATA): Do not list them anymore.
  2502. * lib/am/ansi2knr.am: Delete.
  2503. * lib/am/Makefile.am (dist_am_DATA): Do not list it anymore.
  2504. * lib/Automake/Variable.pm (%_am_macro_for_var): Remove entries for
  2505. `ANSI2KNR' and `U'.
  2506. * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Don't care anymore
  2507. about possible definition of the `$U' variable.
  2508. * automake.in (@common_files): Drop `ansi2knr.1' and `ansi2knr.c'.
  2509. (struct): Remove scalar field `ansi'.
  2510. All callers adjusted.
  2511. (&lang_c_finish, %de_ansi_files): Remove, they're not required
  2512. anymore.
  2513. All callers adjusted.
  2514. ($get_object_extension_was_run): Fix typo in comment.
  2515. (&get_object_extension): Drop code dealing with de-ansification;
  2516. this function basically a no-op now, but is required to properly
  2517. initialize `$get_object_extension_was_run' variable.
  2518. (&handle_languages, &handle_compile, &lang_c_rewrite): Drop code
  2519. dealing with de-ansification.
  2520. 2011-08-28 Stefano Lattarini <stefano.lattarini@gmail.com>
  2521. ansi: reject attempts to use automatic de-ANSI-fication support
  2522. * tests/protos.m4 (AM_C_PROTOTYPES): Error out whenever called.
  2523. * lib/Automake/Options.pm (_process_option_list ): Error out
  2524. with a proper error message when the `ansi2knr' option is used.
  2525. Related updates to comments.
  2526. * tests/depacl2.test: Update.
  2527. * tests/ansi2knr-no-more.test: New test.
  2528. * tests/Makefile.am (TESTS): Add it.
  2529. * NEWS: Update.
  2530. 2011-08-28 Stefano Lattarini <stefano.lattarini@gmail.com>
  2531. tests: remove tests about obsolete de-ANSI-fication support
  2532. * tests/ansi.test: Delete.
  2533. * tests/ansi10.test: Likewise.
  2534. * tests/ansi2.test: Likewise.
  2535. * tests/ansi2knr-deprecation.test: Likewise.
  2536. * tests/ansi3.test: Likewise.
  2537. * tests/ansi3b.test: Likewise.
  2538. * tests/ansi4.test: Likewise.
  2539. * tests/ansi5.test: Likewise.
  2540. * tests/ansi6.test: Likewise.
  2541. * tests/ansi7.test: Likewise.
  2542. * tests/ansi8.test: Likewise.
  2543. * tests/ansi9.test: Likewise.
  2544. * tests/cxxansi.test: Likewise.
  2545. * tests/libobj8.test: Likewise.
  2546. * tests/subobj3.test: Likewise.
  2547. * tests/Makefile.am (TESTS): Update.
  2548. 2011-08-28 Stefano Lattarini <stefano.lattarini@gmail.com>
  2549. docs: remove description of de-ANSI-fication support from manual
  2550. * doc/automake.texi (Auxiliary Programs): Remove mention of
  2551. `ansi2knr.c' and `ansi2knr.1'.
  2552. (Obsolete Macros): Remove mention of `AM_C_PROTOTYPES'. Do not
  2553. index it nor variables `ANSI2KNR' and `U' anymore.
  2554. (List of Automake options): Remove mention of `ansi2knr' option,
  2555. and obsolete entries for concept and option indexes.
  2556. (Optional): Remove entry about `AM_C_PROTOTYPES'.
  2557. (@c LocalWords): Remove `ansi' and `knr'.
  2558. (@menu, @detailmenu): Remove entries about de-ANSI-fication
  2559. support.
  2560. 2011-08-29 Stefano Lattarini <stefano.lattarini@gmail.com>
  2561. tests: better respect of TAP usage in wrapped tests
  2562. * tests/gen-wrap-tests: Partial rewrite to take into account the
  2563. possibility that the wrapped test uses the TAP protocol. This
  2564. complicates the code quite a bit, but is essential to ensure real
  2565. correctness in all the wrapped scripts.
  2566. * tests/wrap-tests.sh: Update, and add few more sanity checks.
  2567. 2011-08-29 Stefano Lattarini <stefano.lattarini@gmail.com>
  2568. tests: use both perl and awk implementations for tests on TAP
  2569. * tests/gen-wrap-tests (get_list_for_pltap): New function, gets
  2570. the list of tests that check the Automake TAP support.
  2571. ($defines_for_pltap): New variable.
  2572. ($wrapper_type_list): Add "pltap".
  2573. * tests/defs-static.in: Check that `$am_tap_implementation' is
  2574. not exported in the environment.
  2575. * tests/self-check-env-sanitize.tap: Update.
  2576. 2011-08-29 Stefano Lattarini <stefano.lattarini@gmail.com>
  2577. tests: two single auxiliary scripts to run/generate wrapped tests
  2578. * tests/config-shell-tests.sh, tests/parallel-tests.sh,
  2579. tests/gen-config-shell-tests, tests/gen-parallel-tests: Deleted,
  2580. their roles taken over by ...
  2581. * tests/wrap-tests.sh, tests/gen-wrap-tests: ... these new more
  2582. general scripts.
  2583. * tests/Makefile.am (EXTRA_DIST): Distribute the new scripts, and
  2584. do not distribute the obsolete ones anymore.
  2585. ($(srcdir)/parallel-tests.am, $(srcdir)/config-shell-tests.am): Do
  2586. not include nor generate anymore, they have been superseded by ...
  2587. ($(srcdir)/wrap-tests.am): ... this new fragment, automatically
  2588. generated by `gen-wrap-tests'.
  2589. (PTEST_LOG_COMPILER, SHTST_LOG_COMPILER): Delete, they are now
  2590. defined in the new `wrap-tests.am' makefile fragment.
  2591. (TEST_EXTENSIONS): Do not append to it anymore, that is now done
  2592. by the new `wrap-tests.am' makefile fragment above.
  2593. ($(parallel_tests:.ptest=.log), $(config_shell_tests:.shtst=.log),
  2594. $(parallel_tests), $(config_shell_tests): Remove this dependencies,
  2595. superseded by ...
  2596. ($(wrap_TESTS), $(wrap_LOGS)): ... these ones.
  2597. (MAINTAINERCLEANFILES): Delete, it's not used anymore.
  2598. (TESTS): Do not contain anymore `$(config_shell_tests)' nor
  2599. `$(parallel_tests)', contain `$(wrap_TESTS)' instead, as defined
  2600. by `$(srcdir)/wrap-tests.am'.
  2601. Other related minor edits and reorderings.
  2602. * bootstrap, tests/.gitignore, tests/README: Update.
  2603. 2011-08-29 Stefano Lattarini <stefano.lattarini@gmail.com>
  2604. tests: list of tests placed in a separate Makefile fragment
  2605. This change allows us to easily use make instead of by-hand (and
  2606. more fragile) grepping to extract the list of hand-written tests
  2607. from our Makefiles.
  2608. * bootstrap (BOOTSTRAP_MAKE): New variable.
  2609. Use it to run make in order to extract the list of hand-written
  2610. tests from ...
  2611. * tests/list-of-tests.mk: ... this new file, where they are
  2612. listed in ...
  2613. (handwritten_TESTS, tap_with_common_setup_TESTS, tap_other_TESTS):
  2614. ... these variables, extracted respectively from ...
  2615. * tests/Makefile.am (handwritten_tests, tap_other_tests,
  2616. tap_with_common_setup_tests): ... these older variables, now
  2617. removed.
  2618. (EXTRA_DIST, expected_list_of_tests): Update w.r.t. the variable
  2619. names' changes.
  2620. (include $(srcdir)/list-of-tests.mk): New inclusion.
  2621. Remove an overkill indirection, and with it ...
  2622. (tap_with_common_setup_logs): ... this variable.
  2623. ($(srcdir)/parallel-tests.am, $(srcdir)/config-shell-tests.am):
  2624. Update to match the new interface of ...
  2625. (gen-parallel-tests, gen-config-shell-tests): ... these scripts,
  2626. that now read the list of tests from the standard input.
  2627. 2011-08-29 Stefano Lattarini <stefano.lattarini@gmail.com>
  2628. tests: prefer AM_... variables to user-reserved ones in Makefile
  2629. * tests/Makefile.am (TAP_LOG_DRIVER_FLAGS): Renamed ...
  2630. (AM_TAP_LOG_DRIVER_FLAGS): ... to this.
  2631. 2011-08-29 Stefano Lattarini <stefano.lattarini@gmail.com>
  2632. tests: some minor fixlets w.r.t. TAP-based tests
  2633. The variable that is used by our test scripts to decide whether
  2634. they are "plain" or TAP-based is `using_tap'; however, some
  2635. peripheral sanity checks and sanitization code in our testsuite
  2636. were erroneously using the `use_tap' variable instead. Fix that.
  2637. * tests/Makefile.am (AM_TESTS_ENVIRONMENT): Nullify `using_tap',
  2638. not `use_tap'.
  2639. * tests/defs-static.in: Check that `using_tap', not `use_tap',
  2640. is not exported.
  2641. * tests/self-check-env-sanitize.test: Update.
  2642. 2011-08-29 Stefano Lattarini <stefano.lattarini@gmail.com>
  2643. tests: avoid re-running a test with the 'parallel-tests' option
  2644. * tests/backcompat5.test (parallel_tests): Define to "no", to
  2645. prevent the generation of a sibling test script that uses the
  2646. 'parallel-tests' driver. That would be useless anyway, since
  2647. we manually override the contents of configure.in, thus clobbering
  2648. the `parallel-tests' option in AM_INIT_AUTOMAKE.
  2649. Fix a typo in comments since we are at it.
  2650. 2011-08-29 Stefano Lattarini <stefano.lattarini@gmail.com>
  2651. tests: defaults to awk+shell driver in tests on TAP support
  2652. * tests/defs ($am_tap_implementation): Default to "shell", not
  2653. to "perl".
  2654. 2011-08-25 Stefano Lattarini <stefano.lattarini@gmail.com>
  2655. tests: list "forgotten" test script in TESTS
  2656. * tests/Makefile.am (TESTS): Also list ...
  2657. * tests/java-empty-classpath.test: ... this test. Since we are
  2658. at it, remove trailing whitespace from a couple of lines.
  2659. 2011-08-25 Eric Blake <eblake@redhat.com>
  2660. ylwrap: fix unusual indentation whitespace
  2661. * lib/ylwrap: Convert tabs to spaces.
  2662. Reported by Karl Berry.
  2663. 2011-08-28 Stefano Lattarini <stefano.lattarini@gmail.com>
  2664. testsuite: different test scripts cannot share the same basename
  2665. If two test scripts have the same basename, they will end up
  2666. sharing the same log file, leading to all sort of undefined and
  2667. undesired behaviours. Add a Makefile check verifying that this
  2668. is not the case.
  2669. * tests/test-logs-repeated.test: New test, verifying previously
  2670. unspecified semantics (in the definition of $(TEST_LOGS) from
  2671. $(TESTS)) that we use in our new check.
  2672. * tests/Makefile.am (TESTS): Update.
  2673. (check-no-repeated-test-name): New .PHONY check.
  2674. (check-local): Depend on it.
  2675. 2011-08-26 Stefano Lattarini <stefano.lattarini@gmail.com>
  2676. tests: fix spurious failure for awk implementation of TAP driver
  2677. * tests/tap-realtime.test: The awk+shell implementation of the TAP
  2678. driver must "read ahead" of one line in order to catch the exit
  2679. status of the test script it runs. So, in the TAP-producer script
  2680. here, be sure to echo one "dummy" line after each TAP result line
  2681. in order not to cause false positives.
  2682. 2011-08-25 Stefano Lattarini <stefano.lattarini@gmail.com>
  2683. tap/awk: allow escaping of TAP directives
  2684. * lib/tap-driver.sh (setup_result_obj): Handle escaping of TAP
  2685. directives in a way tat is (mostly) compatible by what is done
  2686. by the TAP::Parser module.
  2687. With this change, the tests `tap-escape-directive.test' and
  2688. `tap-escape-directive-2.test' now also pass with the shell/awk
  2689. implementation of the TAP driver.
  2690. 2011-08-25 Stefano Lattarini <stefano.lattarini@gmail.com>
  2691. coverage: more about escaping of TAP directives
  2692. * tests/tap-escape-directive.test: Make grepping of testsuite
  2693. progress output slightly stricter.
  2694. * tests/tap-escape-directive-2.test: New test (failing with the
  2695. awk implementation of the TAP driver).
  2696. * tests/Makefile.am (tap_with_common_setup_tests): Update.
  2697. 2011-08-25 Stefano Lattarini <stefano.lattarini@gmail.com>
  2698. tap: improve syncing between awk+shell and perl implementations
  2699. * lib/tap-driver.pl (stringify_test_result): Renamed ...
  2700. (stringify_result_obj): ... to this. Break up a clause in the
  2701. long "if/elsif/.../else" construct to avoid unaesthetic line
  2702. breaks and to be more synced with the sibling function in
  2703. `tap-driver.sh'. Rename the `$result', `$PASS' and `$FAIL'
  2704. variables to respectively `$result_obj', `$COOKED_PASS' and
  2705. `$COOKED_FAIL', for clarity and better syncing.
  2706. (handle_tap_test): Renamed ...
  2707. (handle_tap_result): ... to this, and change the name of the
  2708. `$test' local variable to `$result_obj'.
  2709. (extract_comment): Reimplement using the simpler `index' and
  2710. `substr' builtins, rather than with more advanced uses of
  2711. regular expressions.
  2712. (%test_results, @test_results): Renamed respectively ...
  2713. (%test_results_seen, @test_results_list): ... to these, and
  2714. related adjustments throughout the `TEST_RESULTS' block.
  2715. (main, get_global_test_result): Refactor and do some cosmetic
  2716. changes to make these functions clearer and better synced with
  2717. sibling code in `tap-driver.sh'.
  2718. Other minor cosmetic and typo fixes.
  2719. * lib/tap-driver.sh (extract_tap_comment): Remove outdated
  2720. "FIXME" comments.
  2721. (get_global_test_result): Small reordering to make it better
  2722. synced with its sibling function in `tap-driver.pl'.
  2723. (stringify_result_obj): Consistently use `result_obj' as the
  2724. parameter name.
  2725. Other minor cosmetic and typo fixes.
  2726. 2011-08-25 Stefano Lattarini <stefano.lattarini@gmail.com>
  2727. tap/perl: don't redirect perl warnings/errors to log files
  2728. With this change, the test `tap-driver-stderr.test' also passes
  2729. with the perl implementation of the TAP driver.
  2730. * lib/tap-driver.pl (start): Save the original stderr into the
  2731. `OLDERR' file handle, and call ...
  2732. (trap_perl_warnings_and_errors): ... this new function, trapping
  2733. the `__WARN__' and `__DIE__' "pseudo-signals" to ensure that the
  2734. warning and error messages goes to that original stderr stream.
  2735. Since we are at it, be sure to prepend all possible "die" message
  2736. with the name of the script as given by the `$ME' variable.
  2737. 2011-08-25 Stefano Lattarini <stefano.lattarini@gmail.com>
  2738. tap/perl: add copyright notice, version string, and emacs stuff
  2739. * lib/tap-driver.pl: Add proper copyright notice and bug reporting
  2740. address. Remove obsolete heading comments. Add trailing comments
  2741. for emacs w.r.t. code-formatting rules and automatic updating of
  2742. the date-based script version saved into the `$VERSION' variable.
  2743. ($VERSION): Define to the current UTC date.
  2744. 2011-08-24 Stefano Lattarini <stefano.lattarini@gmail.com>
  2745. tap/awk: don't redirect awk stderr to log files
  2746. * lib/tap-driver.sh: Handle the file descriptors redirections
  2747. more smartly, to avoid sending error messages from awk (about
  2748. e.g. syntax or I/O errors) to the log files instead that to the
  2749. console.
  2750. * tests/tap-driver-stderr.test: New test, verifying the improved
  2751. driver behaviour. Notice that this test still fails when using
  2752. the perl implementation of the TAP driver.
  2753. * tests/Makefile.am (tap_other_tests): Update.
  2754. 2011-08-24 Stefano Lattarini <stefano.lattarini@gmail.com>
  2755. tap/awk: remove obsolete "FIXME" comment
  2756. * lib/tap-driver.sh: Remove obsolete "FIXME" comment about our
  2757. driver losing the exit status of the tested program; this issue
  2758. has been solved in precedent commit `v1.11-1052-gd630a0d'. Fix
  2759. an unrelated typo in comments since we are at it.
  2760. 2011-08-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  2761. testsuite: avoid spurious failure on Solaris
  2762. * tests/tap-signal.test (signal_caught): Fix a regression from
  2763. commit `v1.11-1052-gd630a0d' that was causing this test to fail
  2764. spuriously on Solaris (due to an already worked-around Solaris
  2765. /bin/sh bug, see commit `v1.11-981-g0ef3ef5').
  2766. 2011-08-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  2767. testsuite: use the new awk+shell TAP driver in our own testsuite
  2768. * tests/Makefile.am (TAP_LOG_DRIVER): Redefine to use the new
  2769. awk+shell tap driver, which should be complete enough for use in
  2770. a "controlled" production environment.
  2771. 2011-08-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  2772. tap/awk: handle non-zero exit status from the test command
  2773. * lib/tap-driver.sh (get_test_exit_message): New function in the
  2774. awk script, used to extract the exit status of the test program,
  2775. or at least a good guess of it.
  2776. (write_test_results): Use it, reporting an ERROR result if it
  2777. detects that the test program exited with a non-zero status.
  2778. * tests/tap-signal.test: Account for the differences in the
  2779. error messages generated by the awk and perl TAP drivers. Fix
  2780. an unrelated typo in comments since we are at it.
  2781. 2011-08-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  2782. tap/awk: prepare to fetch the exit status of the test command
  2783. * lib/tap-driver.sh: Rewrite some logic in the main parsing loop,
  2784. to make it possible to read the exit status of the test command
  2785. from the last line of the input stream.
  2786. 2011-08-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  2787. tap/awk: refactor for future changes
  2788. * lib/tap-driver.sh: Rewrite the awk script so that the parsing
  2789. of the input stream is implemented as a hand-rolled loop in the
  2790. BEGIN block, using the `getline' builtin.
  2791. 2011-08-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  2792. testsuite: avoid spurious failure if rst2html program is missing
  2793. * tests/tap-html.test ($required): Require `rst2html'.
  2794. 2011-08-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  2795. tap/awk: support Solaris /usr/xpg4/bin/awk
  2796. * lib/tap-driver.sh: Use `\t', not `\\t', to represent tabulation
  2797. character in regexps, even when inside double-quoted strings; that
  2798. seems to be more portable to Solaris 10 XPG4 awk.
  2799. 2011-08-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  2800. tap/awk: support Solaris /usr/bin/nawk
  2801. * lib/tap-driver.sh (close_or_die): Remove, the use of the `close'
  2802. builtin in there was confusing /usr/bin/nawk from Solaris 10 into
  2803. a syntax error.
  2804. (write_test_results): Simply use `close' on the `*.trs' file, that
  2805. should be enough.
  2806. 2011-08-21 Stefano Lattarini <stefano.lattarini@gmail.com>
  2807. tap/awk: correctly extract message from SKIP plans
  2808. * lib/tap-driver.sh (/^1\.\.0+[ \t]*#/): Add a forgotten `?' to
  2809. the regex used to extract the skip message from a "1..0" TAP plan.
  2810. * tests/planskip.test: Check for the just-fixed bug.
  2811. * tests/tap-planskip-unplanned-corner.test: Don't be too strict
  2812. w.r.t. the formatting of the "skip whole test" message, to avoid
  2813. failing due to bugs irrelevant for this test (like the one just
  2814. fixed).
  2815. 2011-08-21 Stefano Lattarini <stefano.lattarini@gmail.com>
  2816. tap/awk: support colorized output
  2817. * lib/tap-driver.sh: Pass definition of colors to the BEGIN block
  2818. of the awk script, using ...
  2819. ($init_colors): ... this new variable, which supersedes ...
  2820. ($red, $grn, $lgn, $blu, $mgn, $std): ... these variables, which
  2821. have been consequently removed.
  2822. ($color_tests): We don't have to pass this anymore to the awk
  2823. script, so do not convert it to a numeric boolean.
  2824. (decorate_result): Implement for real.
  2825. With this change, the test 'tap-color.test' now passes.
  2826. 2011-08-21 Stefano Lattarini <stefano.lattarini@gmail.com>
  2827. tap: real (but still incomplete) awk implementation of TAP driver
  2828. * lib/tap-driver.sh: Add an incomplete, but mostly working,
  2829. implementation of a TAP parser and driver in awk. It doesn't yet
  2830. support colorized output, fetching of exit status from test
  2831. programs, nor a way to escape TAP directives in TAP result lines,
  2832. but passes all the tests of TAP support in the automake testsuite,
  2833. apart from the following ones:
  2834. - tap-color.test
  2835. - tap-escape-directive.test
  2836. - tap-exit.test
  2837. - tap-missing-plan-and-bad-exit.test
  2838. - tap-passthrough-exit.test
  2839. - tap-planskip-badexit.test
  2840. - tap-planskip-unplanned-corner.test
  2841. - tap-signal.test
  2842. Tested on Debian GNU/Linux with GNU awk 3.1.7 and 3.0.2, "original
  2843. awk" 2010-05-23-1, and mawk 1.3.3-15 (with which also the test
  2844. `tap-realtime.test' fails, in addition to those listed above).
  2845. 2011-08-21 Stefano Lattarini <stefano.lattarini@gmail.com>
  2846. testsuite: fix spurious failure due to Solaris 'wc' incompatibility
  2847. * tests/tap-number-wordboundary.test ($planned): Strip any extra
  2848. whitespace from the output of `wc', to cater to Solaris 10.
  2849. 2011-08-21 Stefano Lattarini <stefano.lattarini@gmail.com>
  2850. coverage: keyword "SKIP" in TAP plan is case-insensitive
  2851. * tests/tap-planskip-case-insensitive.test: New test.
  2852. * tests/tap-planskip.test: Remove now-duplicated checks.
  2853. * tests/Makefile.am (tap_with_common_setup_tests): Update.
  2854. 2011-08-21 Stefano Lattarini <stefano.lattarini@gmail.com>
  2855. coverage: ambiguous use of TAP "TODO"/"SKIP" directives
  2856. * tests/tap-ambiguous-directive.test: New test.
  2857. * tests/tap-todo-skip-together.test: Reference it in heading
  2858. comments.
  2859. * tests/Makefile.am (tap_with_common_setup_tests): Update.
  2860. 2011-08-21 Stefano Lattarini <stefano.lattarini@gmail.com>
  2861. coverage: non-directive comments in TAP results are preserved
  2862. * tests/tap-result-comment.test: New test.
  2863. * tests/Makefile.am (tap_with_common_setup_tests): Update.
  2864. 2011-08-20 Stefano Lattarini <stefano.lattarini@gmail.com>
  2865. coverage: TAP result number followed by non-whitespace word boundary
  2866. * tests/tap-number-wordboundary.test: New test.
  2867. * tests/Makefile.am (tap_with_common_setup_tests): Update.
  2868. 2011-08-20 Stefano Lattarini <stefano.lattarini@gmail.com>
  2869. coverage: a TAP result numbered "0" is always out-of-order
  2870. * tests/tap-test-number-0.test: New, checks that a test result
  2871. numbered as 0 is to be considered out-of-order; this is
  2872. consistent with the behaviour of the `prove' utility.
  2873. * tests/Makefile.am (tap_with_common_setup_tests): Update.
  2874. 2011-08-20 Stefano Lattarini <stefano.lattarini@gmail.com>
  2875. cosmetics: fix botched indentation in perl TAP driver
  2876. * lib/tap-driver.pl (main, Getopt::Long::GetOptions): Fix
  2877. improper or botched indentation.
  2878. 2011-08-20 Stefano Lattarini <stefano.lattarini@gmail.com>
  2879. coverage: some more tests on corner cases of TAP support
  2880. * tests/tap-no-spurious.test: Extend checks verifying that a line
  2881. matching, say, the regex "^ok[a-zA-Z0-9_]" is *not* considered a
  2882. TAP result.
  2883. * tests/tap-no-spurious-numbers.test: New test, checking that our
  2884. TAP driver doesn't spuriously recognize as TAP result numbers what
  2885. is not (even if it seems pretty close).
  2886. * tests/tap-negative-numbers.test: New test, checking that our
  2887. TAP driver doesn't spuriously recognize negative TAP result
  2888. numbers, but correctly interprets them as test descriptions
  2889. instead.
  2890. * tests/tap-plan-leading-zero.test, tap-numbers-leading-zero.test:
  2891. New tests, checking how our driver fares in recognizing numbers
  2892. with leading zeroes in TAP results or TAP plans.
  2893. * tests/tap-planskip-malformed.test: New test, checking that a
  2894. malformed TAP plan is not recognized as a valid plan.
  2895. * tests/tap-plan-whitespace.test: New test, checking that a TAP
  2896. plan line with trailing whitespace is recognized and handled
  2897. correctly.
  2898. * tests/Makefile.am (tap_with_common_setup_tests): Update.
  2899. 2011-08-19 Stefano Lattarini <stefano.lattarini@gmail.com>
  2900. testsuite: various fixlets and tweakings
  2901. * tests/seenc.test: Make grepping of automake stderr stricter.
  2902. Add a trailing `:' command.
  2903. * tests/symlink.test: Likewise. Also, define `$am_create_testdir'
  2904. to "empty" to avoid bringing in unused auxiliary files (only to
  2905. have to remove them right away), and use proper m4 quoting in
  2906. `configure.in'.
  2907. * tests/vpath.test: Make grepping of generated `Makefile.in'
  2908. slightly stricter. Prefer trailing `:' over trailing `Exit 0'.
  2909. * tests/suffix6c.test: Unset OBJEXT to avoid interferences from
  2910. the environment.
  2911. * tests/suffix12.test: Do not whitespace-indent `##' comments
  2912. when they are embedded in a makefile rule: having them indented
  2913. is not part of the Automake API, and might cause failures with
  2914. e.g., Tru64 make.
  2915. * tests/syntax.test: Simplify the `Makefile.am' to ensure that
  2916. automake doesn't fail for the wrong reasons. Make grepping of
  2917. automake stderr slightly stricter.
  2918. * tests/test-harness-vpath-rewrite.test: Remove useless variable
  2919. definition from `Makefile.am'.
  2920. * tests/test-driver-custom-multitest.test: Fix typo in comments.
  2921. * tests/self-check-me.tap: Fix minor typo in test description.
  2922. * tests/vars3.test: Make grepping of automake stderr stricter
  2923. and safer.
  2924. * tests/version6.test: Add sanity check, verifying that the
  2925. version number extracted from `automake --version' output seems
  2926. legit.
  2927. * tests/auxdir2.test: Renamed ...
  2928. * tests/auxdir-compauted.tap: ... to this, and converted to the
  2929. use of TAP.
  2930. * tests/auxdir4.test: Renamed ...
  2931. * tests/auxdir-unportable.tap: ... to this, and converted to the
  2932. use of TAP.
  2933. * tests/auxdir3.test: Renamed ...
  2934. * tests/auxdir-misplaced.test: ... to this.
  2935. * tests/auxdir5.test: Renamed ...
  2936. * tests/auxdir-nonexistent.test: ... to this.
  2937. * tests/auxdir9.test: Renamed ...
  2938. * tests/auxdir-autodetect.test: ... to this.
  2939. * tests/Makefile.am (TESTS): Update.
  2940. (XFAIL_TESTS): Remove `auxdir2.test'.
  2941. 2011-08-19 Stefano Lattarini <stefano.lattarini@gmail.com>
  2942. testsuite: fix some redundant autotools calls in tests on TAP
  2943. * tests/tap-deps.test: Do not call autotools and configure; there
  2944. is no need to, since this script sources `tap-setup.sh'.
  2945. * tests/tap-empty-diagnostic.test: Likewise.
  2946. * tests/tap-escape-directive.test: Likewise.
  2947. * tests/tap-fancy2.test: Likewise.
  2948. * tests/tap-no-spurious.test: Likewise.
  2949. * tests/tap-out-of-order.test: Likewise.
  2950. 2011-08-17 Stefano Lattarini <stefano.lattarini@gmail.com>
  2951. * THANKS (Daniel Richard G.): Update e-mail address.
  2952. 2011-08-16 Daniel Richard G. <skunk@iskunk.org> (tiny change)
  2953. Stefano Lattarini <stefano.lattarini@gmail.com>
  2954. java: avoid compilation errors when CLASSPATH is empty
  2955. * lib/am/java.am (CLASSPATH_ENV): When redefining `$CLASSPATH',
  2956. do not append an empty component in case the previous value of
  2957. CLASSPATH is empty or unset.
  2958. * tests/java-empty-classpath.test: New test.
  2959. * tests/Makefile.am (TESTS): Update.
  2960. Fixes automake bug#9306.
  2961. 2011-08-16 Stefano Lattarini <stefano.lattarini@gmail.com>
  2962. parallel-tests: no more spurious successes for FreeBSD make
  2963. Work around a bug of FreeBSD make bug that was causing the
  2964. automake-generated "check" target to complete with success
  2965. even if some tests failed; this happened only when FreeBSD
  2966. make was run in concurrent mode (as in, e.g., "make -j2
  2967. check"). The bug is not present in NetBSD make.
  2968. This change fixes automake bug#9245:
  2969. <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9245>
  2970. See also FreeBSD PR bin/159730:
  2971. <http://www.freebsd.org/cgi/query-pr.cgi?pr=159730>
  2972. * lib/am/check.am [%?PARALLEL_TESTS%] $(TEST_SUITE_LOG): Use a
  2973. more "safe" (and apparently redundant) idiom to exit with error,
  2974. so that the non-zero exit status is picked up also by FreeBSD
  2975. make when it's running in concurrent mode.
  2976. * NEWS: Update.
  2977. * tests/check-concurrency-bug9245.test: New test.
  2978. * tests/Makefile.am (TESTS): Update.
  2979. 2011-08-11 Stefano Lattarini <stefano.lattarini@gmail.com>
  2980. hacking: we now require autoconf 2.68
  2981. * HACKING ("Working in git"): Use autoconf and autom4te 2.68,
  2982. not 2.67, in the examples.
  2983. 2011-08-17 Stefano Lattarini <stefano.lattarini@gmail.com>
  2984. tap: improve granularity for tests on problematic TAP messages
  2985. * tests/tap-message-0.test: Break up into ...
  2986. * tests/tap-msg0-result.test, tests/tap-msg0-directive.test,
  2987. tests/tap-msg0-planskip.test, tests/tap-msg0-misc.test,
  2988. tests/tap-msg0-bailout.test: ... these new tests, and extend
  2989. a little.
  2990. * tests/Makefile.am (tap_with_common_setup_tests): Update.
  2991. 2011-08-17 Stefano Lattarini <stefano.lattarini@gmail.com>
  2992. tap: correctly handle string "0" in TAP messages
  2993. * lib/tap-driver.pl (is_null_string): New function, can be used
  2994. to determine whether a given string variable is empty or undefined.
  2995. Useful to avoid pitfalls like:
  2996. if ($message) { print "$message\n"; }
  2997. which wouldn't print anything if $message is the literal "0".
  2998. (handle_tap_test, handle_tap_plan, handle_tap_bailout): Use it,
  2999. to avoid missing messages composed only by a literal "0" in TAP
  3000. result descriptions and in skip, todo and bailout explanations.
  3001. * tests/tap-message-0.test: Enhance.
  3002. * tests/Makefile.am (XFAIL_TESTS): Remove it, it passes now.
  3003. 2011-08-17 Stefano Lattarini <stefano.lattarini@gmail.com>
  3004. tap: a minor simplification in the perl TAP driver
  3005. * lib/tap-driver.pl: The `--disable-hard-errors' option is a
  3006. no-op, so just ignore it and its argument.
  3007. 2011-08-17 Stefano Lattarini <stefano.lattarini@gmail.com>
  3008. parallel-tests: fix help screen for test driver scripts
  3009. * lib/tap-driver.pl ($USAGE): The `--trs-file' option is mandatory
  3010. too.
  3011. * lib/tap-driver.sh (print_usage): Likewise.
  3012. * lib/test-driver (print_usage): Likewise.
  3013. ($scriptversion): Update.
  3014. 2011-08-17 Stefano Lattarini <stefano.lattarini@gmail.com>
  3015. tap: add a dummy TAP driver script implemented in shell + awk
  3016. The user can also now decide which implementation of the TAP driver
  3017. to use in the testsuite by defining the `$am_tap_implementation'
  3018. variable to either "perl" or "shell". Future enhancements will
  3019. allow the testsuite to automatically run the test scripts on TAP
  3020. support with both the TAP driver implementations, to improve
  3021. coverage.
  3022. * tests/defs (fetch_tap_driver): Honor the `$am_tap_implementation'
  3023. variable to decide which implementation of the TAP driver to fetch.
  3024. ($am_tap_implementation): Default to "perl".
  3025. * tests/tap-common-setup.test: Do not fetch the TAP driver, the
  3026. code in tap-setup.sh does that already (and respecting runtime
  3027. overriding of `$am_tap_implementation').
  3028. * lib/tap-driver: Renamed ...
  3029. * lib/tap-driver.pl: ... to this, and ...
  3030. ($ME): ... adjusted this.
  3031. * doc/automake.texi: Adjust to the renaming.
  3032. * tests/Makefile.am (TAP_LOG_DRIVER): Likewise.
  3033. * tests/tap-doc2.test: Likewise.
  3034. * lib/tap-driver.sh: New script, still mostly dummy.
  3035. * lib/Makefile.am (dist_script_DATA): Update, and since we are at
  3036. it, rewrite it to make it easier to add new entries in the future.
  3037. 2011-08-17 Stefano Lattarini <stefano.lattarini@gmail.com>
  3038. testsuite: refactor tests on TAP support in view of future changes
  3039. * tests/defs (fetch_tap_driver): New subroutine; it fetches the
  3040. automake-provided TAP driver from the `lib/' directory into the
  3041. current directory, and edits its shebang line so that it will be
  3042. run with the perl interpreter determined at configure time.
  3043. * tests/tap-setup.sh: Use it.
  3044. * tests/tap-common-setup.test: There's no need to AC_SUBST `PERL'
  3045. anymore, nor to use it in the Makefile to run the TAP driver.
  3046. Also, use the `fetch_tap_driver' function instead of copying the
  3047. `tap-driver' auxiliary script directly.
  3048. * tests/tap-bad-prog.tap: Likewise.
  3049. * tests/tap-diagnostic-custom.test: Likewise.
  3050. * tests/tap-doc.test: Likewise.
  3051. * tests/tap-merge-stdout-stderr.test: Likewise.
  3052. * tests/tap-more.test: Likewise.
  3053. * tests/tap-more2.test: Likewise.
  3054. * tests/tap-recheck.test: Likewise.
  3055. * tests/tap-summary-aux.sh: Likewise.
  3056. * tests/tap-basic.test: Likewise, and fix a grammaro in comments
  3057. since we are at it.
  3058. 2011-08-17 Stefano Lattarini <stefano.lattarini@gmail.com>
  3059. test defs: fix typo in comments
  3060. * tests/defs (get_shell_script): Fix typo in the function
  3061. description.
  3062. 2011-08-14 Stefano Lattarini <stefano.lattarini@gmail.com>
  3063. coverage: missing tap plan and non-zero exit status
  3064. * tests/tap-missing-plan-and-bad-exit.test: New test.
  3065. * tests/Makefile.am (tap_with_common_setup_tests): Update.
  3066. 2011-08-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  3067. testsuite: fix an unportable use of sed
  3068. * tests/tap-todo-skip-whitespace.test: Alternation with "\|" in
  3069. sed regular expressions is not portable to (at least) FreeBSD
  3070. sed; do not use it.
  3071. 2011-08-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  3072. testsuite: avoid spurious failure if rst2html program is missing
  3073. * tests/test-driver-custom-no-html.test: Account for the
  3074. possibility of a lacking `rst2html' program in our final
  3075. grepping of make output.
  3076. 2011-08-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  3077. tap: improve diagnosing and reporting of plan mismatches
  3078. Problem exposed by a failure in the test 'tap-plan-errors.test'.
  3079. * lib/tap-driver (NO_PLAN, EARLY_PLAN, LATE_PLAN): New constants.
  3080. (Throughout the file): Use more complex semantics for `$plan_seen',
  3081. which now also remember whether the plan that has been seen is an
  3082. "early" or "late" plan; in turn, this makes ...
  3083. ($tap_stopped): ... this variable redundant; remove it.
  3084. (handle_tap_plan): Adjust to avoid producing spurious or confusing
  3085. error messages about extra or mismatched "late" TAP plans.
  3086. * tests/tap-plan-corned.test: Adjust and extend.
  3087. * tests/tap-color.test: Likewise.
  3088. 2011-08-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  3089. tap: log all TAP stream, even after a "Bail out!"
  3090. * lib/tap-driver ($bailed_out): New global boolean variable,
  3091. telling whether a "Bail out!" directive has been seen or not.
  3092. (handle_tap_bailout): This function does not anymore stop the
  3093. reading from TAP stream; instead, it sets `$bailed_out' to a
  3094. true value, so that only the subsequent parsing of the input
  3095. TAP stream is stopped.
  3096. (finish): Remove, no more needed, its contents inlined into ...
  3097. (main): ... this function, with related adjustments in the code
  3098. flow.
  3099. (get_test_exit_message): Do not "flush" the input TAP stream
  3100. to fetch the exit status of test script, it is not anymore
  3101. required. Add a sanity check.
  3102. * tests/tap-bailout-and-logging.test: New test.
  3103. * tests/Makefile.am (tap_with_common_setup_tests): Update.
  3104. 2011-08-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  3105. coverage: TAP diagnostics after "Bail out!" aren't reported
  3106. This is compatible with the behaviour of the `prove' utility.
  3107. * tests/tap-bailout-suppress-later-diagnostic.test: New test.
  3108. * tests/Makefile.am (tap_with_common_setup_tests): Update.
  3109. 2011-08-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  3110. coverage: TAP errors after a "Bail out!" directive aren't reported
  3111. This is compatible with the behaviour of the `prove' utility.
  3112. * tests/tap-bailout-suppress-later-errors.test: New test.
  3113. * tests/tap-bailout-badexit.test: Renamed ...
  3114. * tests/tap-bailout-suppress-badexit.test: ... to this, for
  3115. consistency.
  3116. * tests/Makefile.am (tap_with_common_setup_tests): Update.
  3117. 2011-08-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  3118. testsuite: reorganize tests on TAP plans
  3119. * tests/tap-skip-whole.test: Rename ...
  3120. * tests/tap-planskip.test: ... to this
  3121. * tests/tap-skip-whole-badexit.test: Rename ...
  3122. * tests/tap-planskip-badexit.test: ... to this.
  3123. * tests/tap-skip-whole-bailout.test: Rename ...
  3124. * tests/tap-planskip-bailout.test: ... to this.
  3125. * tests/tap-skip-whole-bailout.test: Rename ...
  3126. * tests/tap-planskip-later-errors.test: ... to this.
  3127. * tests/tap-skip-whole-unplanned.test: Rename ...
  3128. * tests/tap-planskip-unplanned.test: ... to this.
  3129. * tests/tap-skip-whole-whitespace.test: Rename ...
  3130. * tests/tap-planskip-whitespace.test: ... to this.
  3131. * tests/tap-skip-whole-continue.test: Rename ...
  3132. * tests/tap-planskip-and-logging.test: ... to this, extend to try
  3133. more cases, and fix heading comments.
  3134. * tests/tap-skip-whole-lastline.test: Rename ...
  3135. * tests/tap-planskip-late.test: ... to this, fix heading comments,
  3136. and remove some checks that are just a duplication of those already
  3137. performed in the previous script.
  3138. * tests/tap-results-with-planskip.test: Rename to ...
  3139. * tests/tap-planskip-unplanned-corner.test: ... this, and improve
  3140. hading comments.
  3141. * tests/tap-planskip-later-errors.test: New test.
  3142. * tests/Makefile.am (tap_with_common_setup_tests): Update.
  3143. 2011-08-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  3144. coverage: more TAP driver consistency w.r.t. 'prove'
  3145. * tests/skip-results-with-planskip.test: New test, verifies that
  3146. test results seen in a TAP stream that has a "plan with SKIP" are
  3147. flagged as errors.
  3148. * tests/Makefile.am (tap_with_common_setup_tests): Update.
  3149. 2011-08-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  3150. tap: improve some comments in the TAP driver
  3151. * lib/tap-driver (handle_tap_plan): Improve comments describing
  3152. possible errors in a "plan with SKIP" directive.
  3153. 2011-08-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  3154. tap: non-zero exit status after "Bail out!" should not be reported
  3155. This new behaviour is more consistent with that of the `prove'
  3156. utility. Also, experience with the use of TAP in the Automake's
  3157. own test suite has shown that reporting non-zero exit status from
  3158. a script after it has issued a "Bail out!" directive is mostly
  3159. redundant, more introducing noise rather than conveying useful
  3160. information.
  3161. * lib/tap-driver (finish): Inline the part of it that was getting
  3162. the script exit status ...
  3163. (main): ... in here.
  3164. * tests/tap-bailout-badexit.test: New test.
  3165. * tests/Makefile.am (tap_with_common_setup_tests): Update.
  3166. 2011-08-11 Stefano Lattarini <stefano.lattarini@gmail.com>
  3167. tap: a "plan with SKIP" after test results is an error
  3168. This new behaviour is both more natural and more consistent with
  3169. that of the `prove' utility.
  3170. * lib/tap-driver (handle_tap_plan): Do not stop TAP parsing when
  3171. a "plan with SKIP" line (e.g., "1..0 # SKIP") is encountered, and
  3172. do not print a "SKIP" line if some TAP result has already been
  3173. seen.
  3174. * tests/tap-skip-whole.test: Adapt.
  3175. * tests/tap-skip-whole-lastline.test: Likewise.
  3176. * tests/tap-global-result.test: Adapt and extend.
  3177. * tests/tap-skip-plan-errors.test: Likewise, and fix an obsolete
  3178. small part of a comment.
  3179. * tests/tap-skip-whole-bailout.test: New test.
  3180. * tests/tap-skip-whole-unplanned.test: Likewise.
  3181. * tests/tap-skip-whole-continue.test: Likewise.
  3182. * tests/Makefile.am (tap_with_common_setup_tests): Update.
  3183. 2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  3184. test harness: avoid possible fork bomb
  3185. This fixes a regression w.r.t. the master branch, exposed by
  3186. test 'parallel-tests-fork-bomb.test'.
  3187. * lib/am/check.am (am--redo-logs): Detect possible infinite
  3188. recursion due to a test log in $(TEST_LOGS) being the same
  3189. as $(TEST_SUITE_LOG).
  3190. 2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  3191. coverage: enhance test against infinite recursion in test harness
  3192. * tests/parallel-tests-fork-bomb.test: Enhance and extend a
  3193. little now, for soon-to-be-implemented more explicit and safer
  3194. semantics.
  3195. 2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  3196. coverage: possible infinite recursion in the test harness
  3197. Motivated by a regression in the 'test-protocols' branch.
  3198. * tests/parallel-tests-fork-bomb.test: New test, checking that
  3199. if $(TEST_SUITE_LOG) is in $(TEST_LOGS), we obtain a diagnosed
  3200. error rather than a make hang or a fork bomb.
  3201. * tests/Makefile.am (TESTS): Update.
  3202. 2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  3203. test defs: yet more environment cleanup
  3204. * tests/defs: Also unset the TEST_SUITE_LOG variable.
  3205. 2011-08-14 Stefano Lattarini <stefano.lattarini@gmail.com>
  3206. self tests: some minor refactoring
  3207. * tests/self-check-exit.tap: Disable the `errexit' shell flag;
  3208. this allow to remove some boilerplate idioms and to make some
  3209. code slightly less cumbersome.
  3210. * tests/self-check-me.tap: Likewise.
  3211. 2011-08-14 Stefano Lattarini <stefano.lattarini@gmail.com>
  3212. maintcheck: look for TAP-based tests without TAP plan
  3213. * Makefile.am (sc_tests_tap_plan): New maintainer check.
  3214. (syntax_check_rules): Add it.
  3215. * tests/suffix10.tap: Declare a TAP plan.
  3216. * tests/add-missing.tap: Likewise.
  3217. 2011-08-14 Stefano Lattarini <stefano.lattarini@gmail.com>
  3218. testsuite: avoid confusing SKIP messages for errored tests
  3219. * tests/defs [$use_tap] (exit trap): Don't print the test plan
  3220. in case the client script exited with a non-zero status. This
  3221. avoids the display of redundant "SKIP" messages for tests with
  3222. lazy plans that error out before any test is run.
  3223. 2011-08-13 Stefano Lattarini <stefano.lattarini@gmail.com>
  3224. testsuite: keep more debugging info around in 'add-missing.tap'
  3225. * tests/add-missing.tap: Use a different directory for each test,
  3226. so that in case of failure more information is kept around.
  3227. Since we are at it, remove redundant TAP diagnostic, and define
  3228. `$am_create_testdir' to "empty" to avoid bringing in unused
  3229. auxiliary files.
  3230. 2011-08-13 Stefano Lattarini <stefano.lattarini@gmail.com>
  3231. testsuite: more granular count of test results in our TAP library
  3232. * tests/tap-functions.sh ($tap_bad_count_): Removed, superseded
  3233. by ...
  3234. ($tap_fail_count_, $tap_xpass_count_): ... these new variables,
  3235. which keep more granular counts.
  3236. ($tap_pass_count_: New variable.
  3237. * tests/defs (exit trap): Adjust and simplify accordingly.
  3238. 2011-08-13 Stefano Lattarini <stefano.lattarini@gmail.com>
  3239. testsuite: fixlets and improvements in two long TAP-based tests
  3240. * tests/depmod.tap: Clean up the subdirectories used by tests that
  3241. passed, to avoid ending up with a too big test directory. This is
  3242. especially important since, on each and every system, at least some
  3243. tests in this script are expected to be skipped (which ones exactly
  3244. depends on the system), thus causing the test directory not to be
  3245. removed when the script terminates.
  3246. * tests/instspc.tap: Likewise (with the difference that tests here
  3247. are not expected to be skipped, but to xfail). Give more explicit
  3248. error message in case of setup failure. Skip the proper number of
  3249. tests when required, to avoid spurious errors due to mismatched
  3250. plan. Also, really avoid to run the unsupported test cases when
  3251. the need to skip them is detected.
  3252. 2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  3253. test harness: recursive make invocations must use $(AM_MAKEFLAGS)
  3254. * lib/am/check.am ($(TEST_SUITE_LOG)): Pass $(AM_MAKEFLAGS)
  3255. to $(MAKE) when issuing a recursive make call.
  3256. Problem detected by the `sc_tests_make_without_am_makeflags'
  3257. maintainer check.
  3258. 2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  3259. tests: fix spurious failure in 'suffix-chain.tap'
  3260. * tests/suffix-chain.test: Use more uncommon suffixes that
  3261. don't trigger built-in recipes with FreeBSD make.
  3262. 2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  3263. testsuite: improvements to our shell TAP library and APIs
  3264. These improvements impact only the Automake's own testsuite.
  3265. * tests/tap-functions.sh (plan_): Allow new special arguments
  3266. "unknown" a.k.a. "later" and "lazy" a.k.a. "now". Perform
  3267. sanity check the given arguments. Adjust incorrect comments.
  3268. (lazy_plan_): Removed, superseded by the new version of `plan_'.
  3269. (not): New function, run a command and inverts its exit status.
  3270. (ok_, not_ok_, skip_): These are just shorthands for common
  3271. `result_' usages.
  3272. (xfail_, xpass_, reset_test_count_): Removed, they are not used,
  3273. nor does a legitimate use for them seem in sight.
  3274. (not): New function, to run a command inverting its exit status.
  3275. (command_not_ok_): Removed, superseded by `command_ok_' + `not'.
  3276. (command_ok_): Extended to accept TAP directives.
  3277. * tests/defs (trap): Don't use `late_plan_' anymore, use
  3278. `plan_ "now"' instead.
  3279. * tests/ac-output-old.tap: Update to take advantage of the new
  3280. APIs.
  3281. * tests/self-check-env-sanitize.tap: Likewise.
  3282. * tests/suffix-chain.tap: Likewise.
  3283. * tests/suffix10.tap: Likewise.
  3284. * tests/suffix11.tap: Likewise.
  3285. * tests/suffix3.tap: Likewise.
  3286. * tests/suffix8.tap: Likewise.
  3287. * tests/tap-bad-prog.tap: Likewise.
  3288. * tests/self-check-exit.tap: Likewise, plus a small improvement
  3289. in the name of a variable.
  3290. 2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  3291. testsuite: convert some `suffix*' tests to TAP
  3292. This will allow us to explicitly declare some expected failures
  3293. involving Solaris make as such, instead of partly papering over
  3294. them with skips and partly letting them fail too loudly.
  3295. * tests/suffix-chain.test: Rename ...
  3296. * tests/suffix-chain.tap: ... to this, and convert to the use of
  3297. TAP. Also, fix some bugs since we are at it, and ...
  3298. ($required): ... require `cc'.
  3299. * tests/suffix3.test: Rename ...
  3300. * tests/suffix3.tap: ... to this, and convert to the use of TAP.
  3301. Also, since we are at it, throw in some formatting fixes.
  3302. * tests/suffix8.test: Rename ...
  3303. * tests/suffix8.tap: ... to this, and convert to the use of TAP.
  3304. Also, since we are at it, throw in some formatting fixes.
  3305. * tests/suffix10.test: Rename ...
  3306. * tests/suffix10.tap: ... to this, and convert to the use of TAP.
  3307. * tests/suffix11.test: Rename ...
  3308. * tests/suffix11.tap: ... to this, and convert to the use of TAP.
  3309. * tests/Makefile.am (TESTS): Update.
  3310. 2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  3311. tests: don't let a known Solaris make bug poison too many tests
  3312. See automake bug#7670 and bug#7824.
  3313. * tests/defs (make_can_chain_suffix_rules): New function, tell
  3314. whether the make implementation in use can chain suffix rules
  3315. automatically or not.
  3316. * tests/suffix3.test: Use it to avoid issuing calls to make that
  3317. are unportable to make implementations that are not smart enough
  3318. to chain suffix rules automatically.
  3319. * tests/suffix8.test: Use it to avoid issuing calls to make that
  3320. * tests/suffix10.test: Use it to avoid issuing calls to make that
  3321. * tests/suffix11.test: Use it to avoid issuing calls to make that
  3322. * tests/suffix-chain.test: New test, exposes the limitation that
  3323. we have papered over in the tests above.
  3324. 2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  3325. gitignore: more use of anchors
  3326. * .gitignore: Anchor files that are intended to be ignored only
  3327. if found in the same directory of the `.gitignore' file, not also
  3328. in its subdirectories.
  3329. * doc/.gitignore, doc/amhello/.gitignore, lib/Automake/.gitignore,
  3330. lib/Automake/tests/.gitignore, tests/.gitignore: Likewise. Also,
  3331. where needed, add new entries that were once implied by the
  3332. non-anchored entries in the upper-level `.gitignore' files.
  3333. 2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  3334. self tests: avoid spurious output on console, and related fixlets
  3335. * tests/self-check-cleanup.test: Set `$stderr_fileno_' to `2'
  3336. in the self tests, to avoid spurious diagnostic on console.
  3337. * tests/self-check-exit.tap: Only unset `am_explicit_skips' and
  3338. `$stderr_fileno_' in the self tests, not at the global level, it
  3339. is more correct.
  3340. ($init): New variable, to reduce code duplication.
  3341. Some refactoring and adjustments to the name of the tests.
  3342. 2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  3343. test defs: few more sanity checks
  3344. * tests/defs: Catch some more (very unlikely) set-up or internal
  3345. errors, and diagnose them explicitly. This is intended mostly
  3346. to be a theoretic-only improvement.
  3347. 2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  3348. test defs: really make them "set -e" clean
  3349. Motivated by a spurious failure of test `instsh3-w.shtst' on
  3350. Solaris 10.
  3351. * tests/defs: Make really "set -e" clean, to avoid spurious
  3352. failures in case this file is sourced by a test script that has
  3353. already set the `errexit' flag. To be sure we don't regress,
  3354. move the `set -e' call much earlier, and make the comment telling
  3355. about the expected "set -e" cleanliness more loud and outstanding.
  3356. 2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  3357. self tests: register an expected failures with Solaris /bin/sh
  3358. Solaris 10 /bin/sh erroneously exit with success right away when
  3359. the following three conditions are met at the same time:
  3360. 1. the `errexit' flag is active,
  3361. 2. an exit trap is installed, and
  3362. 3. a non-existing command is issued.
  3363. * tests/self-exit.tap: When that bug is detected, issue an XFAIL
  3364. rather than a FAIL. Since we are at it, improve by avoiding
  3365. creation of stray temporary files when testing for non-executable
  3366. commands.
  3367. 2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  3368. gitignore: update and improve for the testsuite files
  3369. * tests/.gitignore: Don't ignore temporary partial log files,
  3370. autogenerated tests and makefile fragments that are not used
  3371. anymore. Anchor all the remaining patterns.
  3372. 2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  3373. self tests: some new uses of TAP, few extensions
  3374. * tests/self-check-me.test: Renamed ...
  3375. * tests/self-check-me.tap: .. to this, and converted to use TAP.
  3376. * tests/self-check-exit.test: Renamed ...
  3377. * tests/self-check-exit.tap: .. to this, and converted to use TAP.
  3378. Set `$stderr_fileno_' to `2', to avoid spurious messages on the
  3379. console. Add a new test, and relax another one.
  3380. * tests/self-check-env-sanitize.test: Renamed ...
  3381. * tests/self-check-env-sanitize.tap: .. to this, and converted to
  3382. the use TAP.
  3383. * tests/Makefile.am (TESTS): Update.
  3384. 2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  3385. test defs: test directory creation more configurable
  3386. After this change, the individual tests will be able to tell
  3387. `./defs' whether or not to create a temporary test directory
  3388. for them, and if yes, whether or not to pre-populate it.
  3389. * tests/defs: Only create the temporary test directory if the
  3390. variable `$am_create_testdir' is not set to "no". In this
  3391. case, only pre-populate it if that variable is not set to
  3392. `$empty'.
  3393. * tests/defs-static.in: Check that `$am_create_testdir' is not
  3394. exported in the environment.
  3395. * tests/self-check-env-sanitize.test: Update.
  3396. * tests/self-check-dir.test: Extend, and make deeper and more
  3397. robust.
  3398. * tests/README (Section "Writing test cases" subsection "Do"):
  3399. Update.
  3400. * tests/autodist.test: Set `$am_create_testdir' instead of
  3401. removing by hand files created by ./defs.
  3402. * tests/tap-doc2.test: Likewise.
  3403. 2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  3404. testsuite: more uses of the `seq_' function
  3405. * tests/parallel-tests-exit-statuses.test: Use the `seq_' function
  3406. from `tests/defs', instead of duplicating its semantics.
  3407. * tests/testsuite-summary-count.test: Likewise.
  3408. 2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  3409. testsuite: drop redundant environment sanitization
  3410. * tests/Makefile.am (TESTS_ENVIRONMENT): Don't remove `planned'
  3411. from the environment.
  3412. * tests/defs-static.in: Don't complain if `planned' is set in
  3413. the environment.
  3414. * tests/self-check-env-sanitize.test: Update.
  3415. 2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  3416. test defs: fix bug in plain version of `skip_all_'
  3417. * tests/plain-functions.sh (skip_all_): Call `skip_', not `skip'.
  3418. 2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  3419. test defs: small cleanups and tweakings
  3420. * tests/defs: Where possible, prefer `framework_failure_' or
  3421. `fatal_' to `Exit 99'. Try to catch more possible hard errors
  3422. and setup failures. Do not hide expected error messages. Avoid
  3423. a couple of forks when copying files from `$(top_srcdir)/lib'.
  3424. ($signal): Remove, no more needed.
  3425. 2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  3426. testsuite: improve interface for giving early TAP plan
  3427. Since commit `v1.11-976-g4740f56', an early TAP plan can also be
  3428. specified after input lines have already been seen, as long as
  3429. no one of them is a TAP result line. We can now take advantage
  3430. of this in our own testsuite, allowing the TAP-based scripts to
  3431. specify their earlier plan after having included `./defs'. In
  3432. particular, this offers the benefit of allowing those scripts to
  3433. issue a "skip all" plan (e.g., "1..0 # SKIP reason ...") after
  3434. the inclusion of `./defs', which wasn't possible with the older
  3435. interface (introduced in commit `v1.11-1114-g0286308').
  3436. * tests/defs: Don't try to call `plan_' if `$planned' is defined,
  3437. the calling scripts can do that directly now.
  3438. * tests/ac-output-old.tap: Use `plan_' directly instead of
  3439. setting `$planned' before including `./defs'.
  3440. * tests/automake-cmdline.tap: Likewise.
  3441. * tests/depmod.tap: Likewise.
  3442. * tests/instspc.tap: Likewise.
  3443. * tests/tap-bad-prog.tap: Likewise.
  3444. * tests/add-missing.tap: Don't set `$planned'.
  3445. 2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  3446. test defs: fix bug in TAP version of `skip_all_'
  3447. * tests/tap-functions (skip_all_): Set `$have_tap_plan_' to "yes"
  3448. when called, so that the exit trap won't write another TAP plan.
  3449. 2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  3450. test defs: fix skip directives to work also with TAP-based tests
  3451. * test/defs: Use `skip_all_', not `skip_', to issue a skip of the
  3452. whole calling test script.
  3453. 2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  3454. test defs: more environment cleanup
  3455. * tests/defs: Also unset variables AM_COLOR_TESTS and
  3456. AM_TESTS_ENVIRONMENT.
  3457. 2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  3458. test harness: more minor VPATH-rewrite issues
  3459. * tests/am/check.am (am__set_TESTS_bases, $(TEST_SUITE_LOGS),
  3460. am--redo-logs, recheck, recheck-html): Cosmetic fixlets to
  3461. minimize the risk of unwanted VPATH rewrites.
  3462. (check-TESTS): Likewise, and normalize trailing whitespace
  3463. since we are at it.
  3464. Bugs exposed by test cases `check6-p.test' and `check7-p.test'.
  3465. 2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  3466. test harness: "make -n check" works correctly with Solaris make
  3467. To avoid some recipes being executed with "make -n", we used the
  3468. trick of issuing recursive make calls not directly with $(MAKE),
  3469. but with a simple indirection instead:
  3470. ...
  3471. am__stealth_MAKE = $(MAKE)
  3472. ...
  3473. target:
  3474. ... $(am__stealth_MAKE) ...
  3475. ...
  3476. This hack worked with GNU make, but, unfortunately, not with
  3477. Solaris make. The present change removes the hack, and uses more
  3478. proper idioms to avoid unwanted recipe executions with "make -n".
  3479. Bug exposed by test case `parallel-tests-dry-run.test'.
  3480. * lib/am/check.am (am__stealth_MAKE): Remove, no more used.
  3481. (.log.trs): Break recipe in multiple shell invocations.
  3482. ($(TEST_SUITE_LOG)): Likewise, and move some corner-case parts of
  3483. the recipe to ...
  3484. (am--redo-logs): ... this new internal helper .PHONY target.
  3485. 2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  3486. tests: fix spurious failure with Solaris make
  3487. * tests/distcheck-configure-flags-am.test: Avoid using `+=' too
  3488. liberally with AM_DISTCHECK_CONFIGURE_FLAGS, since the line breaks
  3489. so introduced, in conjunction with single quotes, might confuse
  3490. Solaris make.
  3491. 2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  3492. test harness: fixlet in workaround for VPATH rewrite issue
  3493. Fixes a minor in previous commit `v1.11-983-gfda3de5'.
  3494. * lib/am/check.am (am__set_TESTS_bases): Add forgotten end-of-line
  3495. anchor to sed expression. In comments, add reference to ...
  3496. * tests/test-trs-basic.test: ... this test, which has been adapted
  3497. and tightened (and tweaked).
  3498. 2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  3499. test harness: work around a VPATH rewrite issue
  3500. * lib/am/check.am (am__TEST_BASES): Removed, it's role taken
  3501. over by ...
  3502. (am__set_TESTS_bases): ... these new variable.
  3503. ($(TEST_SUITE_LOG): Use it, to avoid VPATH rewrite issues.
  3504. * automake.in (handle_tests): Update the code for the cleanup
  3505. of the `.trs' file to use `$(TEST_LOGS)' instead of
  3506. `$(am__TEST_BASES)'.
  3507. * tests/test-harness-vpath-rewrite.test: New test, better
  3508. exposing the problem fixed by this change
  3509. * tests/Makefile.am (TESTS): Add it.
  3510. * tests/test-trs-basic.test: Update and extend.
  3511. 2011-08-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  3512. parallel-tests: work around Solaris XPG4 make segfault
  3513. Issue exposed by test `posixsubst-tests-p.test', and similar to
  3514. the problem solved by commit `v1.11-159-ge7aa360'.
  3515. * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Trim trailing
  3516. whitespace from $list, to avoid triggering a nasty bug (potential
  3517. segfault) on Solaris XPG4 make and Heirloom make.
  3518. 2011-08-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  3519. testsuite: fix weird spurious failure with Solaris /bin/sh
  3520. Solaris /bin/sh, when killed with a SIGTERM or SIGINT signal, can
  3521. apparently end up exiting with exit status 208, instead of leaving
  3522. the correct wide exit status to the parent. See:
  3523. <http://dbaspot.com/shell/396118-bourne-shell-exit-code-term.html>
  3524. Work around this incompatibility.
  3525. * tap-signal.test: Look for the above Solaris bug.
  3526. (signal_caught): Adapt to handle it.
  3527. 2011-08-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  3528. testsuite: fix another spurious failure on Solaris make
  3529. * tests/parallel-tests-log-override-recheck.test: Filter make
  3530. output before grepping it, for make implementations that, like
  3531. Solaris' one, print the whole of the failed recipe on failure.
  3532. 2011-08-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  3533. testsuite: fix two spurious failures on Solaris make
  3534. * tests/tests-environment-and-log-compiler.test: Do not fail if
  3535. "make -n check" fails, as that is issued only for debugging, its
  3536. semantics being tested in other test scripts.
  3537. * tests/test-driver-strip-vpath.test: Likewise.
  3538. 2011-08-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  3539. tap driver: refactor and remove dead code
  3540. * lib/tap-driver (get_tap_line): Removed, ...
  3541. (all callers): ... updated to use $parser->next directly instead.
  3542. (peek_tap_line, unget_tap_line, @tap_lines): Remove, they're not
  3543. used anymore.
  3544. (TAP_PEEKING): Block deleted, all its subroutines and variables
  3545. having been removed.
  3546. 2011-08-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  3547. testsuite: fix spurious failure in a test on TAP support
  3548. * tests/tap-passthrough-exit.test: When the `--ignore-exit' flag
  3549. of the TAP driver is used, don't look for a message reporting the
  3550. non-zero exit statuses of tests in the log files; such message is
  3551. not expected to be there anymore. Related simplifications.
  3552. 2011-08-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  3553. tap: plan location is more liberal w.r.t. non-TAP lines
  3554. With this change, only lines that are TAP results will matter
  3555. w.r.t. the position of the TAP plan in the input; for example,
  3556. this input:
  3557. this is a non-TAP line
  3558. # and this a TAP diagnostic line
  3559. 1..1
  3560. ok 1
  3561. was considered to be an error, diagnosed with a message "test
  3562. plan in middle of output"; as effect of the current change, such
  3563. input is now valid. This is more consistent with the behaviour
  3564. of the `prove' utility.
  3565. * lib/tap-driver ($lineno): Removed, no more needed.
  3566. ($tap_stopped): New global variable.
  3567. (stringify_test_result): Return "ERROR" if a TAP result is found
  3568. when `$tap_stopped' is set to true.
  3569. (handle_tap_test): Diagnose TAP results that comes after a late
  3570. plan. Add a couple of blank lines, for clarity.
  3571. (handle_tap_plan): Set `$tap_stopped' to true after a late plan
  3572. is encountered. Do not complain anymore for extra non-TAP lines
  3573. preceding or following the plan. Adjust comments.
  3574. (main): Don't increment $lineno anymore.
  3575. * tests/tap-plan.test: Extend a bit, and remove stale comment.
  3576. * tests/tap-color.test: Adjust.
  3577. * tests/tap-passthrough.test: Likewise.
  3578. * tests/tap-plan-corner.test: Adjust and extend.
  3579. * tests/tap-plan-errors.test: Likewise.
  3580. * tests/tap-plan-middle.test: New test.
  3581. * tests/tap-plan-corner2.test: Delete, it's obsolete now.
  3582. * tests/Makefile.am (XFAIL_TESTS): Remove it.
  3583. (tap_with_common_setup_tests): Likewise, and add
  3584. `tap-plan-corner.test'.
  3585. 2011-08-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  3586. testsuite: remove now-passing test from XFAIL_TESTS
  3587. * tests/Makefile.am (XFAIL_TESTS): Remove `tap-signal.test',
  3588. which is passing since previous commit `v1.11-974-gc7fa872'.
  3589. 2011-08-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  3590. test defs: get name of TAP-using tests correctly
  3591. This change fixes the names of the temporary directories used
  3592. by the TAP-based tests (e.g., test `foo.tap' now uses `foo.dir'
  3593. rather than `foo.tap.dir'); more importantly, this make the
  3594. variable `$destdir' defined in `tests/defs' usable also in the
  3595. TAP tests.
  3596. ($me): Also strip the any `.tap' suffix from the name of the
  3597. test.
  3598. 2011-08-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  3599. testsuite: TAP tests properly decide when to remove tempdirs
  3600. Before this change, the TAP tests in the Automake testsuite were
  3601. removing the temporary test directory even when they failed or
  3602. were skipped, thus making debugging more difficult.
  3603. * tests/tap-functions.sh (incr_tap_count): Removed, superseded
  3604. by ...
  3605. (incr_): ... this function, which can increment the value of any
  3606. variable passed to it.
  3607. (result_): Updated to use `incr_' instead of the now-removed
  3608. `incr_tap_count_'. Keep count of failures, xfailures, xpasses,
  3609. and skips, using ...
  3610. ($tap_skip_count_, $tap_bad_count, _$tap_xfail_count_): ...
  3611. these new variables.
  3612. * tests/defs (trap): Try to use their values to decide whether
  3613. the temporary directory being used by the test script should be
  3614. removed or not. Other code reorganizations. And move the code
  3615. for the removal of the temporary directory out to ...
  3616. (rm_rf_): ... this new subroutine.
  3617. (Main code): Use that instead of duplicating the code.
  3618. 2011-08-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  3619. testsuite: improve and refactor our custom TAP shell library
  3620. This change is mostly done in preparation for the next one.
  3621. * tests/tap-functions.sh (result_with_directive_): Merge into ...
  3622. (result_): ... this function, which has been greatly extended and
  3623. improved in various ways.
  3624. (ok_, not_ok_, skip_, xfail_, xpass_): Adjust.
  3625. Adjust comments. Remove an extra empty line.
  3626. * tests/instspc.tap: Use the new improved interface of `result_'.
  3627. * tests/tap-bad-prog.tap: Likewise.
  3628. 2011-08-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  3629. testsuite: update "user interface" description in tests/README
  3630. * tests/README (Subsection "Interpretation"): Mention the "ERROR"
  3631. outcome.
  3632. (Subsection "Getting details from failures"): Don't tell that the
  3633. test scripts can be run directly, this is not 100% true; anymore;
  3634. instead ...
  3635. (Subsection "About the tests"): ... use this new subsection to
  3636. explain how to run the tests (either simple or TAP-based) by hand.
  3637. (Subsection "Supported shells"): Extend to refer to TAP tests too.
  3638. 2011-08-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  3639. testsuite: TAP tests can have early plan now
  3640. * tests/defs: When using TAP, allow the user to specify the number
  3641. of tests through the `$planned' variable.
  3642. (trap): Do not print the auto-generated plan if an explicit one
  3643. has already been printed.
  3644. * tests/defs-static.in: Complain and bail out if the `$planned'
  3645. variable is exported in the environment. Reformat the code to
  3646. facilitate future additions.
  3647. * tests/Makefile.am (TESTS_ENVIRONMENT): Neutralize `$planned'.
  3648. * tests/self-check-env-sanitize.test: Update.
  3649. * tests/ac-output-old.tap: Give an explicit TAP plan, by defining
  3650. `$planned' just before including `./defs'.
  3651. * tests/depmode.tap: Likewise.
  3652. * tests/automake-cmdline.tap: Likewise.
  3653. * tests/tap-bad-prog.tap: Likewise.
  3654. * tests/instspc.tap: Likewise, and related adjustments.
  3655. * tests/add-missing.tap: Make it explicit that we have no a-priori
  3656. plan, and tell why.
  3657. 2011-08-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  3658. testsuite: run autogenerated tests with $(LOG_COMPILER) too
  3659. This change enhances consistency in the testsuite.
  3660. * tests/Makefile.am: Some cosmetic reordering, to keep the
  3661. definition of FOO_LOG_COMPILER near to the place where `.foo'
  3662. is added to $(TEST_EXTENSIONS).
  3663. (PTEST_LOG_COMPILER): Run `$(srcdir)/parallel-tests.sh' with
  3664. `$(LOG_COMPILER)', not with `$(SHELL)'.
  3665. (SHTST_LOG_COMPILER): Likewise.
  3666. 2011-08-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  3667. testsuite: run TAP and "plain" tests with the same $(LOG_COMPILER)
  3668. With this change, it will be easier to override, at make time, the
  3669. shell used to run the tests.
  3670. * tests/Makefile.am (LOG_COMPILER): Define to `$(SHELL)'.
  3671. (TEST_LOG_COMPILER): Re-define to `$(LOG_COMPILER)'.
  3672. (TAP_LOG_COMPILER): Likewise.
  3673. 2011-08-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  3674. testsuite: run TAP-based tests explicitly with $(SHELL)
  3675. * tests/Makefile.am (TAP_LOG_COMPILER): Define to `$(SHELL)'.
  3676. 2011-08-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  3677. tap driver: handle signals received by the tests being run
  3678. * lib/tap-driver (get_test_exit_message): Also deal with signals,
  3679. by using the `wait' method of the TAP::Parser object instead of
  3680. the `exit' method. This required the use of the standard perl
  3681. module `POSIX'.
  3682. * doc/automake.texi (Use TAP with the Automake test harness):
  3683. Document that `--ignore-exit' has effect also on terminating
  3684. signals. Add a "synchronizing" comment that references the tests
  3685. 'tap-exit.test' and 'tap-signal.test'.
  3686. * tests/tap-signal.test: Extend and adjust.
  3687. 2011-08-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  3688. test driver: a preparatory refactoring (2)
  3689. * lib/tap-driver (finish): Move code to fetch the message about
  3690. the exit status of the test being run to ...
  3691. (get_test_exit_message): ... this new subroutine.
  3692. 2011-08-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  3693. tap driver: a preparatory refactoring (1)
  3694. * lib/tap-driver (finish): Do not flush the TAP stream nor
  3695. fetch the exit status of the TAP producer if running with
  3696. the `--ignore-exit' option. Obviously, don't try to write
  3697. such exit status in the test log anymore.
  3698. 2011-08-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  3699. cosmetics: typofix in the name of a function in the TAP driver
  3700. * lib/tap-driver (testuite_error): Renamed ...
  3701. (testsuite_error): ... to this, and minor related reformatting.
  3702. 2011-08-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  3703. tap: scripts with a SKIP plan but with exit status != 0 must error
  3704. This change has been motivated by Automake's own testsuite. Some
  3705. TAP tests there were erroring out (due to unexpected, unhandled
  3706. failures) before having encountered TAP result, so that the
  3707. simple-minded shell library implementing TAP generation ended up
  3708. printing a "1..0" trailing test plan; this caused the script to be
  3709. reported as a SKIP rather than an ERROR -- a nasty false negative.
  3710. * lib/tap-driver: Add prototypes for each subroutine, to free up
  3711. the order in which they can be defined and called.
  3712. (main): Move the code checking for a bad exit status of the TAP
  3713. producer ...
  3714. (finish): ... here, and flush the TAP stream to ensure that the
  3715. parser always obtains the producer's exit status.
  3716. * tests/tap-skip-whole-badexit.test: New test.
  3717. * tests/Makefile.am (tap_with_common_setup_tests): Add it.
  3718. 2011-08-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  3719. tap: fix whitespace munging of diagnostic messages
  3720. * lib/tap-driver (extract_tap_comment): Pass the `g' flag to the
  3721. substitution operator, to strip also trailing whitespaces. Fixes
  3722. a failure in test `tap-whitespace-normalization.test'.
  3723. 2011-08-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  3724. testsuite: refactor and cleanup 'instspc.tap'
  3725. * tests/instspc.tap (is_in_list): New helper subroutine.
  3726. (expected_to_fail): Re-implement using it.
  3727. (define_problematic_string): Likewise. Also, rename the special
  3728. arguments `build-fail' and 'install-fail' to respectively
  3729. `builddir-fail' and `destdir-fail', and other related changes.
  3730. (Test data definition): Adapt.
  3731. ($instspc_xfail_builds_list): Renamed ...
  3732. ($builddir_xfails): ... to this.
  3733. ($instspc_xfail_installs_list): Renamed ...
  3734. ($destdir_xfails): ... to this.
  3735. ($instspc_names_list): Renamed ...
  3736. ($test_names_list): ... to this.
  3737. ($instspc_test_string): Renamed ...
  3738. ($test_string): ... to this.
  3739. Add some explicative and "FIXME" comments.
  3740. 2011-08-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  3741. testsuite: use TAP for `depmod*' tests, related simplifications
  3742. * tests/depmod-tests.sh: Delete this complex and multifarious
  3743. script, moving all it checks it used to perform into ...
  3744. * tests/depmod.tap: ... this TAP-based test script. And extend
  3745. it quite a bit, since the new form of the test was papering over
  3746. some pre-existing failures (this was due to the fact that the
  3747. values used for the VPATH were shorter in the new test script).
  3748. * tests/depmod-data.test: Deleted.
  3749. * tests/Makefile.am ($(srcdir)/depmod-tests.am): Don't include
  3750. nor generate it anymore.
  3751. (EXTRA_DIST): Don't distribute depmod-tests.sh anymore.
  3752. (TEST_EXTENSIONS): Remove '.depmod'.
  3753. (DEPMOD_LOG_COMPILER): Deleted.
  3754. (depmod-data.log, $(depmod_tests:.depmod=.log)): Delete
  3755. dependencies for these files, which are not used anymore.
  3756. ($(depmod_tests)): Delete this dummy dependency declaration.
  3757. (TESTS): Remove $(depmod_tests).
  3758. (handwritten_tests): Remove depmod-data.test, add depmod.tap.
  3759. * bootstrap: Don't generate tests/depmod-tests.am anymore.
  3760. 2011-08-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  3761. testsuite: use TAP for `instspc*' tests, related simplifications
  3762. * tests/instspc-tests.sh: Delete this complex and multifarious
  3763. script, moving all it checks it used to perform into ...
  3764. * tests/instspc.tap: ... this TAP-based test script.
  3765. * tests/instspc-data.test: Deleted.
  3766. * tests/Makefile.am ($(srcdir)/instspc-tests.am): Don't include
  3767. nor generate it anymore.
  3768. (EXTRA_DIST): Don't distribute instspc-tests.sh anymore.
  3769. (TEST_EXTENSIONS): Remove '.instspc'.
  3770. (INSTSPC_LOG_COMPILER): Deleted.
  3771. (XFAIL_TESTS): Remove $(instspc_xfail_tests).
  3772. (instspc-data.log, $(instspc_tests:.instspc=.log)): Delete
  3773. dependencies for these files, which are not used anymore.
  3774. ($(instspc_tests)): Delete this dummy dependency declaration.
  3775. (TESTS): Remove $(instspc_tests).
  3776. (handwritten_tests): Remove instspc-data.test, add instspc.tap.
  3777. * bootstrap: Don't generate tests/instspc-tests.am anymore.
  3778. 2011-08-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  3779. testsuite: do fd redirections with $(AM_TESTS_FD_REDIRECT)
  3780. * tests/Makefile.am: The redirections of file descriptors needed
  3781. by our test scripts is now done using the $(AM_TESTS_FD_REDIRECT)
  3782. variable (the new blessed way since commit `v1.11-906-gb9e9d54'),
  3783. not using an hack involving $(AM_TESTS_ENVIRONMENT). This has
  3784. the further benefit of allowing the use of $(TESTS_ENVIRONMENT)
  3785. again on part of the users.
  3786. * tests/Makefile.am (AM_TESTS_ENVIRONMENT): Remove redirection of
  3787. file descriptors.
  3788. (AM_TESTS_FD_REDIRECT): Redirect file descriptor 9 to original
  3789. stderr.
  3790. Comments adjusted.
  3791. * tests/plain-functions.sh ($stderr_fileno_): Update comment.
  3792. 2011-08-05 Stefano Lattarini <stefano.lattarini@gmail.com>
  3793. testsuite: use custom TAP diagnostic in our own tests
  3794. This change allow us to easily and transparently avoid spurious
  3795. TAP diagnostic in our own testsuite, with the help of the new
  3796. `--diagnostic-string' option of our TAP test driver.
  3797. * tests/Makefile.am (TAP_LOG_DRIVER_FLAGS): Also pass option
  3798. `--diagnostic-string' with value `#%#' (necessarily obtained
  3799. through some shell indirections).
  3800. * tests/tap-functions.sh (diag_): Assume that the string denoting
  3801. TAP diagnostic is stored in the `$diag_string_' variable. Update
  3802. comments.
  3803. ($diag_string_): Initialize to "#".
  3804. * tests/defs ($diag_string_): Re-define to "#%#".
  3805. (show_): Remove, it's obsolete now.
  3806. * add-missing.tap: Don't use `show_' anymore to avoid spurious
  3807. TAP diagnostic; `cat' should suffice now.
  3808. 2011-08-05 Stefano Lattarini <stefano.lattarini@gmail.com>
  3809. tap: fix typo in TAP driver version message
  3810. * lib/tap-driver (anonymous subroutine printing the script version
  3811. message): Add missing trailing newline to the version message.
  3812. 2011-08-05 Stefano Lattarini <stefano.lattarini@gmail.com>
  3813. tap docs: we don't support pragma or version directives (yet)
  3814. * doc/automake.texi (Incompatibilities with other TAP parsers
  3815. and drivers): Document that limitation. Normalize an unrelated
  3816. "TODO" item.
  3817. 2011-08-05 Stefano Lattarini <stefano.lattarini@gmail.com>
  3818. tap: new option to change the string designating TAP diagnostic
  3819. Here we introduce a new option `--diagnostic-string' in our TAP
  3820. test driver, that allows the user to specify which string should
  3821. denote the beginning of a TAP diagnostic line. This change is
  3822. not gratuitous, nor result if over-engineering: it is motivated
  3823. by real issues that have emerged during the use of TAP in the
  3824. Automake's own testsuite (see the commit `v1.11-1082-g9b967c2'
  3825. "testsuite: yet more use of TAP, and related extensions").
  3826. * doc/automake.texi (Use TAP with Automake test harness): Document
  3827. the new option.
  3828. (Incompatibilities with other TAP parsers and drivers): Report it
  3829. as a potential source of incompatibility.
  3830. * lib/tap-driver ($diag_string): New global variable, defaulting
  3831. to "#", and whose value can be changed ...
  3832. (Getopt::Long::GetOptions): ... by the newly recognized option
  3833. `--diagnostic-string'.
  3834. (handle_tap_comment): Subroutine removed, some of its simple logic
  3835. inlined ...
  3836. (main): ... in here, where now ...
  3837. (extract_tap_comment): ... this new subroutine is used.
  3838. ($USAGE): Adjust.
  3839. * tests/tap-diagnostic.test: Make one check slightly stricter.
  3840. * tests/tap-diag-custom.test: New test.
  3841. * tests/Makefile.am (tap_other_tests): Add it.
  3842. 2011-08-05 Stefano Lattarini <stefano.lattarini@gmail.com>
  3843. check: add small "synchronization" comment to `test-driver'
  3844. * lib/test-driver: Add comment to the code initializing ANSI color
  3845. escapes, telling to keep it in sync with the similar initialization
  3846. in `lib/am/check.am'.
  3847. 2011-08-05 Stefano Lattarini <stefano.lattarini@gmail.com>
  3848. maintcheck: fix spurious failure w.r.t. use of bare "exit"
  3849. * tests/check12.test: Cosmetic changes to avoid triggering a
  3850. spurious failure of the `sc_tests_Exit_not_exit' maintainer
  3851. check.
  3852. 2011-08-05 Stefano Lattarini <stefano.lattarini@gmail.com>
  3853. check: update comments to reflect recent heavy changes
  3854. * lib/am/check.am [%?PARALLEL_TESTS%]: Update the comments to
  3855. reflect the recent changes. Remove quite many comments that
  3856. were merely duplicating excerpts from the Automake manual.
  3857. 2011-08-05 Stefano Lattarini <stefano.lattarini@gmail.com>
  3858. check: small cleanups and refactorings in test harness and drivers
  3859. * lib/tap-driver (yn): New subroutine, converts a boolean value to
  3860. a "yes" or "no" string.
  3861. (write_test_results): Use it, and related reformatting.
  3862. * lib/test-driver (trap): Also remove the `.trs' file on signals,
  3863. for extra safety.
  3864. (fatal): Remove this function, it's never used.
  3865. ($logfile, $trsfile): Renamed ...
  3866. ($log_file, $trs_file): ... to these, for clarity, and in order to
  3867. be more consistent with the `tap-driver' script.
  3868. Improve a couple of comments.
  3869. * automake.in (handle_tests): Don't define anymore the now-obsolete
  3870. make macro `$(TEST_LOGS_TMP)', nor add it to the list of files to
  3871. be removed upon "make mostlyclean".
  3872. * lib/am/check.am ($(TEST_SUITE_LOG)): New shell function `f_ok',
  3873. tells whether a path refers to an existing, regular, readable file.
  3874. Use it throughout.
  3875. (recheck): Be safer w.r.t. make implementation that run recipes
  3876. with `errexit' shell flag active.
  3877. 2011-08-05 Stefano Lattarini <stefano.lattarini@gmail.com>
  3878. testsuite: use AM_TESTS_FD_REDIRECT where appropriate
  3879. * parallel-tests-interrupt.test: Use AM_TESTS_FD_REDIRECT, not
  3880. AM_TESTS_ENVIRONMENT, to define file descriptors' redirection
  3881. for "make check". Fix botched comment.
  3882. 2011-08-05 Stefano Lattarini <stefano.lattarini@gmail.com>
  3883. docs: some fixlets in documentation on testsuites support
  3884. * doc/automake.texi (Script-based Testsuites): Rename node ...
  3885. (Scripts-based Testsuites): ... to this. Break overly long lines
  3886. in an example (were causing problems with PDF output).
  3887. (Parallel Test Harness): Don't intend paragraphs that come after
  3888. examples or bulleted list.
  3889. (Overview of Custom Test Drivers Support): Fix typo s/the the/the/.
  3890. (Declaring Custom Test Drivers): When giving an aside, prefer comma
  3891. to parentheses, as it disrupts the reading flow less.
  3892. (API for Custom Test Drivers): Remove a sentence that was basically
  3893. duplicated from the previous subsection.
  3894. (Command-line arguments for test drivers): Don't intend paragraph
  3895. coming after an itemized list. Clarify wording and fix grammaros.
  3896. Add a couple of cross-references to earlier explanations of `.log'
  3897. and `.trs' files.
  3898. (Links and external resources): Node renamed ...
  3899. (Links and external resources on TAP): ... to this, for clarity.
  3900. Slightly extend and clarify introductory sentence.
  3901. 2011-08-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  3902. test harness: be aware of more metadata, simplify test drivers
  3903. * lib/am/check.am ($(TEST_SUITE_LOG)): When producing the
  3904. global test log, take into account the new metadata field
  3905. `:global-test-result:, to write nicely formatted RST section
  3906. titles, instead of leaving this chore to the individual test
  3907. drivers.
  3908. (am_rst_section): Re-introduce this variable, as removed in
  3909. commit `v1.11-870-ga27c9c4'.
  3910. * lib/test-driver, lib/tap-driver: Write the global test result
  3911. as metadata in the `.trs' file, not as (part of) a formatted RST
  3912. subsection title in the `.log' file. Related simplifications;
  3913. in particular, get rid of temporary files usage.
  3914. * doc/automake.texi (Log files generation and test results
  3915. recording): Document the new metadata.
  3916. * tests/check12.test: Update.
  3917. * tests/parallel-tests-harderror.test: Likewise.
  3918. * tests/parallel-tests-interrupt.test: Likewise.
  3919. * tests/parallel-tests-log-override-2.test: Likewise.
  3920. * tests/parallel-tests-log-override-recheck.test: Likewise.
  3921. * tests/parallel-tests-unreadable.test: Likewise.
  3922. * tests/tap-global-result.test: Likewise.
  3923. * tests/test-metadata-results.test: Likewise.
  3924. * tests/test-log.test: Likewise, and another minor unrelated fix.
  3925. * tests/test-metadata-global-result.test: New test.
  3926. * tests/Makefile.am (TESTS): Update.
  3927. 2011-08-03 Stefano Lattarini <stefano.lattarini@gmail.com>
  3928. tap: check that also a trailing TAP plan can hold a skip directive
  3929. * tests/tap-skip-whole-lastline.test: New test.
  3930. * tests/Makefile.am (tap_with_common_setup_tests): Add it.
  3931. 2011-08-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  3932. testsuite: more correct names for a couple of tests
  3933. * tests/parallel-tests-ext-driver.test: Rename ...
  3934. * tests/parallel-tests-log-compiler-1.test: ... to this, and
  3935. adjust heading comments.
  3936. * tests/parallel-tests-ext-driver-prog.test: Rename ...
  3937. * tests/parallel-tests-log-compiler-2.test: ... to this, and
  3938. adjust heading comments.
  3939. * tests/Makefile.am (TESTS): Update.
  3940. 2011-08-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  3941. testsuite: fix another spurious failure
  3942. * tests/parallel-tests-ext-driver.test: Name out custom/dummy
  3943. log compilers as `foo-compiler' rather `foo-driver'; not only
  3944. this is less confusing, it also avoids errors due to the dummy
  3945. log compiler `test-driver' overriding the `test-driver' helper
  3946. script installed by Automake.
  3947. * tests/parallel-tests-ext-driver-prog.test: Adjust heading
  3948. comments.
  3949. 2011-08-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  3950. testsuite: fix a spurious failure
  3951. * tests/parallel-tests-ext-driver.test: Exporting of environment
  3952. variables directly from $(LOG_COMPILER) variables is not allowed
  3953. anymore. Adjust to this.
  3954. 2011-08-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  3955. testsuite: yet more use of TAP, and related extensions
  3956. * tests/defs (show_): New function, display the contents of one or
  3957. more files on stdout, with bells & whistles (both for cosmetic and
  3958. practical reasons, the latter aimed at avoiding spurious TAP
  3959. diagnostic).
  3960. (AUTOMAKE_run): Extend and adapt to make it compatible with TAP
  3961. based tests. Since we are at it, make its implementation more
  3962. namespace-safe, and improve its command-line interface.
  3963. (AUTOMAKE_fails): Adapt to the new command-line interface of
  3964. `AUTOMAKE_run'.
  3965. * tests/add-missing.test: Renamed ...
  3966. * tests/add-missing.tap: ... to this, and converted to the use
  3967. of the TAP protocol, and of the new `show_' function.
  3968. * tests/automake.test: Renamed ...
  3969. * tests/automake-cmdline.tap: ... to this, and converted to the
  3970. use of the TAP protocol.
  3971. * tests/getopt.test: Adapt to the new command-line interface
  3972. of `AUTOMAKE_run'.
  3973. * tests/cond44.test: Likewise.
  3974. * tests/cond45.test: Likewise.
  3975. * tests/configure.test: Likewise.
  3976. * tests/license2.test: Likewise.
  3977. * tests/parallel-am.test: Likewise.
  3978. * tests/parallel-am3.test: Likewise.
  3979. * tests/tags2.test: Likewise.
  3980. * tests/werror3.test: Likewise.
  3981. * tests/werror4.test: Likewise.
  3982. * tests/amopts-variable-expansion.test: Likewise.
  3983. * tests/warnings-win-over-strictness.test: Likewise.
  3984. * tests/Makefile.am (TESTS): Update.
  3985. (TAP_LOG_DRIVER_FLAGS): Add `--merge', so that TAP diagnostic is
  3986. reported in the testsuite progress output.
  3987. 2011-08-03 Stefano Lattarini <stefano.lattarini@gmail.com>
  3988. maintcheck: fix more maintainer-check failures
  3989. * tests/test-driver-custom-no-html.test (no-rst): Use `EOF',
  3990. not `EoL', as the here-document delimiter.
  3991. * tests/test-trs-basic.test: Use `cat + here-doc' rather
  3992. than `echo' when creating the dummy test scripts, to please
  3993. maintainer-check.
  3994. * tests/test-trs-recover.test: Use creative quoting where
  3995. needed, to please maintainer-check.
  3996. * tests/parallel-tests-no-color-in-log.test: Likewise.
  3997. * tests/parallel-tests-dry-run.test: Likewise.
  3998. 2011-08-03 Stefano Lattarini <stefano.lattarini@gmail.com>
  3999. maintcheck: fix maintainer-check failures, both real and spurious
  4000. * tests/amhello-binpkg.test: Use "$MAKE", not bare "make".
  4001. * Makefile.am (sc_perl_local): Also allow perl special variable
  4002. `$~' to be localized. And be slightly laxer in the regexp, to
  4003. allow for usages like "local $_ = $foo;".
  4004. (sc_tests_overriding_macros_on_cmdline): Also allow for command
  4005. line overriding of the `DISABLE_HARD_ERRORS' make variable. Try
  4006. to avoid false positives for usages like "$MAKE || st=$?".
  4007. 2011-08-03 Bruno Haible <bruno@clisp.org>
  4008. docs: how to use '-I' option in AM_CPPFLAGS for best VPATH support
  4009. * doc/automake.texi (Program Variables): Recommend -I options to
  4010. both the build directory and the source directory when needed.
  4011. 2011-07-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  4012. tests: relax a test on amhello examples to cater to Solaris tar
  4013. * tests/amhello-binpkg.test: When the tar implementation in use
  4014. is not GNU tar, relax the tests on tar output, to avoid spurious
  4015. failures. For example, "tar cvf ..." with GNU tar can output
  4016. lines like "./usr/bin/hello" on the standard output, while with
  4017. Solaris tar it can output lines like "a ./usr/bin/hello 8K" on
  4018. standard output, and with Heirloom tar it can output lines like
  4019. "a ./usr/bin/hello 15 tape blocks" on standard error.
  4020. 2011-07-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  4021. test defs: function 'is_newest' now works also with directories
  4022. * tests/defs (is_newest): Call `find' with the `-prune' option,
  4023. so that it won't descend in the directories (which could cause
  4024. spurious results).
  4025. * tests/self-check-is_newest: Extend accordingly.
  4026. From a report by Jim Meyering, see automake bug#9147.
  4027. 2011-07-15 Benoit Sigoure <tsunanet@gmail.com>
  4028. docs: add references between the 2 sections on java support
  4029. * doc/automake.texi (Java Support, Java): Add cross-references.
  4030. 2011-07-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  4031. Sync auxiliary files from upstream.
  4032. * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub,
  4033. lib/texinfo.tex: Sync from upstream.
  4034. 2011-07-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  4035. tests: fix weakness in 'tests-environment-backcompat.test'
  4036. * tests/tests-environment-backcompat.test: Do not override the
  4037. content of xfailing test `baz.test' with a "weaker" version that
  4038. fails unconditionally: the test must fail only when the 'strict'
  4039. pragma is in use, in order not to reduce coverage.
  4040. 2011-07-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  4041. docs, tests: synchronize examples on silent-rules from config.site
  4042. * doc/automake.texi (Automake silent-rules Option): Reference test
  4043. 'silent-configsite.test' in comments.
  4044. 2011-07-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  4045. tests: portability fixes in tests on amhello examples
  4046. * tests/amhello-binpkg.test: Don't use "tar xzf too.tag.gz" to
  4047. extract a gzip-compressed tarball, that's unportable to some
  4048. tar implementations; use the "gzip -dc fo.tar.gz | tar xf -"
  4049. idiom instead.
  4050. * tests/amhello-cflags.test: Likewise.
  4051. * tests/amhello-cross-compile.test: Likewise.
  4052. Suggestion from Ralf Wildenhues.
  4053. 2011-07-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  4054. remake: add test ensuring that slower remakes don't hang
  4055. * tests/remake-subdir-long-time.test: New test.
  4056. * tests/Makefile.am (TESTS): Update.
  4057. Suggestion by Ralf Wildenhues.
  4058. 2011-07-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  4059. remake: fix outdated comment in configure.am
  4060. * lib/am/configure.am: Fix comment falsified by changes in
  4061. commit `v1.11-366-gbee9871'.
  4062. Suggestion by Ralf Wildenhues.
  4063. 2011-07-01 Stefano Lattarini <stefano.lattarini@gmail.com>
  4064. docs, tests: synchronize examples from docs to tests
  4065. * tests/README (Writing test cases): Give suggestions on how to
  4066. keep test cases and examples in the documentation synchronized.
  4067. * doc/automake.texi: Improve or fix existing testcase-referencing
  4068. comments, and add many new ones.
  4069. * HACKING (Administrivia): Suggest to test complex examples and
  4070. idioms from the manual.
  4071. * tests/specflg8.test: Improve synchronization with the example
  4072. in the manual.
  4073. * tests/output11.test:Likewise.
  4074. * tests/txinfo21.test:Likewise.
  4075. * tests/interp.test: Likewise.
  4076. * tests/amhello-cflags.test: New test.
  4077. * tests/amhello-cross-compile.test: Likewise.
  4078. * tests/amhello-binpkg.test: Likewise.
  4079. * tests/tests-environment-backcompat.test: Likewise.
  4080. * tests/parallel-tests-log-compiler-example.test: Likewise.
  4081. * tests/Makefile.am (TESTS): Update.
  4082. 2011-06-30 Stefano Lattarini <stefano.lattarini@gmail.com>
  4083. coverage: new test on parallel-tests TESTS runtime overriding
  4084. * tests/parallel-tests-cmdline-override.test: New test, check that
  4085. we can use indirections when overriding TESTS and TEST_LOGS from
  4086. the command line.
  4087. * tests/Makefile.am (TESTS): Update.
  4088. 2011-08-03 Stefano Lattarini <stefano.lattarini@gmail.com>
  4089. gitignore: ignore `*.trs' files in lib/Automake/tests
  4090. * lib/Automake/tests/.gitignore: Add `*.trs' pattern.
  4091. 2011-08-03 Stefano Lattarini <stefano.lattarini@gmail.com>
  4092. testsuite: list another "forgotten" test script in Makefile.am
  4093. * tests/Makefile.am (TESTS): Also list test script
  4094. `test-driver-trs-suffix-registered.test'; it had been introduced
  4095. in commit `v1.11-910-g0c81b43', but by mistake it wasn't added
  4096. to the list of tests in the Makefile back then.
  4097. 2011-08-03 Stefano Lattarini <stefano.lattarini@gmail.com>
  4098. testsuite: list "forgotten" test script in Makefile.am
  4099. * tests/Makefile.am (TESTS): Also list the test script
  4100. `parallel-tests-no-color-in-log.test'; it had been introduced in
  4101. commit `v1.11-899-geaac33f', but by mistake it wasn't added to
  4102. the list of tests in the Makefile back then.
  4103. 2011-08-03 Stefano Lattarini <stefano.lattarini@gmail.com>
  4104. testsuite: remove duplicated mention of a test in Makefile.am
  4105. * tests/Makefile.am (tap_other_tests): Remove `tap-empty.test',
  4106. it is already listed in `$(tap_with_common_setup_tests)'.
  4107. 2011-08-03 Stefano Lattarini <stefano.lattarini@gmail.com>
  4108. testsuite: one more use of TAP in our own tests
  4109. * tests/tap-bad-prog.test, tests/tap-bad-prog2.test: Merged
  4110. into ...
  4111. * tests/tap-bad-prog.tap: ... this TAP-generating test.
  4112. * tests/Makefile.am (tap_other_tests): Remove plan-bad-prog.test
  4113. and plan-bad-prog2.test.
  4114. (XFAIL_TESTS): Remove plan-bad-prog2.test.
  4115. (plan-bad-prog2.log): Remove.
  4116. 2011-08-03 Stefano Lattarini <stefano.lattarini@gmail.com>
  4117. testsuite: scaffolding to allow use of TAP in our own tests
  4118. Now that Automake has initial support for the TAP test protocol,
  4119. we can start "eating our own dog food" and rewrite some tests to
  4120. use TAP; this should allow for better granularity, especially in
  4121. the control of skips and expected failures. With this change, we
  4122. set up the initial scaffolding required by the planned TAP tests,
  4123. and convert few older tests to use TAP, mostly in order to verify
  4124. that there are no obvious errors. The tests in our testsuite that
  4125. use the TAP protocol will be marked by the new `.tap' extension.
  4126. * tests/plain-functions.sh: New file containing definition of
  4127. helper shell functions used by the "protocol-less" tests of the
  4128. Automake testsuite.
  4129. * tests/tap-functions.sh: New file containing definition of
  4130. helper shell functions used by the TAP-producing tests of the
  4131. Automake testsuite.
  4132. * tests/defs: Remove definitions of some functions that are
  4133. now defined in `plain-functions.sh'. Instead, source one of
  4134. `plain-functions.sh' or `tap-functions.sh', depending on whether
  4135. `$use_tap' is set to "no" or "yes".
  4136. (exit trap): Call `late_plan_' if `$use_tap' is true. Also,
  4137. unset shell traces before issuing the latest commands, to avoid
  4138. confusing the tap driver with spurious output.
  4139. * tests/defs-static.in ($use_tap): New variable, by default set
  4140. to "yes" if the calling test script has a `.tap' suffix, and to
  4141. "no" otherwise. The individual scripts can override it though.
  4142. In code sanity-checking the environment, verify that `$use_tap'
  4143. is not exported.
  4144. * tests/self-check-env-sanitize.test: Update, and small related
  4145. reformatting.
  4146. * tests/self-check-tap.test: New very minimal self test.
  4147. * tests/acoutbs.test, tests/acoutbs2.test, tests/acoutnoq.test,
  4148. tests/acoutpt.test, tests/acoutpt2.test, tests/acoutqnl.test:
  4149. Removed, merged into ...
  4150. * tests/ac-output-old.tap: ... this new test, that uses TAP.
  4151. * tests/Makefile.am (TAP_LOG_DRIVER): Define to invoke our own
  4152. `tap-driver' script.
  4153. (TAP_LOG_DRIVER_FLAGS): Define to `--merge', so that the stdout
  4154. and stderr of the test scripts remains synced.
  4155. (TEST_EXTENSIONS): Define, to add the `.tap' suffix; also list
  4156. the `.test' suffix explicitly.
  4157. (EXTRA_DIST): Distribute the new files `plain-functions.sh' and
  4158. `tap-functions.sh'.
  4159. ($(TEST_LOGS)): Depends on them.
  4160. (AM_TESTS_ENVIRONMENT): Ensure that `use_tap' is not exported in
  4161. the environment of the tests.
  4162. (TESTS): Update.
  4163. 2011-08-03 Stefano Lattarini <stefano.lattarini@gmail.com>
  4164. * NEWS: Fix typo, and related reformatting.
  4165. 2011-08-03 Stefano Lattarini <stefano.lattarini@gmail.com>
  4166. * NEWS: add mention of new experimental TAP support
  4167. 2011-08-02 Stefano Lattarini <stefano.lattarini@gmail.com>
  4168. testsuite: rename some test scripts
  4169. * tests/parallel-tests-am_tests_environment.test: Renamed ...
  4170. * tests/am-tests-environment.test: ... to this.
  4171. * tests/check-tests_environment.test: Renamed ...
  4172. * tests/tests-environment.test: ... to this.
  4173. * tests/parallel-test-driver-install.test: Renamed ...
  4174. * tests/parallel-tests-driver-install.test: ... to this.
  4175. * tests/parallel-tests-make-n.test: Renamed ...
  4176. * tests/parallel-tests-dry-run.test: ... to this.
  4177. * tests/Makefile.am (TESTS): Updated.
  4178. 2011-08-02 Stefano Lattarini <stefano.lattarini@gmail.com>
  4179. coverage: parallel-tests and lazy dependencies on EXTRA_PROGRAMS
  4180. * tests/parallel-tests-extra-programs.test: New test.
  4181. * tests/Makefile.am (TESTS): Update.
  4182. * doc/automake.texi (Parallel Test Harness): Add a comment
  4183. pointing to the new test.
  4184. 2011-08-02 Stefano Lattarini <stefano.lattarini@gmail.com>
  4185. docs: improve, extend and fix documentation on TAP support
  4186. * doc/automake.texi ("Using the TAP test protocol"): Divide this
  4187. section into ...
  4188. ("Introduction to TAP", "Use TAP with the Automake test harness",
  4189. "Incompatibilities with other TAP parsers and drivers", "Links
  4190. and external resources"): ... these subsections, extend them by
  4191. adding more information and examples, and improve them by removing
  4192. incomplete and/or temporary wordings and TODO items.
  4193. ("Script-based Testsuites", "Parallel Test Harness"): Add a couple
  4194. of anchors to improve the granularity of cross-references.
  4195. * tests/tap-doc2.test: New test, verifying the correctness of the
  4196. new examples given in the manual.
  4197. * tests/Makefile.am (tap_other_tests): Add the new test.
  4198. 2011-08-01 Stefano Lattarini <stefano.lattarini@gmail.com>
  4199. testsuite: separate the only failing check of an xfailing test
  4200. * tests/plan-bad-prog.test: Move the only failing check of this
  4201. test (i.e., the one about the total number of "ERROR" outcomes)
  4202. into ...
  4203. * tests/plan-bad-prog2.test: ... this new test.
  4204. * tests/Makefile.am (XFAIL_TESTS): Remove `plan-bad-prog.test',
  4205. add `plan-bad-prog2.test'.
  4206. (tap_other_tests): Add `plan-bad-prog2.test'.
  4207. (plan-bad-prog2.log): Depend on `plan-bad-prog.test'.
  4208. 2011-08-01 Stefano Lattarini <stefano.lattarini@gmail.com>
  4209. testsuite: fix spurious errors in an xfailing test on TAP support
  4210. * tests/plan-bad-prog.test: Fix typo in the name of the test
  4211. being made unreadable. Correct the wording of the potential
  4212. skip message, and simplify the condition under which the test
  4213. is to be skipped. Escape literal dots in grep regexps.
  4214. 2011-08-01 Stefano Lattarini <stefano.lattarini@gmail.com>
  4215. testsuite: better granularity in a couple of tests on TAP support
  4216. * tests/tap-summary-aux.sh: New auxiliary script, filled with code
  4217. moved out from ...
  4218. * tests/tap-summary.test: ... this test, from which the checks on
  4219. colored testsuite have further been moved into ...
  4220. * tests/tap-summary-color.test: ... this new test, which in turn
  4221. * tests/Makefile.am (tap_other_tests): Add `tap-summary-color.test'.
  4222. (EXTRA_DIST): Distribute `tap-summary-aux.sh'
  4223. (tap-summary.log): Depend on `tap-summary-aux.sh'.
  4224. (tap-summary-color.log): Likewise.
  4225. 2011-08-01 Stefano Lattarini <stefano.lattarini@gmail.com>
  4226. testsuite: optimize tests on TAP for speed and against duplication
  4227. The creation and configuration of common files and data used by
  4228. many tests on TAP is, with this change, factored out into a new
  4229. dedicated auxiliary test, from which those tests will depend upon.
  4230. This reduces code duplication in tests and, more importantly,
  4231. offers a noticeable speedup in the involved tests (30-40%).
  4232. * tests/tap-common-setup.test: New test, setting up the common
  4233. files and data used by various tests on TAP support.
  4234. * tests/tap-setup.sh: New file, to be sourced by tests wanting to
  4235. bring in data generated by `tap-common-setup.test'.
  4236. * tests/tap-autonumber.test: Update to use the pre-computed data
  4237. files.
  4238. * tests/tap-bailout.test: Likewise.
  4239. * tests/tap-color.test: Likewise.
  4240. * tests/tap-deps.test: Likewise.
  4241. * tests/tap-diagnostic.test: Likewise.
  4242. * tests/tap-empty-diagnostic.test: Likewise.
  4243. * tests/tap-empty.test: Likewise.
  4244. * tests/tap-escape-directive.test: Likewise.
  4245. * tests/tap-exit.test: Likewise.
  4246. * tests/tap-signal.test: Likewise.
  4247. * tests/tap-fancy.test: Likewise.
  4248. * tests/tap-fancy2.test: Likewise.
  4249. * tests/tap-global-log.test: Likewise.
  4250. * tests/tap-global-result.test: Likewise.
  4251. * tests/tap-html.test: Likewise.
  4252. * tests/tap-log.test: Likewise.
  4253. * tests/tap-merge-stdout-stderr.test: Likewise.
  4254. * tests/tap-no-merge-stdout-stderr.test: Likewise.
  4255. * tests/tap-message-0.test: Likewise.
  4256. * tests/tap-no-disable-hard-error.test: Likewise.
  4257. * tests/tap-no-spurious-summary.test: Likewise.
  4258. * tests/tap-no-spurious.test: Likewise.
  4259. * tests/tap-not-ok-skip.test: Likewise.
  4260. * tests/tap-numeric-description.test: Likewise.
  4261. * tests/tap-out-of-order.test: Likewise.
  4262. * tests/tap-passthrough.test: Likewise.
  4263. * tests/tap-passthrough-exit.test: Likewise.
  4264. * tests/tap-plan.test: Likewise.
  4265. * tests/tap-plan-corner.test: Likewise.
  4266. * tests/tap-plan-corner2.test: Likewise.
  4267. * tests/tap-plan-errors.test: Likewise.
  4268. * tests/tap-realtime.test: Likewise.
  4269. * tests/tap-recheck-logs.test: Likewise.
  4270. * tests/tap-skip-whole.test: Likewise.
  4271. * tests/tap-todo-skip-together.test: Likewise.
  4272. * tests/tap-todo-skip-whitespace.test: Likewise.
  4273. * tests/tap-todo-skip.test: Likewise.
  4274. * tests/tap-unplanned.test: Likewise.
  4275. * tests/tap-with-and-without-number.test: Likewise.
  4276. * tests/tap-xfail-tests.test: Likewise.
  4277. * tests/tap-skip-whole-whitespace.test: Likewise, and remove
  4278. redundant definitions of `$sp' and `$tab' (they are already
  4279. defined in `tests/defs').
  4280. * tests/tap-whitespace-normalization.test: Likewise.
  4281. * tests/Makefile.am (TESTS): Update.
  4282. (EXTRA_DIST): Distribute `tap-setup.sh'.
  4283. (tap_with_common_setup_tests, tap_with_common_setup_logs)): New
  4284. variables, holding respectively the list of tests using the files
  4285. pre-computed by `tap-common-setup.test', and the list of their
  4286. corresponding log files.
  4287. (tap_other_tests): New variable, holding the list of other tests
  4288. on TAP support.
  4289. ($(tap_with_common_setup_logs)): Depend on `tap-common-setup.log'
  4290. and `tap-setup.sh'.
  4291. 2011-08-01 Stefano Lattarini <stefano.lattarini@gmail.com>
  4292. test harness: use new `.trs' files to hold test metadata
  4293. With this change, the test harness will keep test metadata in
  4294. dedicated `.trs' files, instead of having them embedded into the
  4295. `.log' files. This allows for easier forward-compatibility and
  4296. extension of test metadata, and for more flexibility in the
  4297. format of the `.log' files. Note that this change makes the
  4298. `:end-metadata:' field obsolete.
  4299. * doc/automake.texi (Parallel Test Harness, Log files generation
  4300. and test results recording): Document the new APIs and behaviour;
  4301. some related minor rewordings and fixlets.
  4302. * NEWS: Update.
  4303. * automake.in (handle_tests): When bringing in the content of
  4304. `check2.am', substitute %BASE% with the basename of the `.log'
  4305. file being created by a rule. Add the generated `.trs' files
  4306. to the list of files to be cleaned by "make mostlyclean".
  4307. * lib/am/check.am (am__test_driver_flags): Rename ...
  4308. (am__common_driver_flags): ... to this, and remove the flags
  4309. `--test-name' and `--log-file' from it: they are now define in
  4310. the proper rules in `check2.am'.
  4311. (am__TEST_BASES): New internal variable, holding the names of
  4312. the tests, with any registered extension removed.
  4313. (am__stealth_MAKE): New internal variable, can be used instead of
  4314. $(MAKE) in recipes requiring a recursive call to make, but which
  4315. are not intended to be executed by "make -n".
  4316. (.log.trs): New suffix rule, to recover from deletion of `.trs'
  4317. files.
  4318. ($(TEST_SUITE_LOG)): Almost completely rewritten to follow the
  4319. new API of "test logs in `.log' files, test metadata in `.trs'
  4320. files". It goes to some length to work correctly in face of
  4321. unreadable or missing `.log' and `.trs' files, and to error out
  4322. with proper error messages when this is not possible.
  4323. [%?PARALLEL_TESTS%] (check-TESTS): Also remove relevant "stale"
  4324. `.trs' files (in addition to `.log files) before remaking the
  4325. $(TEST_SUITE_LOG).
  4326. (recheck, recheck-html): Look for the `:recheck:' field in the
  4327. `.trs' files, not in the `.log' files.
  4328. * lib/am/check2.am (?GENERIC?%EXT%.log, ?!GENERIC?%OBJ%): Adjust
  4329. the call to the test driver, in particularly passing the new
  4330. option `--trs-file'.
  4331. [%am__EXEEXT%] (?GENERIC?%EXT%$(EXEEXT).log): Likewise.
  4332. * lib/tap-driver ($USAGE): Adjust the help screen.
  4333. (Getopt::Long::GetOptions): Handle the `--trs-file' option,
  4334. through the use of ...
  4335. ($trs_file): ... this new global variable.
  4336. (finish): Write metadata for the test run to `$trs_file' rather
  4337. then to `$log_file', through the use of ...
  4338. (write_test_results): ... this new function.
  4339. * lib/test-driver (print_usage): Update the help screen.
  4340. (Option parsing): Handle the `--trs-file' option, through the
  4341. use of ...
  4342. ($resfile): ... this new global variable.
  4343. (Main code): Write metadata for the test run to `$trsfile' rather
  4344. than to `$logfile'.
  4345. Minor related adjustments to comments.
  4346. * tests/.gitignore: Ignore `*.trs' files.
  4347. * tests/parallel-tests-unreadable-log.test: Moved ...
  4348. * tests/parallel-tests-unreadable.test: ... to this, and extended
  4349. to also check the semantics for unreadable `.trs' files.
  4350. * tests/test-driver-end-metadata.test: Deleted as obsolete.
  4351. * tests/test-driver-metadata-no-leading-space.test: Likewise.
  4352. * tests/test-driver-global-log.test: Renamed ...
  4353. * tests/test-metadata-global-log.test: ... to this, and modified
  4354. as to verify the new APIs and semantics.
  4355. * tests/test-driver-recheck: Renamed ...
  4356. * tests/test-metadata-recheck.test: ... to this, and modified
  4357. likewise.
  4358. * tests/parallel-tests-once.test: New test.
  4359. * tests/parallel-tests-make-n.test: Likewise.
  4360. * test-metadata-results.test: Likewise.
  4361. * test-missing.test: Likewise.
  4362. * test-missing2.test: Likewise.
  4363. * test-trs-basic.test: Likewise.
  4364. * test-trs-recover.test: Likewise.
  4365. * test-trs-recover2.test: Likewise.
  4366. * tests/Makefile.am (TESTS): Update.
  4367. 2011-07-27 Stefano Lattarini <stefano.lattarini@gmail.com>
  4368. test harness: allow more metadata in log files
  4369. This change reworks and improves the parallel test harness to use
  4370. more specialized reStructuredText fields in the log files (instead
  4371. of relying on specially-placed of "magic lines" and more indirect
  4372. semantical formatting); the new fields are the following:
  4373. - ":recheck:": tell whether the associated test will have to be
  4374. re-run by "make recheck";
  4375. - ":copy-in-global-log:": tell whether the content of the log
  4376. file should be copied in the "global log" `test-suite.log';
  4377. - ":end-metadata:", which inhibits the scanning of the rest of
  4378. the log file (for what concerns test metadata).
  4379. Also, the special `:test-result:' value "END" has been removed,
  4380. superseded by the new `:end-metadata:' field.
  4381. * doc/automake.texi (Log files generation and test results
  4382. recording): Document the new API and semantics. Remove or fix
  4383. some obsolete comments.
  4384. * lib/am/check.am ($(TEST_SUITE_LOG), recheck, recheck-html):
  4385. Adjust comments and code.
  4386. * lib/tap-driver (finish): Adjust, with the help of ...
  4387. (must_recheck, copy_in_global_log): ... these new functions.
  4388. * lib/test-driver (Main code): Adjust, with the help of ...
  4389. ($recheck, $gcopy): ... these new variables.
  4390. * tests/trivial-test-driver: Update to obey the new APIs.
  4391. * tests/test-driver-recheck.test: Likewise.
  4392. * tests/test-driver-global-log.test: Likewise.
  4393. * tests/tap-passthrough.test: Relax the test, avoiding to check
  4394. what is written in `test-suite.log'; such check has been moved ...
  4395. * tests/tap-global-log.test: ... in this new test, and extended.
  4396. * tests/test-driver-metadata-no-leading-space.test: New test.
  4397. * tests/test-driver-end-test-results.test: Removed, it checked
  4398. the old APIs; superseded by ...
  4399. * tests/test-driver-end-metadata.test: ... this new test.
  4400. * tests/tap-log.test: Improve syncing with ...
  4401. * tests/test-log.test: ... this new test.
  4402. * tests/parallel-tests.test: Remove some duplication w.r.t. this
  4403. last new test. Updated heading comments.
  4404. * tests/Makefile.am (TESTS): Update.
  4405. 2011-07-27 Stefano Lattarini <stefano.lattarini@gmail.com>
  4406. testsuite: fix a spurious failure with non-bash shells
  4407. * tests/tap-fancy2.test: Remove an unportable use of backslashes
  4408. with the `echo' builtin, which was causing some shells (among them
  4409. bash and Debian /bin/ksh) to print a `\\' string, while other
  4410. shells (among them zsh, dash, and Solaris /bin/sh and /bin/ksh)
  4411. were unexpectedly printing a single `\' character. Since we are
  4412. at it, add a sanity check to ensure that this issue does not
  4413. resurface.
  4414. 2011-07-27 Stefano Lattarini <stefano.lattarini@gmail.com>
  4415. testsuite: fix spurious failures with Solaris /bin/sh
  4416. * tests/tap-more.test: Use `echo > file', not `: > file', to
  4417. create empty files in the "for" loops; this is required since,
  4418. as documented in the autoconf manual, Solaris 10 /bin/sh
  4419. "optimizes" away the `:' command after the first iteration,
  4420. even if it is redirected.
  4421. * tests/test-driver-custom-multitest-recheck2.test: Likewise.
  4422. * tests/tap-numeric-description.test: Partial rewrite to avoid
  4423. using positional parameters from the 10th onward, which are
  4424. unportable to Solaris /bin/sh (using `${10}' causes the shell
  4425. to die with "bad substitution").
  4426. 2011-07-31 Stefano Lattarini <stefano.lattarini@gmail.com>
  4427. simple tests: support developer-defined fd redirections
  4428. Motivated by coreutils bug#8846, and related discussions:
  4429. <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8846>
  4430. <http://lists.gnu.org/archive/html/bug-autoconf/2011-06/msg00002.html>
  4431. In those threads it has been shown how problematic it can be to do
  4432. portable file descriptor redirections in the testsuite when using
  4433. the Automake testsuite harness. This change should remedy to that
  4434. situation.
  4435. * lib/am/check2.am (?GENERIC?%EXT%$(EXEEXT).log,
  4436. ?GENERIC?%EXT%.log, ?!GENERIC?%OBJ%): Append redirection defined
  4437. in $(AM_TESTS_FD_REDIRECT) to the command-line invocations of the
  4438. test scripts.
  4439. * lib/am/check.am [!%?PARALLEL_TESTS%] $(check-TESTS): Likewise.
  4440. * NEWS: Update.
  4441. * doc/automake.texi (Script-based Testsuites): Document the new
  4442. feature.
  4443. * tests/check-fd-redirect.test: New test.
  4444. * tests/parallel-tests-fd-redirect.test: Likewise.
  4445. * tests/parallel-tests-am_tests_environment.test: Remove checks
  4446. about the use of redirections in AM_TESTS_ENVIRONMENT: they would
  4447. check deprecated (if not undefined) behaviour now. Strengthen a
  4448. couple of still valid checks, to keep the test more in sync with
  4449. the documentation. Improve debugging information.
  4450. * tests/Makefile.am (TESTS): Update.
  4451. 2011-07-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  4452. docs: rework and extend documentation on testsuites support
  4453. * doc/automake.texi (Generalities about Testing): New section.
  4454. (Simple Tests using parallel-tests): Section removed, merged
  4455. into ...
  4456. (Simple Tests): ... this one, which on the other hand has been
  4457. subdivided into ...
  4458. (Script-based Testsuites, Serial Test Harness, Parallel Test
  4459. Harness): ... these new subsection.
  4460. (DejaGnu Tests): Minor adjustments.
  4461. Other related typofixes and rewordings throughout the manual;
  4462. in particular, avoid to use the term "test driver" for three
  4463. different concepts (and use instead "test harness" and "test
  4464. runner" where appropriate).
  4465. * tests/tap-doc.test: New test.
  4466. * tests/tap-no-disable-hard-error.test: Likewise.
  4467. * tests/Makefile.am (TESTS): Update.
  4468. 2011-07-18 Stefano Lattarini <stefano.lattarini@gmail.com>
  4469. tap: support colorization of testsuite progress output
  4470. * lib/tap-driver (%COLORS): New variable (definition extracted
  4471. from `lib/am/check.am:$(am__tty_colors)', with some obvious
  4472. adjustments.
  4473. (report): Adjust to colorize console output when required,
  4474. using ...
  4475. (decorate_result): ... this new function.
  4476. (colored): New function, used by the one above.
  4477. * tests/tap-summary.test: Also run the checks when `color-tests'
  4478. is in use.
  4479. * tests/Makefile.am (XFAIL_TESTS): Remove `tap-color.test'.
  4480. 2011-07-18 Stefano Lattarini <stefano.lattarini@gmail.com>
  4481. tap: some preparatory refactoring (2)
  4482. This is a follow-up simplification.
  4483. * lib/tap-driver (console_output): Renamed ...
  4484. (report): ... to this, and extended to appropriately register
  4485. the test results when needed.
  4486. (testsuite_error, handle_tap_comment, handle_tap_test,
  4487. handle_tap_plan): Adjusted accordingly.
  4488. 2011-07-18 Stefano Lattarini <stefano.lattarini@gmail.com>
  4489. tap: some preparatory refactoring (1)
  4490. This refactoring is aimed at simplifying the introduction of
  4491. colored console output for the TAP driver.
  4492. * lib/tap-driver (console_output): Now accept two arguments, the
  4493. first one indicating which kind of thing is to be displayed (for
  4494. now only a test result or a diagnostic comment), and the second
  4495. one (if present) the message associated to it.
  4496. (handle_tap_test, handle_tap_comment, handle_tap_plan,
  4497. testsuite_error): Adapt to the new `console_output' interface.
  4498. 2011-07-18 Stefano Lattarini <stefano.lattarini@gmail.com>
  4499. tap: add experimental TAP-aware driver
  4500. * doc/automake.texi (Using the TAP test protocol): New section.
  4501. (Overview of Custom Test Drivers Support): Minor updates.
  4502. * lib/tap-driver: New script, TAP-aware test driver for Automake;
  4503. implemented in perl and based on TAP::Parser.
  4504. * lib/Makefile.am (dist_script_DATA): Add it.
  4505. * tests/tap-autonumber.test: New test.
  4506. * tests/tap-bailout.test: Likewise.
  4507. * tests/tap-basic.test: Likewise.
  4508. * tests/tap-deps.test: Likewise.
  4509. * tests/tap-diagnostic.test: Likewise.
  4510. * tests/tap-empty.test: Likewise.
  4511. * tests/tap-empty-diagnostic.test: Likewise.
  4512. * tests/tap-escape-directive.test: Likewise.
  4513. * tests/tap-exit.test: Likewise.
  4514. * tests/tap-fancy.test: Likewise.
  4515. * tests/tap-fancy2.test: Likewise.
  4516. * tests/tap-global-result.test: Likewise.
  4517. * tests/tap-html.test: Likewise.
  4518. * tests/tap-log.test: Likewise.
  4519. * tests/tap-merge-stdout-stderr.test: Likewise.
  4520. * tests/tap-more.test: Likewise.
  4521. * tests/tap-more2.test: Likewise.
  4522. * tests/tap-no-merge-stdout-stderr.test: Likewise.
  4523. * tests/tap-no-spurious-summary.test: Likewise.
  4524. * tests/tap-no-spurious.test: Likewise.
  4525. * tests/tap-not-ok-skip.test: Likewise.
  4526. * tests/tap-numeric-description.test: Likewise.
  4527. * tests/tap-out-of-order.test: Likewise.
  4528. * tests/tap-passthrough.test: Likewise.
  4529. * tests/tap-plan.test: Likewise.
  4530. * tests/tap-plan-errors.test: Likewise.
  4531. * tests/tap-plan-corner.test: Likewise.
  4532. * tests/tap-realtime.test: Likewise.
  4533. * tests/tap-recheck-logs.test: Likewise.
  4534. * tests/tap-recheck.test: Likewise.
  4535. * tests/tap-skip-whole.test: Likewise.
  4536. * tests/tap-summary.test: Likewise.
  4537. * tests/tap-todo-skip.test: Likewise.
  4538. * tests/tap-todo-skip-together.test: Likewise.
  4539. * tests/tap-todo-skip-whitespace.test: Likewise.
  4540. * tests/tap-skipall-whitespace.test: Likewise.
  4541. * tests/tap-unplanned.test: Likewise.
  4542. * tests/tap-whitespace-normalization.test: Likewise.
  4543. * tests/tap-with-and-without-number.test: Likewise.
  4544. * tests/tap-xfail-tests.test: Likewise.
  4545. * tests/tap-bad-prog.test: New xfailing test.
  4546. * tests/tap-color.test: Likewise.
  4547. * tests/tap-plan-corner2.test: Likewise.
  4548. * tests/tap-message-0.test: Likewise.
  4549. * tests/tap-signal.test: Likewise.
  4550. * tests/Makefile.am (TESTS, XFAIL_TESTS): Update.
  4551. 2011-07-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  4552. test defs: new auxiliary function 'count_test_results'
  4553. * tests/defs (count_test_results): New function.
  4554. * tests/check11.test: Use it.
  4555. * tests/test-driver-custom-multitest.test: Likewise.
  4556. * tests/test-driver-custom-multitest-recheck.test: Likewise.
  4557. * tests/test-driver-custom-multitest-recheck2.test: Likewise.
  4558. * tests/parallel-tests-log-override-recheck.test: Likewise.
  4559. * tests/parallel-tests-log-override-recheck.test: Likewise.
  4560. * tests/parallel-tests-no-spurious-summary.test: Likewise, and
  4561. slightly improve debugging output.
  4562. * tests/parallel-tests.test: Make use of `count_test_results'.
  4563. Also, make grepping of "make check" output slightly stricter
  4564. * tests/parallel-tests9.test: Likewise.
  4565. * tests/parallel-tests-log-override-2.test: Likewise, and throw
  4566. in a small optimization.
  4567. 2011-07-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  4568. parallel-tests: simplify testsuite summary
  4569. Prefer a more deterministic, "tabular" format for the testsuite
  4570. summary, always listing the numbers of passed, failed, xfailed,
  4571. xpassed, skipped and errored tests, even when these numbers are
  4572. zero. This simplify the logic of testsuite summary creation,
  4573. makes it more easily machine-parseable, and will probably allow
  4574. for easier addition of new kinds of test results in the future.
  4575. * lib/am/check.am (am__tty_colors_dummy): New make variable, to
  4576. reduce code duplication. Extracted from previous versions of
  4577. $(am__tty_colors), and extended by defining two new variables
  4578. `$mgn' and `$brg'.
  4579. [%?COLOR%, %!?COLOR%] (am__tty_colors): Use that new variable.
  4580. (am__text_box): Delete, is not needed anymore.
  4581. ($(TEST_SUITE_LOG)): Rewrite associated rules to implement the
  4582. new testsuite summary format.
  4583. * NEWS: Update.
  4584. * tests/check10.test: Don't run with the parallel-tests harness
  4585. too, that makes no sense anymore.
  4586. * tests/color.test: Update and adjust.
  4587. * tests/color2.test: Likewise.
  4588. * tests/parallel-tests.test: Likewise.
  4589. * tests/parallel-tests3.test: Likewise.
  4590. * tests/parallel-tests6.test: Likewise.
  4591. * tests/parallel-tests9.test: Likewise.
  4592. * tests/parallel-tests-unreadable-log.test: Likewise.
  4593. * tests/parallel-tests-empty-testlogs.test: Likewise.
  4594. * tests/parallel-tests-log-override-recheck.test: Likewise.
  4595. * tests/parallel-tests-no-spurious-summary.test: Likewise.
  4596. * tests/test-driver-custom-multitest.test: Likewise.
  4597. * tests/test-driver-end-test-results.test: Likewise.
  4598. * tests/parallel-tests-no-color-in-log.test: New test.
  4599. * tests/testsuite-summary-color.test: Likewise.
  4600. * tests/testsuite-summary-count.test: Likewise.
  4601. * tests/testsuite-summary-count-many.test: Likewise.
  4602. * tests/testsuite-summary-reference-log.test: Likewise.
  4603. * tests/testsuite-summary-checks.sh: New auxiliary script, used
  4604. by the new tests above.
  4605. * tests/extract-testsuite-summary: Likewise.
  4606. * tests/trivial-test-driver: Optimize for speed when there are
  4607. lots of of tests.
  4608. * tests/Makefile.am (EXTRA_DIST): Distribute them.
  4609. (testsuite-summary-color.log, testsuite-summary-count.log): Depend
  4610. on them.
  4611. (testsuite-summary-count-many.log): Depend on the auxiliary scripts
  4612. 'trivial-test-driver' and 'extract-testsuite-summary'.
  4613. (TESTS): Update.
  4614. 2011-07-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  4615. parallel-tests: new recognized test result 'ERROR'
  4616. * lib/am/check.am ($(TEST_SUITE_LOG)): Recognize a new test result
  4617. `ERROR'. Use it when encountering unreadable test logs (previously
  4618. a simple `FAIL' was used in this situations).
  4619. * lib/test-driver: Set the global test result to `ERROR' when the
  4620. test exit status is 99. When doing colorized output, color `ERROR'
  4621. results in magenta.
  4622. * doc/automake.texi (Log files generation and test results
  4623. recording): Update by listing `ERROR' too among the list of valid
  4624. `:test-results:' arguments.
  4625. * NEWS: Update.
  4626. * tests/trivial-test-driver: Update.
  4627. * tests/parallel-tests.test: Likewise.
  4628. * tests/parallel-tests-harderror.test: Likewise.
  4629. * tests/parallel-tests-no-spurious-summary.test: Likewise.
  4630. * tests/test-driver-global-log.test: Likewise.
  4631. * tests/test-driver-recheck.test: Likewise.
  4632. * tests/test-driver-custom-multitest-recheck.test: Likewise.
  4633. * tests/test-driver-custom-multitest-recheck2.test: Likewise.
  4634. * tests/test-driver-custom-multitest.test: Likewise.
  4635. * tests/test-driver-custom-no-html.test: Likewise.
  4636. * tests/test-driver-end-test-results.test: Likewise.
  4637. * tests/color.test: Likewise. Also, make stricter, and also test
  4638. from VPATH.
  4639. * tests/color2.test: Likewise, and improve syncing with color.test.
  4640. * tests/parallel-tests-exit-statuses.test: New test.
  4641. * tests/parallel-tests-console-output.test: Likewise.
  4642. * tests/Makefile.am (TESTS): Update.
  4643. 2011-07-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  4644. parallel-tests: make parsing of test results safer
  4645. The new code for parsing the testsuite-generated `.log' files,
  4646. as introduced in commit `v1.11-872-gc96b881', considers each
  4647. `:test-result:' field anywhere in a `.log' file as a declaration
  4648. of a test result, and accounts for it as such in the testsuite
  4649. summary. Unfortunately this could easily cause spurious test
  4650. failures being reported in the testsuite summary. This happened
  4651. in practice with the Automake's own testsuite; for example:
  4652. $ make check TESTS='check12-p.test'; echo exit: $?
  4653. ...
  4654. PASS: check12-p.test
  4655. =====================================
  4656. 4 of 5 tests failed
  4657. See tests/test-suite.log
  4658. Please report to bug-automake@gnu.org
  4659. =====================================
  4660. make[2]: *** [test-suite.log] Error 1
  4661. make: *** [check-am] Error 2
  4662. exit: 2
  4663. This change introduces a new special `:test-result:' "END", that,
  4664. when seen, prevents the rest of the log file from being parsed.
  4665. For more information, refer to the thread:
  4666. <http://lists.gnu.org/archive/html/automake-patches/2011-06/msg00199.html>
  4667. * lib/am/check.am ($(TEST_SUITE_LOG)): Stop the parsing of a log
  4668. file as soon as the special ":test-result:END" directive is seen.
  4669. Related changes and enhancements.
  4670. * lib/test-driver: Protect the rest of the log after the result
  4671. lined with a ":test-result:END" directive.
  4672. * doc/automake.texi (Log files generation and test results
  4673. recording): Update, and related improvements.
  4674. * tests/parallel-tests-no-spurious-summary.test: New test.
  4675. * tests/test-driver-end-test-results.test: Likewise.
  4676. * tests/Makefile.am (TESTS): Update.
  4677. 2011-06-29 Stefano Lattarini <stefano.lattarini@gmail.com>
  4678. docs: document custom test drivers and protocols
  4679. * doc/automake.texi (Simple Tests): Note that the TESTS_ENVIRONMENT
  4680. use suggested here is not portable to 'parallel-tests'.
  4681. (Simple Tests using parallel-tests): Document new restrictions on
  4682. the uses of TESTS_ENVIRONMENT and AM_TESTS_ENVIRONMENT.
  4683. (Custom Test Drivers): New section and node.
  4684. (Overview of Custom Test Drivers Support): New subsection.
  4685. (Declaring Custom Test Drivers in @file{Makefile.am}): Likewise.
  4686. (APIs for Custom Test Drivers): Likewise.
  4687. (Options): Update description of color-tests.
  4688. * lib/am/check ($(TEST_SUITE_LOG)): Remove comments that have been
  4689. moved into the manual.
  4690. (recheck, recheck-html): Minor adjustments to better conform to the
  4691. documentation (this should cause no semantic changes w.r.t. the
  4692. former behaviour); minor improvements and extensions to existing
  4693. comments.
  4694. * tests/test-driver-create-log-dir.test: New test.
  4695. * tests/test-driver-strip-vpath.test: Likewise.
  4696. * tests/test-driver-global-log.test: Likewise.
  4697. * tests/test-driver-recheck.test: Likewise.
  4698. * tests/Makefile.am (TESTS): Update.
  4699. 2011-07-24 Stefano Lattarini <stefano.lattarini@gmail.com>
  4700. tests: small enhancement to 'primary3.test'
  4701. * tests/primary3.test: Also test that the program named `foo.la'
  4702. has been effectively created.
  4703. 2011-07-24 Stefano Lattarini <stefano.lattarini@gmail.com>
  4704. tests: a small simplification in 'pr8365-remake-timing.test'
  4705. * tests/pr8365-remake-timing.test: Avoid redundant definition
  4706. and use of `$save_AUTOCONF' variable.
  4707. 2011-07-24 Stefano Lattarini <stefano.lattarini@gmail.com>
  4708. tests: remove an extra leading blank line
  4709. * tests/override-conditional-1.test: Remove extra blank line
  4710. placed before the shebang line.
  4711. 2011-07-18 Stefano Lattarini <stefano.lattarini@gmail.com>
  4712. tests: fix typos, grammaros and other blunders in comments
  4713. All affected files changed.
  4714. 2011-07-16 Stefano Lattarini <stefano.lattarini@gmail.com>
  4715. test defs: new subroutine 'seq_', simulating GNU seq(1)
  4716. * tests/defs (seq_): New subroutine.
  4717. * tests/instmany.test: Use it.
  4718. * tests/instmany-mans.test: Likewise.
  4719. * tests/instmany-python.test: Likewise.
  4720. * tests/self-check-seq.test: New self test.
  4721. * tests/Makefile.am (TESTS): Update.
  4722. 2011-07-16 Stefano Lattarini <stefano.lattarini@gmail.com>
  4723. tests: remove duplication about testing of config.* aux files
  4724. * tests/add-missing.test: Also check that the `AC_CANONICAL_SYSTEM'
  4725. autoconf macro causes the `config.sub' and `config.guess' scripts
  4726. to be installed by `automake --add-missing'. Since we are at it,
  4727. fix minor buglets and cosmetic issues in the `check_' function.
  4728. * tests/hosts.test: Removed, completely subsumed by the previous
  4729. test now.
  4730. * tests/Makefile.am (TESTS): Update.
  4731. 2011-07-16 Stefano Lattarini <stefano.lattarini@gmail.com>
  4732. tests: more uses of the 'unindent' subroutine
  4733. * tests/backcompat.test: Prefer `unindent' over plain `cat' for
  4734. here documents created from within a loop of if/else body.
  4735. * tests/backcompat2.test: Likewise.
  4736. * tests/backcompat4.test: Likewise.
  4737. * tests/init.test: Likewise.
  4738. * tests/instmany.test: Likewise.
  4739. * tests/instmany-mans.test: Likewise.
  4740. * tests/instmany-python.test: Likewise.
  4741. * tests/missing5.test: Likewise.
  4742. * tests/parallel-am2.test : Likewise.
  4743. * tests/parallel-am3.test : Likewise.
  4744. * tests/pr307.test: Likewise.
  4745. * tests/depend4.test: Likewise. Since we are at it, normalize
  4746. other code formatting.
  4747. * tests/instfail-java.test: Prefer `echo' over `cat' + here-doc
  4748. inside a for loop.
  4749. 2011-07-16 Stefano Lattarini <stefano.lattarini@gmail.com>
  4750. tests: avoid '##'-style comments inside recipe commands
  4751. * tests/autodist.test: Do not whitespace-indent `##' comments when
  4752. they are embedded in a makefile rule: having them indented is not
  4753. part of the Automake API, and might cause failures with e.g., Tru64
  4754. make.
  4755. * tests/autodist-subdir.test: Likewise.
  4756. * tests/backcompat.test: Likewise.
  4757. * tests/backcompat6.test: Likewise.
  4758. * tests/colon7.test: Likewise.
  4759. * tests/posixsubst-scripts.test: Likewise.
  4760. * tests/posixsubst-sources.test: Likewise.
  4761. 2011-07-16 Stefano Lattarini <stefano.lattarini@gmail.com>
  4762. tests: tweak, improve and extend tests on lisp support
  4763. * tests/lisp2.test: Prettify, and improve debugging output. Make
  4764. grepping of automake stderr stricter.
  4765. * tests/lisp7.test: Ensure verbose printing of captured make
  4766. output. Add trailing `:' command.
  4767. * tests/lisp8.test: Likewise.
  4768. * tests/lisp3.test: Likewise. Also, check that `.el' files and
  4769. compiled `.elc' files get installed by "make install", and
  4770. uninstalled by "make uninstall".
  4771. * tests/lisp4.test: Ensure installed `.el' files gets removed by
  4772. "make uninstall". Related changes. Add trailing `:' command.
  4773. * tests/lisp5.test: Likewise.
  4774. * tests/lisp6.test: Use proper m4 quoting in configure.in. Fix
  4775. use of blank lines, to improve clarity and symmetry. Fix typo in
  4776. comment. Add trailing `:' command.
  4777. 2011-07-16 Stefano Lattarini <stefano.lattarini@gmail.com>
  4778. tests: drop useless requirement in 'license.test'
  4779. * tests/license.test: Drop useless requirement "makeinfo". Add
  4780. an extra blank line, for clarity.
  4781. 2011-07-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  4782. tests defs: more uses of $top_testsrcdir
  4783. * tests/autodist-stamp-vti.test: Use `$top_testsrcdir' instead
  4784. of `$testsrcdir/..'.
  4785. * tests/repeated-options.test: Likewise.
  4786. * tests/suffix5.test: Likewise.
  4787. * tests/vtexi3.test: Likewise.
  4788. 2011-07-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  4789. self tests: fix typo in comment
  4790. * tests/self-check-exit.test: Fix typo in heading comments.
  4791. 2011-07-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  4792. tests: remove redundant settings of `errexit' shell flag
  4793. * tests/amhello-binpkg.test: Do not set the `errexit' shell
  4794. flag, as it is already set by `tests/defs'.
  4795. * tests/amhello-cflags.test: Likewise.
  4796. * tests/amhello-cross-compile.test: Likewise.
  4797. * tests/ansi2knr-deprecation.test: Likewise.
  4798. * tests/autodist-no-duplicate.test: Likewise.
  4799. * tests/distcheck-configure-flags-am.test: Likewise.
  4800. * tests/distcheck-configure-flags-subpkg.test: Likewise.
  4801. * tests/distcheck-configure-flags.test: Likewise.
  4802. * tests/distcheck-hook.test: Likewise.
  4803. * tests/distcheck-hook2.test: Likewise.
  4804. * tests/parallel-tests-am_tests_environment.test: Likewise.
  4805. * tests/parallel-tests-harderror.test: Likewise.
  4806. * tests/parallel-tests-log-compiler-example.test: Likewise.
  4807. * tests/parallel-tests-log-override-1.test: Likewise.
  4808. * tests/parallel-tests-log-override-2.test: Likewise.
  4809. * tests/parallel-tests-log-override-recheck.test: Likewise.
  4810. * tests/primary-prefix-couples-documented-valid.test: Likewise.
  4811. * tests/primary-prefix-couples-force-valid.test: Likewise.
  4812. * tests/primary-prefix-invalid-couples.test: Likewise.
  4813. * tests/primary-prefix-valid-couples.test: Likewise.
  4814. * tests/remake-subdir-from-subdir.test: Likewise.
  4815. * tests/remake-subdir-gnu.test: Likewise.
  4816. * tests/remake-subdir-long-time.test: Likewise.
  4817. * tests/remake-subdir.test: Likewise.
  4818. * tests/remake-subdir2.test: Likewise.
  4819. * tests/silent-configsite.test: Likewise.
  4820. * tests/tests-environment-backcompat.test: Likewise.
  4821. 2011-06-29 Stefano Lattarini <stefano.lattarini@gmail.com>
  4822. docs: explain why AM_TESTS_ENVIRONMENT must be semicolon-terminated
  4823. * doc/automake.texi (Simple Tests using parallel-tests): Ditto, and
  4824. related adjustments.
  4825. Suggestion by Ralf Wildenhues.
  4826. 2011-06-29 Stefano Lattarini <stefano.lattarini@gmail.com>
  4827. docs: fix unportable example of AM_TESTS_ENVIRONMENT usage
  4828. * doc/automake.texi (Simple Tests using parallel-tests): The
  4829. old example on AM_TESTS_ENVIRONMENT relied on unportable shell
  4830. features, and in particular didn't work with various Korn
  4831. Shells (see also commit `v1.11-925-g29ca903'). Give another
  4832. example, simpler this time, but still inspired to real-world
  4833. usage (the GNU coreutils testsuite).
  4834. 2011-06-28 Stefano Lattarini <stefano.lattarini@gmail.com>
  4835. yacc tests: fix bug in 'yacc-cxx.test'
  4836. * tests/yacc-cxx.test: Enable `errexit' shell flag (the lack of
  4837. which was masking the bug).
  4838. (bar.cxx): Rename to ...
  4839. (bar2.cxx): ... this, otherwise automake will (correctly) complain
  4840. that object `bar.o' is created by both `bar.cxx' and `bar.c++'.
  4841. (Makefile.am): Adjust.
  4842. 2011-06-28 Stefano Lattarini <stefano.lattarini@gmail.com>
  4843. lex tests: fix spurious link errors on Solaris
  4844. On Solaris 10, linking of lex-generated programs was failing in a
  4845. couple of lex tests with errors like this:
  4846. g++ -g -O2 -o joe joe.o -ll
  4847. Undefined symbol first referenced in file
  4848. yywrap() joe.o
  4849. ld: fatal: Symbol referencing errors. No output written to joe
  4850. collect2: ld returned 1 exit status
  4851. This change fixes it, also fixing at once potential problems for
  4852. systems that don't have a "lex library" (this happens for example
  4853. when cross-compiling from GNU/Linux to MinGW).
  4854. * tests/lex-depend-cxx.test (joe.ll, moe.l++): Define a dummy
  4855. `yywrap()' function.
  4856. * tests/lex-clean-cxx.test (mainfoo.cc, mainbar.cpp, mainbaz.c++,
  4857. mainqux.cxx): Likewise.
  4858. 2011-06-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  4859. docs: avoid a footnote, some related rewordings and improvements
  4860. * doc/automake.texi (Dist): Reword the part about automatically
  4861. distributed files to avoid a footnote. Since we are at it, extend
  4862. a bit, and add an example and a reference to a relevant test case.
  4863. 2011-06-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  4864. docs: minor cosmetic fixes
  4865. * doc/automake.texi: Break few overly long lines, throughout the
  4866. file.
  4867. ("Simple Tests"): Move @vindex for XFAIL_TESTS to the correct
  4868. position, i.e., before and not after the paragraph where it is
  4869. introduced.
  4870. ("Options" @item ansi2knr): Use @pxref instead of @xref. This
  4871. fixes a texinfo warning.
  4872. ("Other things Automake recognizes" @item AM_C_PROTOTYPES): Use
  4873. @pxref instead of @ref.
  4874. 2011-06-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  4875. help: improve text about automatically-distributed files
  4876. This change fixes automake bug#7819.
  4877. * automake.in (usage): Distinguish between files that are always
  4878. automatically distributed when found, and those which are only
  4879. "under certain conditions".
  4880. * doc/automake.texi (Basics of Distribution): Update accordingly.
  4881. * tests/autodist-subdir.test: Update.
  4882. * tests/autodist-no-duplicate.test: Likewise.
  4883. * tests/autodist.test: Likewise.
  4884. (configure.in): Remove useless call to AM_MAINTAINER_MODE.
  4885. 2011-06-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  4886. refactor: split 'usage' subroutine in automake
  4887. This change is related to automake bug#7819.
  4888. * automake.in (print_autodist_files): New subroutine,
  4889. extracted from ...
  4890. (usage): ... this, which now uses it.
  4891. * tests/autodist-no-duplicate.test: New test.
  4892. * tests/Makefile.am (TESTS): Update.
  4893. 2011-06-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  4894. tests: fix bug in 'autodist.test'
  4895. * tests/autodist.test: Avoid spurious failure due to no
  4896. `defs-static' file being found in the parent directory.
  4897. 2011-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
  4898. parallel-tests: allow each test to have multiple results
  4899. With this change, we improve the code creating the `test-suite.log'
  4900. global log and the console testsuite summary to make it able to
  4901. grasp multiple results per test script. This is required in order
  4902. to introduce the planned support for test protocols, like TAP and
  4903. SubUnit, which can indeed run multiple tests per test script, each
  4904. with its individual result.
  4905. The implementation makes use of a custom reStructuredText field
  4906. `:test-result:'.
  4907. Note that no new documentation is added by this change; that is
  4908. be left for follow-up changes.
  4909. * lib/check.am ($(TEST_SUITE_LOG)): When processing .log files,
  4910. recognize a report of a test's result only if it is declared with
  4911. the custom `:test-result:' reStructuredText field placed at the
  4912. beginning of a line. Extend and add explanatory comments.
  4913. (recheck, recheck-html): Add explanatory comments.
  4914. * lib/test-driver: Write an appropriate reStructuredText field
  4915. `:test-result:' in the generated log file. Use a reStructuredText
  4916. transition to better separate the test outcome report from the
  4917. test script's registered output. Improve comments.
  4918. * tests/test-driver-custom-xfail-tests.test: Adjust.
  4919. * tests/parallel-tests7.test: Adjust.
  4920. * tests/parallel-tests-empty-testlogs.test: New test.
  4921. * tests/parallel-tests-recheck-override.test: Likewise.
  4922. * tests/parallel-tests2.test: Extend and keep more in-sync with ...
  4923. * tests/test-driver-custom-html.test: ... this new related test.
  4924. * tests/test-driver-custom-no-html.test: New test.
  4925. * tests/test-driver-custom-multitest.test: Likewise.
  4926. * tests/test-driver-custom-multitest-recheck.test: Likewise.
  4927. * tests/test-driver-custom-multitest-recheck2.test: Likewise.
  4928. * tests/trivial-test-driver: New file, used by the last four tests
  4929. above.
  4930. * tests/Makefile.am (TESTS): Update.
  4931. (EXTRA_DIST): Distribute `trivial-test-driver'.
  4932. (test-driver-custom-multitest.log): Depend on `trivial-test-driver'.
  4933. (test-driver-custom-multitest-recheck.log): Likewise.
  4934. (test-driver-custom-multitest-recheck2.log): Likewise.
  4935. (test-driver-custom-html.log): Likewise.
  4936. 2011-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
  4937. parallel-tests: allow custom driver scripts
  4938. Allow suffix-based definition of custom "driver script" for the
  4939. test scripts. These driver scripts will be responsible of
  4940. launching the tests (or their corresponding $(LOG_COMPILER), if
  4941. they have an associated one), interpreting and displaying the
  4942. test results, and writing the `.log' files.
  4943. This new API should allow easy and flexible use of different
  4944. test protocols in the future; in particular, we plan to use it
  4945. to implement TAP and SubUnit harnesses.
  4946. Note that no new documentation is added by this change; that is
  4947. be left for follow-up changes.
  4948. * automake.in (handle_tests): Define default for $(LOG_DRIVER),
  4949. and, for any registered test extension `<ext>', define defaults
  4950. for $(<ext>_LOG_DRIVER). Substitute %DRIVER% using these new
  4951. variables, instead of the old internal $(am__test_driver). When
  4952. processing check2.am, also substitute %DRIVER_FLAGS%.
  4953. Require auxiliary script `test-driver' only if no driver has been
  4954. explicitly defined for the test script kinds.
  4955. * am/check2.am (?GENERIC?%EXT%$(EXEEXT).log, ?GENERIC?%EXT%.log,
  4956. ?!GENERIC?%OBJ%): Pass the %DRIVER_FLAGS% to the %DRIVER% call.
  4957. * tests/parallel-tests-no-extra-driver.test: New test.
  4958. * tests/test-driver-custom.test: Likewise.
  4959. * tests/test-driver-custom-xfail-tests.test: Likewise.
  4960. * tests/test-driver-fail.test: Likewise.
  4961. * tests/Makefile.am: Update.
  4962. * NEWS: Update.
  4963. 2011-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
  4964. parallel-tests: add auxiliary script 'test-driver', refactor
  4965. This refactoring should cause no API of functionality change,
  4966. and is meant only to simplify the future implementation of TAP
  4967. and SubUnit testsuite drivers. More precisely, our roadmap is
  4968. to move most of the "testsuite driving" features out of the
  4969. Automake-generated Makefiles, and into external scripts with
  4970. well-defined interfaces. This will allow the user to define
  4971. its own personalized testsuite drivers, and will also offer us
  4972. a framework upon which to implement our new TAP and SubUnit
  4973. drivers, all in a very unobtrusive way and retaining an high
  4974. degree of code reuse and backward-compatibility.
  4975. * lib/test-driver: New auxiliary script.
  4976. * lib/Makefile.am (dist_SCRIPT_DATA): Add it.
  4977. * automake.in (handle_tests): Require the new auxiliary script
  4978. `test-driver', and define a new internal makefile variable
  4979. `$(am__test_driver)', used to call it. Perform new substitution
  4980. on `DRIVER' when processing the `check2.am' file.
  4981. * lib/check.am (am__tty_colors): Define new shell variable
  4982. `$am__color_tests'.
  4983. (am__rst_section): Removed, its role taken over by the new
  4984. `test-driver' script.
  4985. (am__test_driver_flags): New variable, contains the command
  4986. line options passed to `test-driver'.
  4987. (am__check_pre): Do not deal with temporary files and exit
  4988. traps anymore, as the `test-driver' script takes care of that
  4989. now. Define shell variable `$am__enable_hard_errors', used by
  4990. `$(am__test_driver_flags)'. Reorder so that we don't need to
  4991. save and restore the value of the `TERM' environment variable
  4992. anymore.
  4993. Other related adjustments.
  4994. (am__check_post): Remove, as its role has been completely taken
  4995. over by the `test-driver' script.
  4996. * am/check2.am (?GENERIC?%EXT%$(EXEEXT).log, ?GENERIC?%EXT%.log,
  4997. ?!GENERIC?%OBJ%): Call the test script through the Automake
  4998. substituted `%DRIVER%', and honor the command-line options
  4999. in `$(am__test_driver_flags)'. Do not call the obsoleted
  5000. `$(am__check_post)' anymore.
  5001. * doc/automake.texi (Auxiliary Programs): Mention the new
  5002. `test-driver' script.
  5003. (Optional): Mention `test-driver' in AC_CONFIG_AUX_DIR.
  5004. Since we are at it, break the list of auxiliary scripts by
  5005. placing one per line, to simplify potential future additions
  5006. of new scripts.
  5007. * tests/check.test: Adjust.
  5008. * tests/check2.test : Likewise.
  5009. * tests/check3.test : Likewise.
  5010. * tests/check4.test : Likewise.
  5011. * tests/check10.test: Likewise.
  5012. * tests/color.test: Likewise.
  5013. * tests/color2.test: Likewise.
  5014. * tests/comment9.test: Likewise.
  5015. * tests/dejagnu.test: Likewise.
  5016. * tests/exeext4.test: Likewise.
  5017. * tests/maken3.test: Likewise.
  5018. * tests/maken4.test: Likewise.
  5019. * tests/parallel-tests-interrupt.test: Likewise.
  5020. * tests/posixsubst-tests.test: Likewise.
  5021. * tests/repeated-options.test: Likewise.
  5022. * tests/check-no-test-driver.test: New test.
  5023. * tests/parallel-test-driver-install.test: Likewise.
  5024. * tests/Makefile.am (TESTS): Update.
  5025. * NEWS: Update.
  5026. 2011-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
  5027. maintcheck: extend 'sc_tests_plain_*' checks
  5028. * Makefile.am (sc_tests_plain_autom4te): New check.
  5029. (sc_tests_plain_autoreconf): Likewise.
  5030. (sc_tests_plain_autoheader): Likewise.
  5031. (syntax_check_rules): Update.
  5032. 2011-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
  5033. tests: interactions between TESTS_ENVIRONMENT and LOG_COMPILER
  5034. * tests/tests-environment-and-log-compiler.test: New test,
  5035. checking that we can use variables and functions set by
  5036. TESTS_ENVIRONMENT and AM_TESTS_ENVIRONMENT in LOG_COMPILER
  5037. and LOG_FLAGS (for tests both with and without registered
  5038. extensions).
  5039. * tests/Makefile.am (TESTS): Update.
  5040. 2011-06-24 Stefano Lattarini <stefano.lattarini@gmail.com>
  5041. tests: make 'subst-no-trailing-empty-line.test' more robust
  5042. * tests/subst-no-trailing-empty-line.test: Strengthen existing
  5043. checks, to try more scenarios and be slightly stricter in some
  5044. grepping checks.
  5045. 2011-06-24 Stefano Lattarini <stefano.lattarini@gmail.com>
  5046. tests: fix an incomplete comment
  5047. * tests/subst-no-trailing-empty-line.test: Fix an incomplete
  5048. comment, and move it to a more proper place. Minor cosmetic
  5049. fixes to other comments.
  5050. 2011-06-20 Stefano Lattarini <stefano.lattarini@gmail.com>
  5051. maintcheck: avoid few more spurious failures
  5052. * tests/depmod-data.test: Use creative quoting to avoid
  5053. spuriously triggering the `sc_tests_Exit_not_exit' maintainer
  5054. check. Commit `v1.11-900-g3453b8e' attempted to fix it, but
  5055. succeeded only partially.
  5056. * tests/cond33.test: Fix header comments, not to reference
  5057. obsolescent make variable `$(mkdir_p)'.
  5058. * tests/cond4.test: Rewrite "$MAKE exp=..." as "exp=.. $MAKE -e",
  5059. to please `sc_tests_overriding_macros_on_cmdline'
  5060. * tests/cond19.test: Likewise.
  5061. * tests/cond32.test: Likewise.
  5062. * tests/add-missing.test: Use "AUTOMAKE_fails" instead of
  5063. "$AUTOMAKE ... && Exit 1", to please `sc_tests_automake_fails'.
  5064. 2011-06-20 Stefano Lattarini <stefano.lattarini@gmail.com>
  5065. maintcheck: avoid few spurious failures
  5066. * Makefile.am (sc_tests_plain_aclocal, sc_tests_plain_perl,
  5067. sc_tests_plain_autoconf, sc_tests_plain_automake,
  5068. sc_tests_plain_autoupate): Be stricter in matching an erroneous
  5069. literal command, i.e., `aclocal', `automake', `perl', etc.
  5070. 2011-06-20 Bert Wesarg <bert.wesarg@googlemail.com> (tiny change)
  5071. check: don't use multi-line coloring for the report
  5072. "less -R" can't handle multi-line coloring as it is done for the
  5073. check reports of the serial and parallel testsuite, because of
  5074. performance reasons. Thus, color each line of the check report
  5075. by its own.
  5076. * lib/am/check.am (am__text_box): Accept colors for lines, and
  5077. color each line by its own.
  5078. [%?PARALLEL_TESTS%] $(TEST_SUITE_LOG): Let am__text_box handle
  5079. the line coloring.
  5080. [!%?PARALLEL_TESTS%] $(check-TESTS): Color each report line by
  5081. its own.
  5082. * THANKS: Update.
  5083. 2011-06-18 Stefano Lattarini <stefano.lattarini@gmail.com>
  5084. docs: AM_DISTCHECK_CONFIGURE_FLAGS is for corner cases
  5085. * doc/automake.texi (Checking the Distribution): Explain that the
  5086. developers should take care of making their code buildable without
  5087. requiring any special configure options, so that in general
  5088. AM_DISTCHECK_CONFIGURE_FLAGS shouldn't be used. Give an example
  5089. of where its use is legitimate.
  5090. Suggestions from Ralf Wildenhues and Eric Blake.
  5091. 2011-06-14 Stefano Lattarini <stefano.lattarini@gmail.com>
  5092. ansi2knr: deprecate, it will go away in the next major release
  5093. * doc/automake.texi: Loudly and repeatedly state that the old
  5094. de-ANSI-fication features are now deprecated and will be removed
  5095. in the next major Automake release. Other related adjustments.
  5096. * lib/Automake/Options.pm (_process_option_list ): Give a warning
  5097. in the `obsolete' category when the `ansi2knr' option is used.
  5098. * m4/protos.m4 (AM_C_PROTOTYPES): Deprecate this macro: a warning
  5099. in the `obsolete' category will be emitted it if is used.
  5100. * tests/ansi2knr-deprecation.test: New test.
  5101. * tests/Makefile.am (TESTS): Update.
  5102. * tests/ansi.test: Adjust, by calling autoconf and/or automake
  5103. with the `-Wno-obsolete' flag.
  5104. * tests/ansi10.test: Likewise.
  5105. * tests/ansi2.test: Likewise.
  5106. * tests/ansi3.test: Likewise.
  5107. * tests/ansi3b.test: Likewise.
  5108. * tests/ansi4.test: Likewise.
  5109. * tests/ansi5.test: Likewise.
  5110. * tests/ansi6.test: Likewise.
  5111. * tests/ansi7.test: Likewise.
  5112. * tests/ansi8.test: Likewise.
  5113. * tests/ansi9.test: Likewise.
  5114. * tests/cxxansi.test: Likewise.
  5115. * tests/libobj8.test: Likewise.
  5116. * NEWS: Update about the future planned backward-incompatibility
  5117. due to the removal of de-ANSI-fication feature.
  5118. 2011-06-19 Stefano Lattarini <stefano.lattarini@gmail.com>
  5119. docs: primary/prefix combination "pkglib_PROGRAMS" is now invalid
  5120. * doc/automake.texi (Program Sources): pkglib_PROGRAMS is not a
  5121. valid combination anymore, so don't document it. Inconsistency
  5122. introduced in commit `v1.11-373-g9ca6326'.
  5123. 2011-06-19 Jim Meyering <meyering@redhat.com>
  5124. docs: replace obsolete @vindex entry with a useful one
  5125. * doc/automake.texi (Program Sources): Do not index obsolete
  5126. pkglib_PROGRAMS here. Do index pkglibexec_PROGRAMS.
  5127. 2011-06-18 Stefano Lattarini <stefano.lattarini@gmail.com>
  5128. tests: more checks on portable fd redirection in TESTS_ENVIRONMENT
  5129. * tests/tests-environment-fd-redirect.test: Extend by also using
  5130. a perl script among the tests. Run the test shell script with
  5131. the `errexit' flag active. Export `VERBOSE' to yes when running
  5132. "make check", to give more debugging information in case of
  5133. failures. Look for a Korn Shell also in `/usr/bin', not on only
  5134. in `/bin'.
  5135. 2011-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
  5136. tests: optimize tests on primary/prefix mismatch for speed
  5137. * tests/primary-prefix-invalid-couples.test: Partial rewrite, in
  5138. order to use just a single automake invocation rather than one
  5139. invocation for each invalid primary/prefix couple. This improves
  5140. the test script execution time by an order of magnitude.
  5141. Since we are at it, throw in some other improvements to avoid
  5142. unrelated automake warnings and failures that could potentially
  5143. cause false positives w.r.t. the automake exit status.
  5144. 2011-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
  5145. news: update w.r.t. introduction of AM_DISTCHECK_CONFIGURE_FLAGS
  5146. * NEWS (Miscellaneous changes): Update.
  5147. 2011-06-10 Stefano Lattarini <stefano.lattarini@gmail.com>
  5148. maintcheck: DISTCHECK_CONFIGURE_FLAGS can be defined on make cmdline
  5149. * Makefile.am (sc_tests_overriding_macros_on_cmdline): It's now
  5150. acceptable that the test scripts override DISTCHECK_CONFIGURE_FLAGS
  5151. on the make command line. Update comments accordingly. Since we
  5152. are at it, make the relevant grepping rules slightly tighter.
  5153. 2011-06-10 Stefano Lattarini <stefano.lattarini@gmail.com>
  5154. distcheck: add support for AM_DISTCHECK_CONFIGURE_FLAGS
  5155. * doc/automake.texi (Checking the Distribution): Suggest to use
  5156. AM_DISTCHECK_CONFIGURE_FLAGS, not DISTCHECK_CONFIGURE_FLAGS, to
  5157. define (in the top-level Makefile.am) extra flags to be passed
  5158. to configure at "make distcheck" time; DISTCHECK_CONFIGURE_FLAGS
  5159. should be reserved for the user. Add proper `@vindex' directive.
  5160. Document that AM_DISTCHECK_CONFIGURE_FLAGS is not honoured in a
  5161. subpackage Makefile.am, but the flags in it are passed down to
  5162. the configure script of the subpackage.
  5163. * lib/am/distdir.am (distcheck): Also pass the flags in
  5164. $(AM_DISTCHECK_CONFIGURE_FLAGS) to the configure invocation.
  5165. Update comments.
  5166. * tests/defs.in.test (AM_DISTCHECK_CONFIGURE_FLAGS,
  5167. DISTCHECK_CONFIGURE_FLAGS): Unset in case they are exported in
  5168. the environment, they might improperly influence our testsuite.
  5169. * tests/distcheck-configure-flags.test: New test.
  5170. * tests/distcheck-configure-flags-am.test: Likewise.
  5171. * tests/distcheck-configure-flags-subpkg.test: Likewise.
  5172. * distcheck-hook.test: Likewise.
  5173. * distcheck-hook2.test: Likewise.
  5174. * tests/Makefile.am (TESTS): Update.
  5175. Closes automake bug#8784.
  5176. 2010-06-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  5177. docs: better documentation for silent make rules
  5178. * doc/automake.texi (Options): Detailed description of the
  5179. automake option `silent-rules' moved from here ...
  5180. (Silent Make): ... into this new chapter, expanded, improved,
  5181. and subdivided into ...
  5182. (Make verbosity, Tricks For Silencing Make,
  5183. Automake silent-rules Option): ... these new sections.
  5184. (@menu, @detailmenu): Update.
  5185. * tests/silent-configsite.test: New test, checking that the
  5186. user can control default mode of silent-rules from config.site,
  5187. as is documented in the manual.
  5188. * tests/Makefile.am (TESTS): Updated.
  5189. 2011-06-11 Stefano Lattarini <stefano.lattarini@gmail.com>
  5190. Warnings about primary/prefix mismatch fixed and extended.
  5191. * automake.in (%standard_prefix): Add `doc' and `locale'.
  5192. Rename `pkgdatadir' to `pkgdata'. Similarly for`pkglibdir',
  5193. `pkgincludedir' and `pkglibexecdir'.
  5194. (handle_programs): List `pkglibexec', not `pkglib', among the
  5195. prefixes valid for the `PROGRAMS' primary.
  5196. (handle_data): List also `doc' among the prefixes valid for
  5197. the `DATA' primary. This is required by automake's own build
  5198. system.
  5199. * tests/dirforbid.test: Test removed, superseded by ...
  5200. * tests/primary-prefix-invalid-couples.test: ... this new test.
  5201. * tests/primary-prefix-valid-couples.test: New test.
  5202. * tests/primary-prefix-couples-documented-valid.test: Likewise.
  5203. * tests/primary-prefix-couples-force-valid.test: Likewise.
  5204. * tests/java3.test: Adjusted, and extended a bit.
  5205. * tests/Makefile.am (TESTS): Updated.
  5206. * NEWS: Updated.
  5207. From a report by Eric Blake.
  5208. 2011-06-14 Stefano Lattarini <stefano.lattarini@gmail.com>
  5209. tests: check portable fd redirection in TESTS_ENVIRONMENT
  5210. * tests/tests-environment-fd-redirect.test: New test.
  5211. * tests/Makefile.am (TESTS): Update.
  5212. Motivated by coreutils bug#8846:
  5213. <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8846>
  5214. See also following CC:ed thread on bug-autoconf list:
  5215. <http://lists.gnu.org/archive/html/bug-autoconf/2011-06/msg00002.html>
  5216. 2011-06-16 Stefano Lattarini <stefano.lattarini@gmail.com>
  5217. tests: make test 'self-check-reexec.test' more portable
  5218. * tests/self-check-reexec.test: Rewrite not to require a Korn
  5219. Shell able to grok variable expansions such as `${.sh.version}';
  5220. Solaris 10 /bin/ksh fails on this for example. Instead, just
  5221. require bash and a shell that is not bash.
  5222. 2011-06-14 Stefano Lattarini <stefano.lattarini@gmail.com>
  5223. Jim Meyering <meyering@redhat.com>
  5224. test defs: fix ksh-related portability bug in warning messages
  5225. Running "make check" normally prints a diagnostic to the outermost
  5226. stderr (usually a tty) to explain why a test is skipped, thus
  5227. giving better and faster feedback to the user. It used to do
  5228. so by redirecting file descriptor 9 to stderr (via "exec 9>&2")
  5229. before invoking the test scripts, which then would write any skip
  5230. explanation to file descriptor 9 via the `skip_' function defined
  5231. in `tests/defs'.
  5232. However, various Korn Shells (at least Solaris 10's /bin/ksh and
  5233. Debian GNU/Linux's /bin/ksh) and the HP-UX's /bin/sh close open
  5234. file descriptors > 2 upon an `exec' system call; thus the effects
  5235. of "exec 9>&2" are cancelled upon fork-and-exec, so we would get
  5236. a "Bad file number" diagnostic and no skip explanation with those
  5237. shells.
  5238. The present change remedies this situation.
  5239. * tests/Makefile.am (AM_TESTS_ENVIRONMENT): Redirect more portably,
  5240. via a trailing "9>&2", rather than the prior "exec 9>&2; ...". Add
  5241. explanatory comments.
  5242. * tests/defs (stderr_fileno_): Update the advice in comments.
  5243. Based on commit v8.12-82-g6b68745 "tests: accommodate HP-UX and
  5244. ksh-derived shells" in GNU coreutils.
  5245. Further references, with lots of discussion:
  5246. <http://lists.gnu.org/archive/html/bug-autoconf/2011-06/msg00002.html>
  5247. <http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/22488>
  5248. <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8846>
  5249. 2011-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
  5250. tests: remove 'test_prefer_config_shell' from the environment
  5251. Since commit `v1.11-910-g7df1a9b', the once user-overridable
  5252. variable `$test_prefer_config_shell' has become an internal
  5253. detail, and the test scripts now complain and bail out if it is
  5254. set in the environment.
  5255. * tests/Makefile.am (AM_TESTS_ENVIRONMENT): Unset the variable
  5256. `test_prefer_config_shell' if it is set in the environment.
  5257. 2011-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
  5258. tests: autogenerate list of wrapped tests for `lib/' shell scripts
  5259. * tests/gen-config-shell-tests: New script, generates distributed
  5260. makefile snippet `tests/config-shell-tests.am' to list all tests
  5261. that use the `get_shell_script' function, with names mangled to
  5262. use suffix `-w.shtst', in ...
  5263. * tests/Makefile.am (config_shell_tests): ... this macro, whose
  5264. definition has been consequently removed from Makefile.am.
  5265. (EXTRA_DIST): Distribute the new script.
  5266. ($(srcdir)/config-shell-tests.am): Generate using the new script.
  5267. (include): Include the `config-shell-tests.am' fragment.
  5268. * bootstrap: Invoke `tests/gen-config-shell-tests' to generate
  5269. `tests/config-shell-tests.am'.
  5270. * tests/.gitignore: Ignore `config-shell-tests.am'.
  5271. * tests/gen-parallel-tests: Fixlet in heading comments.
  5272. 2011-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
  5273. tests: test mdate-sh with /bin/sh too
  5274. * tests/mdate5.test: Fetch the `mdate-sh' script using the
  5275. `get_shell_script' function, and run it directly instead of
  5276. using `$SHELL'.
  5277. * tests/mdate6.test: Likewise. Since we are at it, make checks
  5278. on the `mdate-sh' output stricter, remove now unneeded calls to
  5279. aclocal and automake and creation/extension of `configure.in',
  5280. `Makefile.am' and `textutils.tex' files, and add a trailing `:'
  5281. command.
  5282. * tests/Makefile.am (config_shell_tests): Add `mdate5-w.shtst'
  5283. and `mdate6-w.shtst'.
  5284. 2011-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
  5285. tests: extend tests on `--add-missing' and `--copy' a bit
  5286. * tests/add-missing.test: Fix typo in heading comments. Try with
  5287. another testcase that install many (but not all) the auxiliary
  5288. scripts at once, and uses non-standard (but valid and documented)
  5289. setups (e.g., defining YACC in Makefile.am instead of calling
  5290. AC_PROG_YACC from configure.in).
  5291. * tests/copy.test: Reference `add-missing.test' in heading
  5292. comments. Try few more test scenarios.
  5293. 2011-06-16 Stefano Lattarini <stefano.lattarini@gmail.com>
  5294. tests: few fixlets and improvements
  5295. * tests/cond31.test ($required): Remove `cc', it's not really
  5296. needed.
  5297. * tests/confh.test: Call autoheader too. The lack of this call
  5298. wasn't causing spurious failures because the automatic remake
  5299. rules were somehow invoking it on our behalf (at make time).
  5300. * tests/fn99subdir.test: Use $subdirname throughout, instead of
  5301. ${subdirname}, for consistency with the rest of the testsuite.
  5302. Avoid an unnecessary subshell, which could also cause spurious
  5303. passes, being guarded by a trailing `|| Exit 1', which neutralize
  5304. the `errexit' flag. Remove an unnecessary `|| Exit 1' guard.
  5305. * tests/insh2.test: Rewrite to avoid hackish Makefile.in munging,
  5306. and to also run configure and make.
  5307. 2011-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
  5308. tests: don't hard-code test name in txinfo21.test
  5309. * tests/txinfo21.test: Use `$me' instead of hard-coding the
  5310. current testcase name "txinfo21". Add a trailing `:' command
  5311. since we are at it.
  5312. 2011-06-10 Stefano Lattarini <stefano.lattarini@gmail.com>
  5313. tests: new test dedicated to `--add-missing' and `--copy'
  5314. * tests/add-missing.test: New test.
  5315. * tests/Makefile.am (TESTS): Update.
  5316. Suggested by Peter Rosin.
  5317. 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  5318. testsuite: use 'fatal_' and 'framework_failure_' for hard errors
  5319. * tests/defs (require_xsi): Use `fatal_', not `framework_failure',
  5320. to report an invalid usage.
  5321. * tests/remake-gnulib-remove-header.test: Prefer using `fatal_'
  5322. with a proper error message over a direct call to `Exit 99'.
  5323. * tests/pr8365-remake-timing.test: Likewise.
  5324. * tests/cygnus-imply-foreign.test: Likewise.
  5325. * tests/missing6.test: Likewise.
  5326. * tests/cond8.test: Likewise.
  5327. * tests/cond33.test: Likewise.
  5328. * tests/python-virtualenv.test: Prefer using `framework_failure_'
  5329. with a proper error message over a direct call to `Exit 99'.
  5330. * tests/instspc-tests.sh: Prefer using `framework_failure_' and
  5331. `fatal_' over direct calls to `Exit 99'.
  5332. (fatal_): Define this (which is a simplified version of the one
  5333. in `tests/defs') for early uses (i.e., before `tests/defs'
  5334. gets sourced).
  5335. * tests/depmode-tests.sh: Likewise. Also, simplify the
  5336. 'get_depmodes' function and calls to it accordingly.
  5337. 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  5338. self tests: check new 'fatal_' function
  5339. * tests/self-check-exit.test: Also check the new 'fatal_'
  5340. function.
  5341. 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  5342. test defs: new function 'fatal_', for hard errors
  5343. Before this patch, the only way offered by tests/defs to
  5344. properly signal a hard error was the `framework_failure_'
  5345. function. But the error message issued by that function,
  5346. as its name would suggest, refers to a set-up failure in the
  5347. testsuite, while hard errors can obviously also be due to
  5348. other reasons. The best way to fix this inconsistency is to
  5349. introduce a new function with a more general error message.
  5350. Inspired by a recent similar change to Gnulib's tests/init.sh.
  5351. * tests/defs (fatal_): New function.
  5352. * tests/README (Section "Writing test cases" subsection "Do"):
  5353. Suggest the use of `fatal_', not of `framework_failure_', for
  5354. generic hard errors. The latter should be reserved for "real"
  5355. set-up failures.
  5356. 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  5357. py-compile: '--' and non-option arguments terminate the option list
  5358. * lib/py-compile: Any non-option argument, or the special `--'
  5359. argument, now explicitly terminates the list of options.
  5360. * tests/py-compile-option-terminate.test: New test.
  5361. * tests/Makefile.am (TESTS): Update.
  5362. * NEWS: Update.
  5363. 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  5364. py-compile: complain on unrecognized options
  5365. * lib/py-compile: Complain on unrecognized options. Don't be too
  5366. lax in matching `--help' and `--version' options.
  5367. * tests/py-compile-usage.test: Extend accordingly.
  5368. * NEWS: Update.
  5369. 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  5370. py-compile: normalize error and help messages
  5371. * lib/py-compile: Now error messages do not begin with a capital
  5372. letter, nor end with a period, as per GNU standards. Prepend the
  5373. error messages with the name of the script, not with its path.
  5374. When an invalid usage is recognized, always display the customary
  5375. message "Try `py-compile --help' ..." on a line of its own.
  5376. ($me): New variable, containing the name of the
  5377. program, i.e., `py-compile'. Use it throughout.
  5378. (usage_error): New function, used to display error messages about
  5379. invalid usage.
  5380. * tests/py-compile-usage.test: Extend and tighten accordingly.
  5381. 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  5382. python tests: add "unit tests" on py-compile
  5383. * tests/py-compile-basic.test: New test.
  5384. * tests/py-compile-basic2.test: New test.
  5385. * tests/py-compile-basedir.test: Likewise.
  5386. * tests/py-compile-destdir.test: Likewise.
  5387. * tests/py-compile-env.test: Likewise.
  5388. * tests/py-compile-usage.test: Likewise.
  5389. * tests/Makefile.am (TESTS): Update.
  5390. Tested with python 2.0.1, 2.4.6, 2.6.6, 2.7.1, and 3.1.3.
  5391. 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  5392. py-compile: the '--destdir' option now accepts a blank argument
  5393. * lib/py-compile (Option parsing): Do not count an empty argument
  5394. to `--destdir' or `--basedir' as a missing argument.
  5395. * lib/python.am: Simplify accordingly, passing the `--destdir'
  5396. option to py-compile unconditionally, even if `$(DESTDIR)' is
  5397. empty.
  5398. * NEWS: Update.
  5399. 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  5400. python: run the 'py-compile' script with $(SHELL)
  5401. * lib/python.am (install-%DIR%PYTHON): Run each instance of
  5402. py-compile using $(SHELL). Since we are at it, break overly
  5403. long lines.
  5404. (am__py_compile): New variable, to reduce code duplication.
  5405. 2011-06-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  5406. tests: `lib/' shell scripts transparently tested also with $SHELL
  5407. With the previous commit, the user could prefer the use of $SHELL
  5408. over /bin/sh in some tests checking the Automake-provided shell
  5409. scripts by manually exporting `test_prefer_config_shell' to "yes"
  5410. in the environment. With this commit, we ensure that such tests
  5411. *always* and *transparently* run using both $SHELL and /bin/sh
  5412. to execute the checked scripts. The `test_prefer_config_shell'
  5413. variable becomes an internal detail, and is no more meant to be
  5414. manually defined or overridden.
  5415. * tests/defs-static.in: Check that `test_prefer_config_shell' is
  5416. not exported in the environment. Error out if this is the case.
  5417. * tests/config-shell-tests.sh: New file, driver script to run
  5418. checks on the shell scripts in `lib/' using the $SHELL determined
  5419. at configure time instead of the default system shell /bin/sh.
  5420. * Makefile.am (TESTS_EXTENSIONS): Add `.shtst'.
  5421. (SHTST_LOG_COMPILER): Define, it calls `config-shell-tests.sh'.
  5422. (config_shell_tests): Define to a list of tests that wraps other
  5423. `*.test' tests using `config-shell-tests.sh'.
  5424. ($(config_shell_tests)): Dummy dependency declaration required
  5425. in order to have make actually produce expected log files from
  5426. the `.shtst.log' suffix rule.
  5427. (EXTRA_DIST): Distribute `config-shell-tests.sh'.
  5428. (TESTS): Add `$(config_shell_tests)'.
  5429. * tests/self-check-env-sanitize.test: Update, by checking that
  5430. `test_prefer_config_shell' isn't exported in the environment.
  5431. 2011-06-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  5432. tests: can use also $SHELL to check shell scripts from `lib/'
  5433. * tests/ar-lib.test: If the variable `$test_prefer_config_shell'
  5434. is set to "yes", run the script under test with configure-time
  5435. determined $SHELL, rather than with /bin/sh.
  5436. The `$test_prefer_config_shell' variable defaults to empty, but
  5437. can be overridden at runtime by the user, thus allowing more
  5438. coverage.
  5439. * tests/compile.test: Likewise.
  5440. * tests/compile2.test: Likewise.
  5441. * tests/compile3.test: Likewise.
  5442. * tests/compile4.test: Likewise.
  5443. * tests/compile5.test: Likewise.
  5444. * tests/compile6.test: Likewise.
  5445. * tests/instsh2.test: Likewise.
  5446. * tests/instsh3.test: Likewise.
  5447. * tests/mkinst3.test: Likewise.
  5448. * tests/missing.test: Likewise.
  5449. * tests/missing2.test: Likewise.
  5450. * tests/missing3.test: Likewise.
  5451. * tests/missing5.test: Likewise.
  5452. * tests/defs (get_shell_script): New subroutine, factoring out
  5453. code common to the tests above.
  5454. (xsi-lib-shell): If `$test_prefer_config_shell' is set to "yes",
  5455. check that $SHELL, not /bin/sh, supports XSI constructs, as we
  5456. expect the test will use $SHELL and not /bin/sh to run the
  5457. script being tested.
  5458. 2011-06-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  5459. tests defs: better requirements for XSI shells
  5460. This change avoids potential spurious failures with tests using
  5461. the requirement 'xsi-shell' to mean that they want */bin/sh* (not
  5462. $SHELL) to be XSI-conforming. This idiom used to work before
  5463. commit `v1.11-874-g1321be7' (as back then the test scripts were
  5464. unconditionally run with /bin/sh), but has become inconsistent
  5465. now that the test scripts re-execute themselves with configure
  5466. determined $SHELL.
  5467. The described spurious failures have already occurred in practice,
  5468. for examples on Solaris systems which also had GNU Bash installed.
  5469. From a suggestion by Peter Rosin. See discussion at:
  5470. <http://lists.gnu.org/archive/html/automake-patches/2011-06/msg00016.html>
  5471. * tests/defs (xsi-shell): Now check that $SHELL, rather than the
  5472. shell currently running the test script, is an XSI shell.
  5473. (xsi-bin-sh): New requirement, checking that /bin/sh (which can
  5474. differ from $SHELL) is an XSI shell.
  5475. (xsi-lib-shell): New requirement, checking that the shell that
  5476. should be used to test the Automake-provided scripts from `lib/'
  5477. is an XSI shell. For the moment, this is just an alias for
  5478. `xsi-bin-sh'.
  5479. (require_xsi): New subroutine, used to factor out code common to
  5480. the requirements above.
  5481. ($xsi_shell_code): New variable, contains shell code supposed to
  5482. work only with XSI shells. Used by the new subroutine above.
  5483. * tests/ar-lib.test ($required): Require 'xsi-lib-shell' instead
  5484. of 'xsi-shell', since the script we test here is run with /bin/sh,
  5485. not with $SHELL.
  5486. * tests/compile3.test: Likewise.
  5487. * tests/compile6.test: Likewise.
  5488. 2011-06-05 Stefano Lattarini <stefano.lattarini@gmail.com>
  5489. tests: fix typo-related error in auxdir2.test
  5490. * tests/auxdir2.test (configure.in): Close m4 quoting in the
  5491. argument to AC_CONFIG_AUX_DIR. Without this, aclocal fails with
  5492. "ERROR: end of file in string". This problem hasn't been exposed
  5493. by the testsuite before because this test is in XFAIL_TESTS, so
  5494. its failure went unnoticed, even if it was due to a wrong cause.
  5495. Bug introduced in commit v1.11-249-g49ac3de.
  5496. 2011-06-05 Stefano Lattarini <stefano.lattarini@gmail.com>
  5497. self tests: check that `$me' can be overridden
  5498. * tests/self-check-me.test: Check that `$me' can be overridden
  5499. before sourcing ./defs, with or without sourcing ./defs-static
  5500. beforehand, and that this override is honored. Update heading
  5501. comments.
  5502. 2011-06-02 Stefano Lattarini <stefano.lattarini@gmail.com>
  5503. self tests: fix another spurious failure
  5504. Our ad-hoc usage of `tests/defs' in the testsuite's self tests
  5505. stopped working properly when we made the test scripts re-execute
  5506. themselves with the configure-time $SHELL. Fix this.
  5507. Fixes a regression introduced by commit 'v1.11-874-g1321be7'.
  5508. * tests/self-check-exit.test: Export `AM_TESTS_REEXEC' to "no"
  5509. before running the self tests. This fixes a spurious failure
  5510. present only when the test was run by hand.
  5511. 2011-06-02 Stefano Lattarini <stefano.lattarini@gmail.com>
  5512. silent-rules tests: fix spurious failures with Sun Studio C++
  5513. * tests/silentcxx.test: The C++ compiler from Sun Studio is named
  5514. `CC'. Account for this in our grepping checks on the make output.
  5515. Since we are at it, throw in a couple of improvements to comments
  5516. and formatting.
  5517. * tests/silent-many-generic.test: The C++ compiler from Sun Studio
  5518. is named `CC', and this can cause spurious failures in our grepping
  5519. of the make output. Work around this by using a wrapper script
  5520. around the C++ compiler (generated on the fly), since filtering the
  5521. make output proved to be too fragile.
  5522. 2011-06-02 Stefano Lattarini <stefano.lattarini@gmail.com>
  5523. tests: fix spurious failure in backcompat2.test on NetBSD
  5524. * tests/backcompat2.test: Add trailing `:' in the body of a `for'
  5525. loop, in case the last command there might have an exit status
  5526. different 0. This work around `set -e' issues in some BSD shells,
  5527. e.g., NetBSD /bin/ksh.
  5528. 2011-06-02 Stefano Lattarini <stefano.lattarini@gmail.com>
  5529. tests: fix spurious failure in autohdr3.test
  5530. * tests/autohder3.test (Makefile.am): Let `test' depend on `all',
  5531. so that config.h header is truly remade.
  5532. Remove now useless call to `$MAKE' when non-GNU make is in use.
  5533. Failure introduced by commit `v1.11-895-g5e62b96'.
  5534. 2011-06-02 Stefano Lattarini <stefano.lattarini@gmail.com>
  5535. tests: fix spurious failure of cond29.test on NetBSD
  5536. * tests/cond29.test: Skip if we cannot safely limit the maximal
  5537. size of used virtual memory to 20K. This fixes a spurious failure
  5538. on NetBSD.
  5539. Bug introduced in commit `v1.11-885-g908d335'.
  5540. 2011-06-02 Stefano Lattarini <stefano.lattarini@gmail.com>
  5541. maintcheck: fix again few more failures
  5542. * tests/cond29.test: To please the `sc_tests_Exit_not_exit'
  5543. maintainer check, avoid using `sh -c "exit 0"' where a simple
  5544. `sh -c :' will do.
  5545. * tests/depmod-data.test: Use creative quoting to avoid
  5546. spuriously triggering the `sc_tests_Exit_not_exit' maintainer
  5547. check.
  5548. 2011-06-02 Stefano Lattarini <stefano.lattarini@gmail.com>
  5549. maintcheck: fix some more failures
  5550. * tests/instdir-ltlib.test: Use creative quoting to avoid
  5551. spuriously triggering the `sc_rm_minus_f' maintainer check.
  5552. * tests/instdir-prog.test: Likewise.
  5553. * tests/instspc-data.test: Use creative quoting to avoid
  5554. spuriously triggering the `sc_tests_Exit_not_exit' maintainer
  5555. check.
  5556. 2011-06-02 Stefano Lattarini <stefano.lattarini@gmail.com>
  5557. maintcheck: fix some failures, extend some checks
  5558. * Makefile.am (sc_diff_automake_in_automake): Update, as we
  5559. now expect 9 lines, not 8, to be changed from `automake.in'
  5560. to `automake'.
  5561. (sc_diff_aclocal_in_aclocal): New maintainer check, similar to
  5562. the above, and checking that only 10 lines are changed from
  5563. `aclocal.in' to `aclocal'.
  5564. (syntax_check_rules): Update.
  5565. (sc_tests_Exit_not_exit): Exempt self tests `self-check-*.test'
  5566. from this check, as they can legitimately use the bare `exit'
  5567. builtin in various places.
  5568. * doc/automake.texi (Python): Remove stray `@' from the end of
  5569. a line. Typo introduced in commit `v1.11-312-g5bf7af6'.
  5570. * tests/depcomp8a.test: Pass DISTCHECK_CONFIGURE_FLAGS to make
  5571. from the environment rather than from the command line, to
  5572. pacify the `sc_tests_overriding_macros_on_cmdline' maintainer
  5573. check.
  5574. * tests/depcomp8b.test: Likewise.
  5575. 2011-06-02 Stefano Lattarini <stefano.lattarini@gmail.com>
  5576. tests: don't require GNU make where it's not strictly needed
  5577. * tests/autohdr3.test: Rewrite to be stricter when make is GNU
  5578. make. Drop the requirement of GNU make.
  5579. * tests/aclocal5.test: Drop GNU make requirement, it's not truly
  5580. needed. Add reference to similar tests `remake-subdir*.test'.
  5581. * remake-subdir-gnu.test, remake-subdir-from-subdir.test,
  5582. remake-subdir.test, remake-subdir2.test: Add reference to
  5583. each other, and to related test `aclocal5.test'.
  5584. * tests/aclocal6.test: Drop GNU make requirement, it's not
  5585. truly needed.
  5586. * tests/confh6.test: Likewise.
  5587. * tests/lex3.test: Likewise.
  5588. * tests/remake11.test: Likewise.
  5589. * tests/subdir5.test: Likewise.
  5590. * tests/subdir8.test: Likewise.
  5591. * tests/werror2.test: Likewise.
  5592. * tests/conff.test: Likewise, and ensure verbose printing of
  5593. captured make output.
  5594. * tests/lex5.test: Tweak so that GNU make is no more required.
  5595. * tests/version7.test: Likewise.
  5596. * tests/maken2.test: Add explicative comment for why this test
  5597. requires GNU make.
  5598. * tests/maken4.test: Let it run also with BSD makes supporting
  5599. the `.MAKE' special target.
  5600. * tests/output6.test: Use proper m4 quoting in configure.in.
  5601. Expand make macros with one-character name using `$(x)', not
  5602. `$x', for portability. Move checks in the makefiles, rather
  5603. than relying on grepping the output from make. Drop the now
  5604. unneeded GNU make requirement.
  5605. 2011-05-29 Stefano Lattarini <stefano.lattarini@gmail.com>
  5606. remake: behave better with non-GNU make in subdirectories
  5607. Currently, with every decent make program, it is possible to
  5608. rebuild out-of-date autotools-generated files with a simple
  5609. "make Makefile" -- but for this to work reliably with non-GNU
  5610. make implementations, the command must be issued from the
  5611. top-level directory. This patch removes such limitation.
  5612. * lib/am/configure.am (am--refresh): Depend on `%MAKEFILE%'.
  5613. * tests/remake-subdir.test: New test.
  5614. * tests/remake-subdir2.test: Likewise.
  5615. * tests/remake-subdir-gnu.test: Likewise.
  5616. * tests/remake-subdir-from-subdir.test: Likewise.
  5617. * tests/Makefile.am (TESTS): Update.
  5618. 2011-06-01 Stefano Lattarini <stefano.lattarini@gmail.com>
  5619. lex tests: fix spurious failures with Solaris lex
  5620. * tests/lex-lib.test (foo.l): Avoid empty "rules section", which
  5621. can confuse Solaris lex.
  5622. * tests/lex-libobj.test (foo.l): Likewise.
  5623. 2011-06-01 Stefano Lattarini <stefano.lattarini@gmail.com>
  5624. lex tests: do not force the use of flex unconditionally
  5625. * tests/defs (lex): Act more similarly to what the `yacc'
  5626. requirement does, i.e., only force the use of flex if the
  5627. $LEX variable is left unset by the user.
  5628. (flex): Use `skip_' to skip the test if flex is not found.
  5629. 2011-06-01 Stefano Lattarini <stefano.lattarini@gmail.com>
  5630. lex tests: avoid possible hang; fix and extend
  5631. * tests/lex3.test (foo.l:yywrap): Return 1, not 0, to avoid hangs.
  5632. Bug introduced in commit 'v1.11-871-geb147a1'.
  5633. (Makefile.am): Do not add `@LEXLIB@' to `$(LDADD)', as we define
  5634. our own `yywrap' function.
  5635. * tests/lex.test (tscan.l): In `yywrap', return 1, not 0, for
  5636. consistency with the default flex implementation.
  5637. * tests/lex-libobj.test (yywrap.c): Likewise.
  5638. * tests/lex-subobj-nodep.test (s1.l): Likewise.
  5639. * tests/lexvpath.test (foo.c): Likewise.
  5640. * tests/silent-lex-gcc (foo.l): Likewise.
  5641. * tests/silent-lex-generic (foo.l): Likewise.
  5642. * tests/silent-many-gcc (foo5.l): Likewise.
  5643. * tests/silent-many-generic (foo5.l): Likewise.
  5644. * tests/lex-lib.test (mu.c): Likewise.
  5645. Update heading comments, to refer to ...
  5646. * tests/lex-lib-external.test: ... this new test, which checks
  5647. that we can get use the `yywrap' function from a system-wide
  5648. library, if that's available.
  5649. 2011-06-01 Stefano Lattarini <stefano.lattarini@gmail.com>
  5650. tests: prefer `skip_' over `echo ...; Exit 77'
  5651. * tests/self-check-cleanup.test: When the test must be skipped,
  5652. use `skip_ REASON' instead of `echo REASON; Exit 77'. Also,
  5653. make the skip message shorter and clearer.
  5654. 2011-06-01 Stefano Lattarini <stefano.lattarini@gmail.com>
  5655. tests: fix spurious failures in self tests
  5656. Our ad-hoc usage of `tests/defs' in the testsuite's self tests
  5657. stopped working properly when we made the test scripts re-execute
  5658. themselves with the configure-time $SHELL. Fix this.
  5659. Fixes a bug introduced by commit 'v1.11-874-g1321be7'.
  5660. * tests/defs: Only check that we can find the client test script
  5661. when we must re-execute it.
  5662. * tests/self-check-cleanup.test: Export `AM_TESTS_REEXEC' to "no"
  5663. before running the self tests.
  5664. * tests/self-check-dir.test: Likewise.
  5665. * tests/self-check-explicit-skips.test: Likewise.
  5666. * tests/self-check-me.test: Likewise.
  5667. * tests/self-check-sanity.test: Likewise.
  5668. * tests/self-check-reexec.test: New test.
  5669. * tests/Makefile.am (TESTS): Update.
  5670. 2011-06-01 Stefano Lattarini <stefano.lattarini@gmail.com>
  5671. tests: prefer ulimit over timeout in test on a memory-hogging bug
  5672. * tests/cond29.test: Use 'ulimit' instead of 'timeout' to ensure
  5673. that automake does not uses up too much resources. This is really
  5674. and improvement because the bug tested by this script wasn't just
  5675. a "it hangs" or "it runs too slow" bug, but rather a memory-hogging
  5676. bug (due to combinatorial explosion when many Automake conditionals
  5677. had to be handled) which could easily crash the whole system, which
  5678. is unacceptable. The requirement of a proper and working 'ulimit'
  5679. builtin might cause the test to be skipped on more systems, but
  5680. that shouldn't be a problem since the bug isn't about a portability
  5681. issue, but is rather an automake internal implementation problem.
  5682. I've verified that the test as updated by this patch still passes
  5683. with automake 1.8.5, automake 1.10.2, and obviously the development
  5684. version of automake, and that it fails with automake 1.7.9.
  5685. 2011-06-01 Stefano Lattarini <stefano.lattarini@gmail.com>
  5686. testsuite: avoid generating `*-p.test' tests, use a wrapper script
  5687. The generated `*-p.test' tests had already become just thin layers
  5688. around the corresponding test scripts. This change makes the final
  5689. step, converting to the use of a generic wrapper script and thus
  5690. avoiding the extra test generation (similarly to what is done for
  5691. the `*.instspc' and `*.depmod' tests).
  5692. * tests/parallel-tests.sh: New file, driver script to run checks
  5693. the on the `parallel-tests' semantics by wrapping tests that use
  5694. the generic "Simple Tests" driver.
  5695. * tests/gen-parallel-tests: Update, mostly to reflect the new
  5696. `.ptest' extensions used for tests in $(parallel_tests).
  5697. * Makefile.am (TESTS_EXTENSIONS): Add `.ptest'.
  5698. (PTEST_LOG_COMPILER): Define, it calls `parallel-tests.sh'.
  5699. ($(parallel_tests)): Do not really generate `*-p.test' tests
  5700. anymore; this is now just a dummy dependency declaration required
  5701. in order to have make actually produce expected log files from
  5702. the `.ptest.log' suffix rule.
  5703. (EXTRA_DIST): Distribute `parallel-tests.sh'.
  5704. (MAINTAINERCLEANFILES): Don't remove the `$(parallel_tests)', it
  5705. is not necessary anymore.
  5706. (generated_tests): Variable definition removed.
  5707. (TESTS): Update, by listing `$(parallel_tests)' directly instead
  5708. of `$(generated_tests)'
  5709. (expected_list_of_tests): Remove `$(generated_tests)'.
  5710. (maintainer-check-list-of-tests): No need to explicitly depend on
  5711. `$(expected_list_of_tests)' anymore.
  5712. 2011-05-29 Stefano Lattarini <stefano.lattarini@gmail.com>
  5713. automake, aclocal: honour configure-time AUTOCONF and AUTOM4TE
  5714. Currently, the Automake's own configure script allow definition
  5715. of AUTOCONF and AUTOM4TE, expected to point respectively to an
  5716. autoconf and autom4te programs. But while these definitions are
  5717. honoured in the Automake's build systems and test suite, they
  5718. were *not* honoured in the generated `automake' and `aclocal'
  5719. scripts. This behaviour, apart from being wrong in that it does
  5720. not allow the user enough freedom in choosing his tools, also
  5721. caused inconsistencies in the test suite, brining to spurious
  5722. failures.
  5723. Problem reported by Graham Reitz on the automake list; see thread:
  5724. <http://lists.gnu.org/archive/html/automake/2011-05/msg00022.html>
  5725. * automake.in ($traces): Use `@am_AUTOCONF', not simply `autoconf'.
  5726. * aclocal.in ($traces): Use `@am_AUTOM4TE', not simply `autom4te'.
  5727. * Makefile.am (do_subst): Substitute also `@am_AUTOCONF' and
  5728. `@am_AUTOM4TE'.
  5729. * NEWS: Update.
  5730. * THANKS: Update.
  5731. 2011-05-29 Stefano Lattarini <stefano.lattarini@gmail.com>
  5732. build: the user can override AUTOM4TE, AUTORECONF and AUTOUPDATE too
  5733. Our build system allows the user to override AUTOCONF and AUTOHEADER
  5734. at configure time, and honours these overrides in our testsuite.
  5735. But it didn't do the same with AUTOM4TE, AUTORECONF and AUTOUPDATE.
  5736. This change fixes that inconsistency.
  5737. * configure.ac (am_AUTOM4TE, am_AUTOUPDATE, am_AUTORECONF): New
  5738. AC_SUBSTitutions. Update comments.
  5739. * tests/defs.in ($AUTOUPDATE): Default to `@am_AUTOUPDATE@' now.
  5740. ($AUTOM4TE): New variable, defaulting to `@am_AUTOM4TE@'.
  5741. ($AUTORECONF): New variable, defaulting to `@am_AUTORECONF@'.
  5742. * doc/Makefile.am ($(srcdir)/amhello-1.0.tar.gz): Update.
  5743. 2011-05-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  5744. parallel-tests: stricter checks on DISABLE_HARD_ERRORS support
  5745. * tests/parallel-tests-harderror.test: New test, doing more
  5746. in-depth checks on DISABLE_HARD_ERRORS.
  5747. * tests/parallel-tests.test: Remove tests on DISABLE_HARD_ERRORS,
  5748. now redundant.
  5749. * tests/Makefile.am (TESTS): Update.
  5750. 2011-05-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  5751. Stefano Lattarini <stefano.lattarini@gmail.com>
  5752. tests/README: fix example about `make -e' usage
  5753. * tests/README (Section "Writing test cases" subsection "Do"): When
  5754. some variable is never initialized in the Makefile, `-e' is not
  5755. necessary in order to override it. DESTDIR is such a variable: we
  5756. ensure that we do not ever initialize it. And as such, it is quite
  5757. portable to use:
  5758. $ make DESTDIR=/foo/bar install
  5759. and in fact, quite widely used.
  5760. So our example about when `make -e' is required, which references
  5761. the `DESTDIR' variable, is poorly chosen, if not downright wrong.
  5762. Rewrite it to use `prefix' as the overridden variable instead.
  5763. 2011-05-29 Stefano Lattarini <stefano.lattarini@gmail.com>
  5764. tests: don't require gfortran if any fortran compiler is enough
  5765. * tests/silentf90.test ($required): Require `fortran', not
  5766. `gfortran'.
  5767. * tests/silentf77.test ($required): Require `fortran77', not
  5768. `gfortran'.
  5769. * tests/silent-many-generic.test ($required): Require `fortran'
  5770. and `fortran77' rather than `gfortran'.
  5771. 2011-05-27 Stefano Lattarini <stefano.lattarini@gmail.com>
  5772. tests: improve `ccnoco*.test', better cross-compiling support
  5773. * tests/ccnoco3.test (Mycomp): Use the `$CC' chosen by `tests/defs'
  5774. instead of forcing `gcc' unconditionally. This ensures better
  5775. coverage in case of cross-compiling, when GCC can be named e.g.,
  5776. `i586-mingw32msvc-gcc', instead of simply `gcc'.
  5777. * tests/ccnoco.test: Likewise. Remove redundant checks. Modernize
  5778. the created `configure.in'. Run tests both in-tree and in VPATH.
  5779. Export `CC' to the overridden value only once.
  5780. * tests/ccnoco2.test: Slightly stricter grepping of automake
  5781. stderr. Add trailing `:' command.
  5782. 2011-05-27 Stefano Lattarini <stefano.lattarini@gmail.com>
  5783. testsuite: each test case depends on `defs-static'
  5784. * tests/Makefile.am ($(TEST_LOGS)): Depends on `defs-static' too.
  5785. Simplify comments.
  5786. 2011-05-27 Stefano Lattarini <stefano.lattarini@gmail.com>
  5787. testsuite: use $SHELL to run tests which are shell scripts
  5788. * tests/Makefile.am (TEST_LOG_COMPILER): Define so that the
  5789. configure-time $SHELL is used to run the tests.
  5790. * tests/defs: Add code to re-execute by default the running
  5791. test script with configure-time $SHELL. Updated comments.
  5792. * configure.ac: Check that `set -e' is working for $SHELL,
  5793. not for /bin/sh.
  5794. * tests/defs-static.in: Update comments.
  5795. * tests/README (Supported shells): Updated.
  5796. (Getting details from failures): Don't tell that tests are
  5797. run by /bin/sh by default.
  5798. 2011-05-26 Stefano Lattarini <stefano.lattarini@gmail.com>
  5799. tests: split 'subst2.test' to improve modularity and coverage
  5800. * tests/subst2.test: Test removed, split into ...
  5801. * tests/programs-primary-rewritten.test: ... this test ...
  5802. * tests/subst-no-trailing-empty-line.test: ... and this one ...
  5803. * tests/extra-programs-empty.test: ... and this one.
  5804. * tests/Makefile.am (TESTS): Update.
  5805. 2011-05-26 Stefano Lattarini <stefano.lattarini@gmail.com>
  5806. tests: tweak and improve tests on Automake conditionals
  5807. The "avoid the requirement of a working compiler" we refer about
  5808. below is obtained by disabling automatic dependency tracking and
  5809. defining `CC' (and `EXEEXT', `OBJEXT', `CXX', etc., if needed) to
  5810. dummy values, either directly in the `Makefile.am', or by AC_SUBST
  5811. in `configure.in'.
  5812. The "cosmetic changes" we refer about below consists in, e.g.,
  5813. adding a trailing `:' command to a script, using proper m4 quoting
  5814. in `configure.in' files, adding commands that offer more debugging
  5815. output, explicitly declaring phony targets as such in Makefiles,
  5816. making use of idioms more consistent with those employed in other
  5817. tests, following the GNU formatting standards more closely, etc.
  5818. * tests/cond.test: Cosmetic changes.
  5819. * tests/cond3.test: Likewise.
  5820. * tests/cond10.test: Likewise.
  5821. * tests/cond14.test: Likewise.
  5822. * tests/cond15.test: Likewise.
  5823. * tests/cond17.test: Likewise.
  5824. * tests/cond40.test: Likewise.
  5825. * tests/cond13.test: Likewise, and make grepping of the generated
  5826. `Makefile.in' slightly stricter.
  5827. * tests/cond6.test: Extend by also running ./configure, make and
  5828. "make install". Few cosmetic changes.
  5829. * tests/cond8.test: Likewise.
  5830. * tests/cond2.test: Do few cosmetic changes. Make grepping of
  5831. automake stderr stricter.
  5832. * tests/cond20.test: Likewise.
  5833. * tests/cond23.test: Likewise.
  5834. * tests/cond24.test: Likewise.
  5835. * tests/cond42.test: Likewise.
  5836. * tests/cond46.test: Likewise.
  5837. * tests/cond9.test: Move more checks in the `Makefile.am' instead
  5838. of grepping make's output.
  5839. * tests/cond38.test: Likewise.
  5840. * tests/cond11.test: Likewise. Avoid the requirement of a working
  5841. C compiler.
  5842. * tests/cond16.test: Likewise.
  5843. * tests/cond22.test: Likewise.
  5844. * tests/cond30.test: Likewise.
  5845. * tests/cond31.test: Likewise.
  5846. * tests/cond4.test: Likewise, and drop the now-useless GNU make
  5847. requirement as well.
  5848. * tests/cond18.test: Likewise.
  5849. * tests/cond19.test: Likewise.
  5850. * tests/cond22.test: Likewise.
  5851. * tests/cond25.test: Add trailing `:' command.
  5852. * tests/cond26.test: Likewise.
  5853. * tests/cond27.test: Likewise.
  5854. * tests/cond28.test: Likewise.
  5855. * tests/cond29.test: Use `unindent' function for better formatting.
  5856. Other minor cosmetic changes. Use a `timeout' program (if it's
  5857. available) to determine whether the script takes too long, instead
  5858. of just hoping that the user will notice an abnormally long test
  5859. execution time.
  5860. * tests/cond33.test: Extend a bit. Fix heading comments. Few more
  5861. cosmetic changes.
  5862. * tests/cond37.test: Ensure verbose printing of captured make
  5863. output. Minor cosmetic changes.
  5864. * tests/cond34.test: Likewise. Avoid the requirement of a working
  5865. C compiler. Make grepping of make output slightly stricter.
  5866. * tests/cond35.test: Quote literal dots in grep regexp. Add extra
  5867. debugging output. Minor cosmetic changes.
  5868. * tests/cond36.test: Likewise.
  5869. * tests/cond41.test: Do not simply check that aclocal fails, but
  5870. also grep its stderr for the expected error message.
  5871. * tests/cond43.test: Likewise (but the program being automake).
  5872. Few cosmetic changes.
  5873. * tests/condd.test: Avoid the requirement of a working C compiler.
  5874. * tests/condman3.test: Extend by using more man pages and more
  5875. manpage sections.
  5876. * tests/condman.test: Removed, it's completely superseded by
  5877. `condman3.test'.
  5878. * tests/Makefile.am (TESTS): Update.
  5879. 2011-05-25 Stefano Lattarini <stefano.lattarini@gmail.com>
  5880. lex tests: avoid spurious failures when LEXLIB isn't found
  5881. The AC_PROG_LEX Autoconf macro does not diagnose a failure to find
  5882. the "lex library" expected to provide a `yywrap' function (function
  5883. which is required to link most lex-generated programs). On the
  5884. contrary, when all the link attempts (i.e., with `-ll' and `-lfl')
  5885. fail, configure declares that no lex library is needed, and simply
  5886. proceeds with the configuration process -- only for the build to
  5887. possibly fail later, at make time.
  5888. This behaviour might be (partly) intended; the Autoconf manual
  5889. reads:
  5890. ``You are encouraged to use Flex in your sources, since it is
  5891. both more pleasant to use than plain Lex and the C source
  5892. it produces is portable. In order to ensure portability,
  5893. however, you must either provide a function `yywrap' or, if
  5894. you don't use it (e.g., your scanner has no `#include'-like
  5895. feature), simply include a `%noyywrap' statement in the
  5896. scanner's source.''
  5897. This AC_PROG_LEX behaviour is causing some spurious failures of the
  5898. Automake testsuite in environments which lack a proper library
  5899. providing `yywrap' (this happens for example in Linux->MinGW cross
  5900. compilations). But at this point is clear that a proper workaround
  5901. is to simply provide a fall-back implementation of `yywrap' in our
  5902. lexers.
  5903. * tests/cond35.test: Provide a dummy `yywrap' function.
  5904. * tests/lex3.test: Likewise.
  5905. * tests/lexvpath.test: Likewise.
  5906. * tests/silent-many-gcc.test: Likewise.
  5907. * tests/silent-many-generic.test: Likewise.
  5908. * tests/silent-lex-gcc.test: Likewise, and a dummy `main' too.
  5909. * tests/silent-lex-generic.test: Likewise.
  5910. * tests/lex-lib.test: New test.
  5911. * tests/lex-libobj.test: New test.
  5912. * tests/lex-nowrap.test: New test.
  5913. * tests/Makefile.am (TESTS): Update.
  5914. * THANKS: Update.
  5915. Thanks to Russ Allbery for the suggestion.
  5916. 2011-05-25 Stefano Lattarini <stefano.lattarini@gmail.com>
  5917. testsuite: require C++ compiler explicitly in tests needing it
  5918. The list of the test scripts which needed a C++ compiler but
  5919. failed to require it explicitly has been found by running:
  5920. $ tests=`grep -lE 'CXX|\.c(c|\+\+|xx|pp)' *.test | tr '\n' ' '`
  5921. $ am_explicit_skips=yes CXX=false make check TESTS="$tests"
  5922. and looking for tests that reported FAIL instead of SKIP.
  5923. After the present change, all those previously failing tests
  5924. either pass or get correctly skipped.
  5925. * tests/subobj9.test: Require `c++', instead of explicitly
  5926. skipping on configure failure. Add excerpts and/or details from
  5927. the original bug report that prompted this tests to be written.
  5928. * tests/silentcxx-gcc.test: Require g++.
  5929. * tests/silentcxx.test: Require c++.
  5930. * tests/suffix3.test: Likewise.
  5931. 2011-05-25 Stefano Lattarini <stefano.lattarini@gmail.com>
  5932. testsuite: don't require g++ where any C++ compiler is enough
  5933. * tests/specflg10.test ($required): Use `c++', not g++.
  5934. * tests/silent-many-generic.test: Likewise.
  5935. 2011-05-25 Stefano Lattarini <stefano.lattarini@gmail.com>
  5936. testsuite: require C compiler explicitly in tests needing it
  5937. The list of the test scripts which needed a C compiler but
  5938. failed to require it explicitly has been found by running:
  5939. $ am_explicit_skips=yes CC=false make check
  5940. and looking for tests that reported FAIL instead of SKIP.
  5941. After the present change, all those previously failing tests
  5942. either pass or get correctly skipped.
  5943. * tests/aclocal4.test ($required): Add `cc'.
  5944. * tests/ansi.test: Likewise.
  5945. * tests/ansi10.test: Likewise.
  5946. * tests/ansi3.test: Likewise.
  5947. * tests/ansi3b.test: Likewise.
  5948. * tests/ansi5.test: Likewise.
  5949. * tests/ansi6.test: Likewise.
  5950. * tests/ansi7.test: Likewise.
  5951. * tests/ansi9.test: Likewise.
  5952. * tests/backcompat6.test: Likewise.
  5953. * tests/canon7.test: Likewise.
  5954. * tests/check5.test: Likewise.
  5955. * tests/check7.test: Likewise.
  5956. * tests/check8.test: Likewise.
  5957. * tests/cond4.test: Likewise.
  5958. * tests/cond11.test: Likewise.
  5959. * tests/cond16.test: Likewise.
  5960. * tests/cond18.test: Likewise.
  5961. * tests/cond19.test: Likewise.
  5962. * tests/cond22.test: Likewise.
  5963. * tests/cond30.test: Likewise.
  5964. * tests/cond31.test: Likewise.
  5965. * tests/cond32.test: Likewise.
  5966. * tests/cond34.test: Likewise.
  5967. * tests/cond35.test: Likewise.
  5968. * tests/cond39.test: Likewise.
  5969. * tests/condd.test: Likewise.
  5970. * tests/cygnus-dependency-tracking.test: Likewise.
  5971. * tests/depcomp2.test: Likewise.
  5972. * tests/depcomp6.test: Likewise.
  5973. * tests/depcomp7.test: Likewise.
  5974. * tests/depcomp8a.test: Likewise.
  5975. * tests/depcomp8b.test: Likewise.
  5976. * tests/depdist.test: Likewise.
  5977. * tests/depend2.test: Likewise.
  5978. * tests/depend5.test: Likewise.
  5979. * tests/distcleancheck.test: Likewise.
  5980. * tests/distname.test: Likewise.
  5981. * tests/exeext.test: Likewise.
  5982. * tests/exeext4.test: Likewise.
  5983. * tests/extradep.test: Likewise.
  5984. * tests/extradep2.test: Likewise.
  5985. * tests/gnits2.test: Likewise.
  5986. * tests/gnits3.test: Likewise.
  5987. * tests/instdir-ltlib.test: Likewise.
  5988. * tests/instdir-prog.test: Likewise.
  5989. * tests/instfail.test: Likewise.
  5990. * tests/instfail-libtool.test: Likewise.
  5991. * tests/lex3.test: Likewise.
  5992. * tests/lex5.test: Likewise.
  5993. * tests/lexvpath.test: Likewise.
  5994. * tests/lex-subobj-nodep.test: Likewise.
  5995. * tests/lflags.test: Likewise.
  5996. * tests/libobj-basic.test: Likewise.
  5997. * tests/libobj2.test: Likewise.
  5998. * tests/libobj7.test: Likewise.
  5999. * tests/libobj10.test: Likewise.
  6000. * tests/libobj16a.test: Likewise.
  6001. * tests/libobj16b.test: Likewise.
  6002. * tests/libobj17.test: Likewise.
  6003. * tests/libobj19.test: Likewise.
  6004. * tests/libtool2.test: Likewise.
  6005. * tests/libtool3.test: Likewise.
  6006. * tests/libtool7.test: Likewise.
  6007. * tests/libtool9.test: Likewise.
  6008. * tests/libtoo10.test: Likewise.
  6009. * tests/libtoo11.test: Likewise.
  6010. * tests/ltcond.test: Likewise.
  6011. * tests/ltcond2.test: Likewise.
  6012. * tests/ltconv.test: Likewise.
  6013. * tests/ltinit.test: Likewise.
  6014. * tests/ltlibsrc.test: Likewise.
  6015. * tests/ltorder.test: Likewise.
  6016. * tests/nobase.test: Likewise.
  6017. * tests/nobase-libtool.test: Likewise.
  6018. * tests/mmodely.test: Likewise.
  6019. * tests/parallel-tests5.test: Likewise.
  6020. * tests/parallel-tests-suffix-prog.test: Likewise.
  6021. * tests/parallel-tests-ext-driver-prog.test: Likewise.
  6022. * tests/posixsubst-ldadd.test: Likewise.
  6023. * tests/posixsubst-libraries.test: Likewise.
  6024. * tests/posixsubst-ltlibraries.test: Likewise.
  6025. * tests/posixsubst-programs.test: Likewise.
  6026. * tests/posixsubst-sources.test: Likewise.
  6027. * tests/pr87.test: Likewise.
  6028. * tests/pr204.test: Likewise.
  6029. * tests/pr224.test: Likewise.
  6030. * tests/pr300-lib.test: Likewise.
  6031. * tests/pr300-ltlib.test: Likewise.
  6032. * tests/pr300-prog.test: Likewise.
  6033. * tests/pr401.test: Likewise.
  6034. * tests/pr401b.test: Likewise.
  6035. * tests/pr401c.test: Likewise.
  6036. * tests/remake-gnulib-add-acsubst.test: Likewise.
  6037. * tests/remake-gnulib-add-header.test: Likewise.
  6038. * tests/regex.test: Likewise.
  6039. * tests/repeated-options.test: Likewise.
  6040. * tests/silent.test: Likewise.
  6041. * tests/silent3.test: Likewise.
  6042. * tests/silent9.test: Likewise.
  6043. * tests/silent-lex-generic.test: Likewise.
  6044. * tests/silent-many-generic.test: Likewise.
  6045. * tests/silent-yacc-generic.test: Likewise.
  6046. * tests/specflg7.test: Likewise.
  6047. * tests/specflg9.test: Likewise.
  6048. * tests/specflg10.test: Likewise.
  6049. * tests/stdinc.test: Likewise.
  6050. * tests/strip.test: Likewise.
  6051. * tests/strip2.test: Likewise.
  6052. * tests/strip3.test: Likewise.
  6053. * tests/subdirbuiltsources.test: Likewise.
  6054. * tests/subobj3.test: Likewise.
  6055. * tests/subobj6.test: Likewise.
  6056. * tests/subobj11a.test: Likewise.
  6057. * tests/subpkg.test: Likewise.
  6058. * tests/subst2.test: Likewise.
  6059. * tests/subst3.test: Likewise.
  6060. * tests/substref.test: Likewise.
  6061. * tests/substre2.test: Likewise.
  6062. * tests/suffix5.test: Likewise.
  6063. * tests/suffix8.test: Likewise.
  6064. * tests/suffix10.test: Likewise.
  6065. * tests/suffix11.test: Likewise.
  6066. * tests/suffix12.test: Likewise.
  6067. * tests/suffix13.test: Likewise.
  6068. * tests/target-cflags.test: Likewise.
  6069. * tests/transform.test: Likewise.
  6070. * tests/transform2.test: Likewise.
  6071. * tests/yacc-basic.test: Likewise.
  6072. * tests/yacc-d-basic.test: Likewise.
  6073. * tests/yacc-clean.test: Likewise.
  6074. * tests/yacc-dist-nobuild.test: Likewise.
  6075. * tests/yacc-nodist.test: Likewise.
  6076. * tests/yaccvpath.test: Likewise.
  6077. * tests/yacc-d-vpath.test: Likewise.
  6078. * tests/yacc4.test: Likewise.
  6079. * tests/yacc7.test: Likewise.
  6080. * tests/yacc8.test: Likewise.
  6081. * tests/yaccdry.test: Likewise.
  6082. * tests/yflags-cmdline-override.test: Likewise.
  6083. * tests/yflags-force-override.test: Likewise.
  6084. * tests/python-virtualenv.test: Likewise. Also, improve skip
  6085. messages.
  6086. * tests/subobj5.test ($required): Add `cc'.
  6087. (Makefile.am): Set `AUTOMAKE_OPTIONS' to `subdir-objects', and
  6088. add new checking rules `test-build' and `test-distdir'.
  6089. Extend the test by building and examining the distdir, the
  6090. program, and the object files.
  6091. * tests/postproc.test ($required): Add `cc'.
  6092. Avoid the explicit `|| Exit $?' after call to configure, which
  6093. is now either redundant (e.g., when `am_explicit_skips' is
  6094. unset), or counter-productive (e.g., when `am_explicit_skips'
  6095. is set to "yes").
  6096. * tests/pr243.test: Likewise.
  6097. * tests/pr266.test: Likewise.
  6098. * tests/pr220.test: Simplify so that it doesn't require a
  6099. C compiler anymore.
  6100. * tests/subdir5.test: Likewise.
  6101. * tests/subdir8.test: Likewise.
  6102. * tests/lflags.test: Likewise.
  6103. * tests/yflags.test: Likewise.
  6104. * tests/yflags-force-conditional.test: Likewise.
  6105. * tests/lflags2.test: Simplify so that it doesn't require a
  6106. C++ compiler anymore.
  6107. * tests/yflags2.test: Likewise.
  6108. * tests/autohdrdry.test (configure.in): Remove unneeded call
  6109. to `AC_PROG_CC'.
  6110. * tests/pr287.test: Likewise.
  6111. * tests/check6.test: Likewise.
  6112. * tests/cond21.test: Likewise, plus some cosmetic adjustments.
  6113. * tests/upc.test: Skip if configure fails with status `77'.
  6114. * tests/upc3.test: Likewise.
  6115. * tests/vala4.test: Likewise.
  6116. * tests/nostdinc.test: Likewise. Also, make grepping checks
  6117. on `Makefile.in'. Update heading comments.
  6118. * tests/compile5.test: When we must skip, skip explicitly,
  6119. and with a meaningful message.
  6120. * tests/instspc-tests.sh: When running in "test-build" or
  6121. "test-install" mode (as determined by the value of variable
  6122. `$instspc_action'), require `cc'. Adjust comments.
  6123. * tests/depmod-tests.sh: Likewise.
  6124. 2011-05-24 Stefano Lattarini <stefano.lattarini@gmail.com>
  6125. testsuite: allow user to ask for stricter skip semantics
  6126. Given how the Automake testsuite is currently structured, if a
  6127. command in a test script fails with status `77', the global test
  6128. outcome is considered a SKIP, because the value of `77' for `$?'
  6129. is passed to the exit trap. Indeed, this happens in practice, as
  6130. an autoconf-generated configure script can exit with status `77'
  6131. if it fails to find, e.g., a required compiler.
  6132. While this behaviour is quite useful for avoiding spurious test
  6133. failures in the wild, it can also sometimes prevent the Automake
  6134. developers to easily see and declare the requirements of their
  6135. tests.
  6136. This change introduces a new variable `am_explicit_skips', meant to
  6137. be user-overridable, and which, when set to a "true" value (i.e.,
  6138. `yes' or `1'), require a direct call to `Exit 77' in order to make
  6139. the test outcome be considered a SKIP.
  6140. * tests/defs.in ($am__test_skipped): New variable, initialized
  6141. to `no'.
  6142. (Exit): Set `$am__test_skipped' to `yes' if passed an exit status
  6143. of 77.
  6144. (trap '...' 0): When `$am_explicit_skips' is set to a "true" value,
  6145. reset an exit status of `77' to `78' if $am__test_skipped is not
  6146. set to `yes'.
  6147. * tests/self-check-exit.test: Adjust: unset `am_explicit_skips'.
  6148. * tests/self-check-explicit-skips.test: New test.
  6149. * tests/Makefile.am (TESTS): Update.
  6150. 2011-05-24 Stefano Lattarini <stefano.lattarini@gmail.com>
  6151. testsuite: user can force skipping of compiler-requiring tests
  6152. * tests/defs (cc, c++, fortran, fortran77): Skip the test if
  6153. the relevant compiler is disabled by having the corresponding
  6154. variable (CC, CXX, FC and F77, respectively) set to "false".
  6155. (yacc): For consistency, skip the test when the YACC variable
  6156. is set to "false", not when it's set to "no". Since we are at
  6157. it, fix the skip message to be shorter and more consistent.
  6158. 2011-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  6159. tests: tweak and improve tests on "Simple Tests" driver
  6160. * tests/check.test: Make grepping of generated Makefile.in
  6161. slightly stricter. Add trailing `:' command.
  6162. * tests/check2.test: Ensure verbose printing of captured make
  6163. output. Make grepping of generated Makefile.in and of make
  6164. output stricter. Add trailing `:' command.
  6165. * tests/check3.test: Likewise. Also, fix minor error in a
  6166. comment.
  6167. * tests/check4.test: Stricter grepping of make output. Use
  6168. `using_gmake' subroutine instead of copy&paste from defs.in
  6169. to determine whether $MAKE is GNU make. Add a trailing `:'
  6170. command.
  6171. * tests/check6.test: Add trailing `:' command.
  6172. * tests/check10.test: Prefer redirection `>' over `>>' when
  6173. creating new files. Ensure verbose printing of captured make
  6174. output.
  6175. * tests/check11.test: Likewise.
  6176. * tests/check7.test: Likewise. Make grepping of make output
  6177. stricter. Prefer "make distcheck" over a simple "make check"
  6178. in a VPATH build. Add trailing `:' command.
  6179. (a.c): Format following GNU coding standards.
  6180. (Makefile.am): Explicitly declare target `print-xfail-tests'
  6181. as PHONY. Distribute $(check_SCRIPTS), for distcheck.
  6182. * tests/parallel-tests.test: Prefer redirection `>' over `>>'
  6183. when creating new files.
  6184. * tests/parallel-tests2.test: Likewise.
  6185. * tests/parallel-tests9.test: Likewise.
  6186. * tests/parallel-tests8.test: Likewise. Make grepping of
  6187. automake stderr stricter.
  6188. * tests/check8.test: Likewise. Make formatting of created
  6189. *.c files more consistent with GNU Coding Standards.
  6190. * tests/check-subst-prog.test (configure.in): Break overly
  6191. long lines.
  6192. (pass-prog.c, xfail-prog.c): Format them more consistently
  6193. with GNU Coding Standards.
  6194. * tests/parallel-tests3.test: Use a shorter and clearer skip
  6195. message. Use the `unindent' subroutine to improve readability
  6196. of indented loop bodies. Simplify the hack used to please
  6197. maintainer-check.
  6198. * tests/parallel-tests5.test: Make formatting of created *.c
  6199. files more consistent with GNU Coding Standards. Use the
  6200. `unindent' subroutine to improve readability of indented loop
  6201. bodies.
  6202. * tests/parallel-tests10.test: Add blank line, for clarity.
  6203. Prefer trailing `:' over trailing `Exit 0', for consistency
  6204. with other tests.
  6205. 2011-05-21 Stefano Lattarini <stefano.lattarini@gmail.com>
  6206. tests/README: small consistency improvement
  6207. * tests/README (Section "User interface" subsection "Running the
  6208. tests"): In examples, be more consistent w.r.t. the differences
  6209. between GNU and non-GNU make.
  6210. 2011-05-21 Stefano Lattarini <stefano.lattarini@gmail.com>
  6211. tests/README: suggest how to run tests in cross-compile mode
  6212. * tests/README (Section "User interface" subsection "Running the
  6213. tests"): Briefly explain how to override 'host_alias' at runtime
  6214. to force the use of cross-compilers by the testsuite. Give an
  6215. example.
  6216. 2011-05-21 Stefano Lattarini <stefano.lattarini@gmail.com>
  6217. test defs: better detection of cross-compile mode
  6218. * configure.ac (AC_CANONICAL_HOST): New, probably not strictly
  6219. necessary, but useful to complements AC_CANONICAL_BUILD.
  6220. * tests/defs-static.in ($host_alias, $build_alias): New variables,
  6221. exported, user-overridable, defaults AC_SUBST'd by configure.
  6222. * tests/defs (cross_compiling): Consider cross-compilation mode
  6223. active only if `$host_alias' is not empty *and* it differs from
  6224. `$build_alias'. This is more faithful to the way configure
  6225. determines whether it is cross-compiling, but still allows the
  6226. user to easily force cross-compilation by overriding `host_alias'
  6227. and `build_alias' at runtime.
  6228. From a report by Ralf Wildenhues.
  6229. 2011-05-20 Stefano Lattarini <stefano.lattarini@gmail.com>
  6230. testsuite: avoid re-running few tests with 'parallel-tests' option
  6231. Some tests in our testsuite use the 'simple-tests' driver only
  6232. marginally, or simply as a mean to conveniently check unrelated
  6233. invariants. It makes little sense to force these tests to also
  6234. run with the 'parallel-tests' Automake option active, as doing so
  6235. offers no real gain in coverage, while often causing a measurable
  6236. overhead in execution time (for an already too-slow testsuite).
  6237. * tests/pr401.test (parallel_tests): Define to "no", to prevent
  6238. the generation of a sibling test script using the 'parallel-tests'
  6239. driver.
  6240. * tests/pr401b.test: Likewise.
  6241. * tests/pr401c.test: Likewise.
  6242. * tests/java-flat.test: Likewise, and properly update heading
  6243. comments.
  6244. * tests/java-nested.test: Likewise, but defining `parallel_tests'
  6245. to "yes" instead, for improved coverage in conjunction with the
  6246. sister test `java-flat.test'.
  6247. 2011-05-20 Stefano Lattarini <stefano.lattarini@gmail.com>
  6248. testsuite: allow tests to avoid the use of 'parallel-tests' option
  6249. * tests/gen-parallel-tests: Do not generate "siblings" for tests
  6250. that explicitly define the `parallel_tests', whether to "yes" or
  6251. to any other value. Extend heading comments to give a rationale
  6252. for this behaviour.
  6253. * tests/README: Update.
  6254. 2011-05-20 Stefano Lattarini <stefano.lattarini@gmail.com>
  6255. tests/README: update obsoleted advice
  6256. * tests/README (Section "Writing test cases" subsection "Do"):
  6257. Do not suggest to use the `*-p.test' pattern for the names of
  6258. hand-written tests which use the `parallel-tests' Automake option.
  6259. Not only is this not respected by the existing tests, but it is
  6260. more likely to cause conflicts with auto-generated tests.
  6261. So, suggest to *avoid* using the `*-p.test' pattern in names
  6262. of hand-written tests instead.
  6263. (Section "Writing test cases" subsection "Do not"): When
  6264. suggesting not to override Makefile variables using command
  6265. line arguments, do not use the badly outdated variables `U'
  6266. and 'ANSI2KNR' in the example; instead, use the more common
  6267. and typical `DESTDIR'.
  6268. 2011-05-18 Stefano Lattarini <stefano.lattarini@gmail.com>
  6269. tests: avoid spurious failures in cross-compile mode
  6270. * tests/depcomp2.test: Ensure verbose printing of captured stderr
  6271. from configure.
  6272. * tests/ansi3.test ($required): Add 'native', as the ansi2knr
  6273. functionality is not meant to work with a cross-compiler.
  6274. * tests/ansi3b.test: Likewise.
  6275. * tests/ansi5.test: Likewise.
  6276. * tests/ansi6.test: Likewise.
  6277. * tests/ansi7.test: Likewise.
  6278. * tests/ansi8.test: Likewise.
  6279. * tests/ansi10.test: Likewise.
  6280. * tests/subobj3.test: Likewise.
  6281. * tests/check8.test ($required): Add 'native', as this test is
  6282. not meant to work with a cross-compiler.
  6283. * tests/gnits2.test: Likewise.
  6284. * tests/ltconv.test: Likewise.
  6285. * tests/ltcond2.test: Likewise.
  6286. * tests/parallel-tests5.test: Likewise.
  6287. * tests/specflg7.test: Likewise.
  6288. * tests/specflg8.test: Likewise.
  6289. * tests/check5.test: Likewise. Also, ensure verbose printing of
  6290. captured make output, and thrown in few cosmetic and consistency
  6291. improvements.
  6292. * tests/ltinit.test: Be laxer in grepping configure output, to
  6293. avoid spurious failures on systems which lack POSIX dynamic
  6294. linking (e.g., MinGW), or when cross-compiling for such systems.
  6295. * tests/ansi9.test: Skip parts of the test that would require a
  6296. native compiler.
  6297. * tests/backcompat6.test: Likewise.
  6298. * tests/depcomp8a.test: Likewise.
  6299. * tests/pr401.test: Likewise.
  6300. * tests/pr401b.test: Likewise.
  6301. * tests/pr401c.test: Likewise.
  6302. * tests/target-cflags.test: Likewise.
  6303. * tests/lex3.test: Likewise.
  6304. * tests/yacc-basic.test: Likewise.
  6305. * tests/autohdr4.test: Likewise. Also, extend the test to ensure
  6306. more coverage in cross-compile mode.
  6307. * tests/canon7.test: Likewise.
  6308. * tests/check9.test: Removed, split into two new tests ...
  6309. * tests/check-subst-prog.test: ... this one, which requires a
  6310. native C compiler ...
  6311. * tests/check-subst.test: ... and this one, which doesn't require
  6312. any compiler.
  6313. * tests/parallel-tests4.test: Removed, split into two new tests ...
  6314. * tests/parallel-tests-suffix-prog.test: ... this one, which
  6315. requires a native C compiler ...
  6316. * tests/parallel-tests-suffix.test: ... and this one, which
  6317. doesn't require any compiler.
  6318. * tests/parallel-tests7.test: Removed, split into two new tests ...
  6319. * tests/parallel-tests-ext-driver-prog.test: ... this one, which
  6320. requires a native C compiler ...
  6321. * tests/parallel-tests-ext-driver.test: ... and this one, which
  6322. doesn't require any compiler.
  6323. * tests/Makefile.am (TESTS): Update.
  6324. 2011-05-19 Stefano Lattarini <stefano.lattarini@gmail.com>
  6325. test defs: rename requirement 'non-cross' -> 'native'
  6326. * tests/defs.in (non-cross): Rename requirement ...
  6327. (native): ... to this, which is clearer and fits the
  6328. existing lingo better.
  6329. Suggestion by Ralf Wildenhues.
  6330. 2011-05-15 Stefano Lattarini <stefano.lattarini@gmail.com>
  6331. testsuite: be more cross-compile friendly
  6332. * tests/defs.in (cross_compiling): New subroutine.
  6333. (am__tool_prefix): New internal variable.
  6334. (gcc, g++, gcj): Force the use of the correct "tool prefix"
  6335. when cross compiling.
  6336. (gfortran, g77, non-cross): New requirements.
  6337. 2011-05-15 Stefano Lattarini <stefano.lattarini@gmail.com>
  6338. tests: fix portability issues in 'repeated-options.test'
  6339. * tests/repeated-options.test: Do not assume that object files
  6340. have `.o' suffix and executables have no default suffix; instead,
  6341. use `$(OBJEXT)' and `$(EXEEXT)'.
  6342. 2011-05-11 Stefano Lattarini <stefano.lattarini@gmail.com>
  6343. check: document and test $(TEST_SUITE_LOG) overriding
  6344. * doc/automake.texi (Simple Tests using parallel-tests): Explain
  6345. how and why TEST_SUITE_LOG can be overridden at runtime.
  6346. * tests/parallel-tests-log-override-1.test: New test, check that
  6347. the newly documented idiom and similar usages are truly supported.
  6348. * tests/parallel-tests-log-override-2.test: Likewise.
  6349. * tests/parallel-tests-log-override-recheck.test: Likewise.
  6350. * tests/Makefile.am (TESTS): Update.
  6351. 2011-05-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  6352. tests: fix spurious failure of extradep.test on FreeBSD
  6353. * tests/extradep.test: When using `ls -t' to determine whether a
  6354. file has been updated, make sure to use as reference a file whose
  6355. timestamp is expected to be *strictly* older that that of the file
  6356. being checked. This is required because at least FreeBSD `ls' do
  6357. not sort files with the same timestamp in alphabetical order when
  6358. using the `-t' option.
  6359. * tests/extradep2.test: Likewise.
  6360. 2011-05-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  6361. tests: fix spurious failure of txinfo21.test on FreeBSD
  6362. * tests/txinfo21.test: Use the `is_newest' subroutine instead of
  6363. the `ls -t' hack to to determine whether a file has been updated.
  6364. This is required because at least FreeBSD `ls' do not sort files
  6365. with the same timestamp in alphabetical order when using the `-t'
  6366. option.
  6367. 2011-05-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  6368. tests: fix syntax error in 'silentcxx-gcc.test'
  6369. * tests/silentcxx-gcc.test (for config_args in ...): Remove extra
  6370. trailing backslash from the list of looped-on items.
  6371. 2011-05-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  6372. depmod tests: fix bug in depmodes list extraction
  6373. * tests/depmod-tests.sh (get_depmodes): Use `echo $all_depmodes'
  6374. instead of `... | tr "$nl" "$sp"' to strip extra whitespaces and
  6375. newlines from `$all_depmodes'. The latter idiom with `tr' is
  6376. wrong since it gets run before `./defs' is sourced, and thus `$nl'
  6377. and `$sp' are undefined.
  6378. Bug revealad by FreeBSD tr(1) implementation, which doesn't accept
  6379. empty strings as arguments.
  6380. 2011-05-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  6381. tests defs: use `skip_' for skipping java-related tests
  6382. * tests/defs.in (java, javac): Use `skip_' to signal test
  6383. skipping.
  6384. 2011-05-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  6385. tests: add excerpts from few original bug reports, for clarity.
  6386. * tests/comment6.test: Add excerpts and/or details from the
  6387. original bug report that prompted this tests to be added and/or
  6388. extended.
  6389. * tests/dejagnu4.test: Likewise.
  6390. * tests/installdir.test: Likewise.
  6391. 2011-05-13 Stefano Lattarini <stefano.lattarini@gmail.com>
  6392. lex: "make clean" removes .c files from non-distributed .l
  6393. Previously, while automake did *not* distribute C source and header
  6394. files derived from non-distributed Lex sources, it still caused
  6395. them to be removed only by "make maintainer-clean" only, and not by
  6396. simply "make clean" or "make distclean".
  6397. This caused "make distcheck" to fail, unless the developer put
  6398. those generated .c files in CLEANFILES or in DISTCLEANFILES by
  6399. hand.
  6400. This change fixes this issue, by making non-distributed `.c' files
  6401. generated by non-distributed Lex sources cleaned by "make clean".
  6402. A similar problem for Yacc support had been fixed with the commit
  6403. v1.11-263-ged2c8bc.
  6404. * tests/automake.in (lang_lex_target_hook): Make C source files
  6405. derived from non-distributed Lex files cleaned by "make clean",
  6406. not only by "make maintainer-clean".
  6407. * tests/lex-clean.test: New test.
  6408. * tests/lex-clean-cxx.test: Likewise.
  6409. * tests/lex-nodist.test: Likewise.
  6410. * tests/lex-pr204.test: Likewise.
  6411. * tests/pr204.test: For consistency, renamed ...
  6412. * tests/yacc-pr204.test: ... to this, and updated to keep it
  6413. more in sync with 'lex-pr204.test'.
  6414. * tests/yacc-nodist.test: Updated to keep it more in sync with
  6415. 'lex-nodist.test'.
  6416. * tests/Makefile.am (TESTS): Update.
  6417. * NEWS: Update.
  6418. 2011-05-13 Stefano Lattarini <stefano.lattarini@gmail.com>
  6419. lex tests: make test on Lex dependency tracking more "semantic"
  6420. * tests/lex4.test: Renamed ...
  6421. * tests/lex-depend-grep.test: ... to this, and extended.
  6422. * tests/lex-depend.test, tests/lex-depend-cxx.test: ... these
  6423. new tests.
  6424. * tests/Makefile.am (TESTS): Update.
  6425. 2011-05-13 Stefano Lattarini <stefano.lattarini@gmail.com>
  6426. lex tests: remove erroneous check about ylwrap distribution
  6427. * tests/lex5.test: Do not check that the ylwrap script is *not*
  6428. distributed when there is only one lexer, as ylwrap is in fact
  6429. expected to distributed unconditionally (at least starting from
  6430. commit `Release-1-9-323-gc5881cc' of 19-08-2006). Note that this
  6431. bogus check wasn't triggering any failure because it was done at
  6432. the wrong time (i.e. from the VPATH build directory), so that it
  6433. could never fail anyway.
  6434. Instead, check that ylwrap is distributed even when there is only
  6435. one lexer.
  6436. Since we are at it, add a couple of `ls -l' calls, to get better
  6437. debugging info.
  6438. 2011-05-13 Stefano Lattarini <stefano.lattarini@gmail.com>
  6439. yacc tests: "make clean" removes C++ files from non-distributed .y
  6440. * tests/yacc-clean-cxx.test: New test, sister of `yacc-clean.test'.
  6441. * tests/yacc-clean.test: Update heading comment to reference the
  6442. new sister test.
  6443. * tests/Makefile.am (TESTS): Update.
  6444. 2011-05-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  6445. tests: add a workaround for automake bug#8485
  6446. * tests/yacc-d-cxx.test (Makefile.am): Add temporary workaround
  6447. for automake bug#8485. The bug is still exposed by the testcase
  6448. 'yacc-dist-nobuild-subdir.test'.
  6449. 2011-05-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  6450. tests: add a couple of inter-tests reference
  6451. * tests/yacc-nodist.test, tests/pr204.test: These tests are
  6452. related, so add references to each other in heading comments.
  6453. 2011-05-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  6454. lex tests: require just `lex' instead of `flex'
  6455. * tests/lex-subobj-nodep.test ($required): Require `lex',
  6456. not `flex', as this test is expected to work with any lex
  6457. implementation.
  6458. * tests/silent-lex.test: Likewise.
  6459. 2011-05-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  6460. tests defs: use `skip_' for skipping yacc/lex related tests
  6461. * tests/defs.in (lex, bison): Use `skip_' to signal test skipping.
  6462. 2011-05-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  6463. tests defs: merge cleanup
  6464. * tests/defs.in (flex, bison): Requirements removed, we have real
  6465. `lex' and `yacc' requirements now.
  6466. 2011-05-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  6467. tests defs: allow requirements for compilers (mostly dummy)
  6468. Most of the new requirements that are now accepted in `$required'
  6469. as consequence of this patch are still dummy. They are planned
  6470. to be implemented only in master (or in some derived branch), but
  6471. having them here (even just as no-op) will allow for an easier
  6472. integration/backporting of potential new testcases.
  6473. * tests/defs.in (cc, c++, fortran, fortran77): New requirements,
  6474. still dummy.
  6475. (flex): New requirement, picking LEX for configure.
  6476. (lex): New requirement, alias for `flex'. A more appropriate
  6477. implementation, looking for a generic `lex' program, will follow
  6478. in the future.
  6479. 2011-05-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  6480. tests: 'silent-many-gcc.test' improved and made more robust
  6481. * tests/silent-many-gcc.test: Also force "fast" gcc depmode
  6482. for C++ compilations. Add sanity checks verifying that the
  6483. cache variables we force are really used by configure. Fix
  6484. typo in comments.
  6485. 2011-05-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  6486. tests: drop useless requirements of 'g++'
  6487. * tests/lflags2.test ($required): Remove 'g++', as any working
  6488. C++ compiler should be enough, and ./configure will cause the
  6489. test to skip if no working C++ compiler is found.
  6490. * tests/yflags2.test: Likewise.
  6491. * tests/subobj9.test: Likewise.
  6492. * tests/silentcxx.test: Likewise. Also, do not force depmodes
  6493. that could cause non-GNU C++ compilers to fail.
  6494. * tests/silentcxx-gcc.test: New test, like `silentcxx.test',
  6495. but forcing "fast" gcc depmode (and thus requiring the GNU C++
  6496. compiler).
  6497. * tests/specflg10.test: Add proper "fixme" comment telling that
  6498. we should make this test work with a generic C++ compiler.
  6499. * tests/Makefile.am (TESTS): Update.
  6500. 2011-05-03 Stefano Lattarini <stefano.lattarini@gmail.com>
  6501. tests defs: one more environment sanitization (corner case)
  6502. * tests/defs (am__using_gmake): Initialize. The `using_gmake'
  6503. subroutine was using this variable for caching, but wasn't
  6504. initializing it, which could cause problems in the (admittedly
  6505. very unlikely) case in which it was pre-existent in the
  6506. environment.
  6507. 2011-05-03 Stefano Lattarini <stefano.lattarini@gmail.com>
  6508. tests: add forgotten test scripts to $(TESTS)
  6509. * tests/Makefile.am (TESTS): Added test scripts man[678].test,
  6510. which have been present on the filesystem and in the repository,
  6511. but which had erroneously been left out from $(TESTS).
  6512. 2011-05-03 Stefano Lattarini <stefano.lattarini@gmail.com>
  6513. tests: ensure verbose printing of captured make output
  6514. * tests/libtool7.test: Ensure verbose printing of captured
  6515. make output.
  6516. * tests/libtool9.test: Likewise.
  6517. 2011-05-03 Stefano Lattarini <stefano.lattarini@gmail.com>
  6518. maintcheck: consistency of list of test scripts
  6519. * CheckListOfTests.am: New file.
  6520. (maintainer-check-list-of-tests): New target,
  6521. check for consistency between list of tests defined in the
  6522. including Makefile and list of tests on the filesystem.
  6523. (clean-maintcheck-testslist-tmp): New rule, to clean up the
  6524. temporary files that might be left around by the rules associated
  6525. with the previous target.
  6526. (clean-local): Depend on it.
  6527. * lib/Automake/tests/Makefile.am: Include `CheckListOfTests.am'.
  6528. (maintainer-check): Added dependency from the new target
  6529. `maintainer-check-list-of-tests'.
  6530. * tests/Makefile.am: Likewise. Also ...
  6531. (checked_test_extensions): Define to `.test'.
  6532. (expected_test_list): Define properly.
  6533. * Makefile.am (maintainer-check-list-of-test): New target,
  6534. calling recursively into `tests/' and `lib/Automake/tests/',
  6535. using ...
  6536. (TEST_SUBDIRS): ... this new variable.
  6537. 2011-05-03 Stefano Lattarini <stefano.lattarini@gmail.com>
  6538. tests: drop useless requirements of gcc (plus testsuite tweakings)
  6539. * tests/libobj14.test ($required): Remove 'gcc', as we never run
  6540. the C compiler.
  6541. * tests/targetclash.test: Likewise.
  6542. * tests/ansi6.test ($required): Remove 'gcc', as any working
  6543. C compiler should be enough.
  6544. * tests/ansi7.test: Likewise.
  6545. * tests/ansi9.test: Likewise.
  6546. * tests/ansi10.test: Likewise.
  6547. * tests/lex5.test: Likewise.
  6548. * tests/lexvpath.test: Likewise.
  6549. * tests/mmodely.test: Likewise.
  6550. * tests/pr204.test: Likewise.
  6551. * tests/pr300-lib.test: Likewise.
  6552. * tests/pr300-prog.test: Likewise.
  6553. * tests/primary3.test: Likewise.
  6554. * tests/specflg7.test: Likewise.
  6555. * tests/specflg8.test: Likewise.
  6556. * tests/subdir5.test: Likewise.
  6557. * tests/subdir8.test: Likewise.
  6558. * tests/subobj6.test: Likewise.
  6559. * tests/subst3.test: Likewise.
  6560. * tests/substre2.test: Likewise.
  6561. * tests/yacc6.test: Likewise.
  6562. * tests/yacc8.test: Likewise.
  6563. * tests/depcomp2.test: Likewise. Also, avoid clobbering user-set
  6564. CFLAGS.
  6565. * tests/lex3.test: Likewise.
  6566. * tests/ansi3.test: Likewise. Also, avoid 'CC=gcc' in configure.
  6567. * tests/ansi3b.test: Likewise.
  6568. * tests/ansi5.test: Likewise.
  6569. * tests/autohdr4.test ($required): Remove 'gcc', as any working
  6570. C compiler should be enough.
  6571. Also, do not reject slow dependency extractors (which we might
  6572. be forced to use now that $CC is not necessarily gcc anymore).
  6573. * tests/cond16.test ($required): Remove 'gcc', as any working
  6574. C compiler should be enough.
  6575. Since we are at it, throw in few minor tweakings (mostly cosmetic,
  6576. stylistic, or consistency-related).
  6577. * tests/cond18.test: Likewise.
  6578. * tests/cond35.test: Likewise.
  6579. * tests/gnits2.test: Likewise.
  6580. * tests/libtool3.test: Likewise.
  6581. * tests/libtool7.test: Likewise.
  6582. * tests/libtool9.test: Likewise.
  6583. * tests/ltcond.test: Likewise.
  6584. * tests/ltcond2.test: Likewise.
  6585. * tests/ltconv.test: Likewise.
  6586. * tests/ltlibsrc.test: Likewise.
  6587. * tests/nobase.test: Likewise.
  6588. * tests/nobase-libtool.test: Likewise.
  6589. * tests/pr220.test: Likewise.
  6590. * tests/pr224.test: Likewise.
  6591. * tests/pr300-ltlib.test: Likewise.
  6592. * tests/pr401.test: Likewise.
  6593. * tests/pr401b.test: Likewise.
  6594. * tests/pr401c.test: Likewise.
  6595. * tests/subpkg.test: Likewise.
  6596. * tests/target-cflags.test: Likewise.
  6597. * tests/transform.test: Likewise.
  6598. * tests/yacc4.test: Likewise.
  6599. * tests/cond19.test: Likewise. Also, avoid clobbering user-set
  6600. CFLAGS.
  6601. * tests/cond4.test: Likewise.
  6602. * tests/depend2.test: Likewise.
  6603. * tests/pr87.test: Likewise.
  6604. * tests/subobj3.test: Likewise.
  6605. * tests/substref.test: Likewise.
  6606. 2011-05-03 Stefano Lattarini <stefano.lattarini@gmail.com>
  6607. test defs: increase coverage w.r.t. GNU make
  6608. * tests/defs (GNUmake): Instead of just skipping the tests
  6609. requiring GNU make if $MAKE is not GNU make, try to look for
  6610. it and, if found, redefine $MAKE accordingly. This will help
  6611. to transparently increase coverage on non-GNU systems which
  6612. have GNU make available in PATH.
  6613. 2011-05-03 Stefano Lattarini <stefano.lattarini@gmail.com>
  6614. tests: improve few inter-tests references
  6615. * tests/acloca22.test: Improve and extend the heading comments.
  6616. Add reference to related tests 'remake-deleted-m4-file.test' and
  6617. 'remake-renamed-m4-macro-and-file.test'. Since we are at it,
  6618. add trailing `:' command, and few blank lines for readability.
  6619. * tests/remake-renamed-m4-macro-and-file.test: In the heading
  6620. comments, add reference to the related test 'acloca22.test'.
  6621. 2011-05-03 Stefano Lattarini <stefano.lattarini@gmail.com>
  6622. tests: fix spurious failure in 'color2.test'
  6623. * tests/color2.test: If $MAKE contains command-line arguments (as
  6624. in e.g., "make -j2"), expect's directive "spawn $env(MAKE)" fails
  6625. spuriously, because it tries to run "$MAKE" as a single command.
  6626. Fix this with proper uses of the TCL `eval' builtin.
  6627. 2011-05-03 Stefano Lattarini <stefano.lattarini@gmail.com>
  6628. tests: few more checks on automatic remake support
  6629. * tests/remake-all-1.test: New test, check that the "all" target
  6630. triggers rebuilt of outdated Makefiles.
  6631. * tests/remake-all-2.test: Likewise, but for when the makefiles
  6632. are not named `Makefile'.
  6633. * tests/Makefile.am (TESTS): Update.
  6634. 2011-05-03 Stefano Lattarini <stefano.lattarini@gmail.com>
  6635. tests: check some remake features with non-GNU make too
  6636. * tests/acloca14.test ($required): Drop "GNUmake". This test
  6637. works as-is with non-GNU make implementations.
  6638. * tests/remake1a.test: Likewise.
  6639. * tests/aclocal4.test ($required): Drop "GNUmake".
  6640. Modify the test to have it work also with non-GNU make.
  6641. * tests/remake5.test: Likewise.
  6642. * tests/remake8a.test: Likewise.
  6643. * tests/remake8b.test: Likewise.
  6644. * tests/remake9a.test: Likewise.
  6645. * tests/remake9b.test: Likewise.
  6646. * tests/remake9c.test: Likewise.
  6647. * tests/remake9d.test: Likewise.
  6648. * tests/remake10a.test: Likewise.
  6649. * tests/remake10b.test: Likewise.
  6650. * tests/remake10c.test: Likewise.
  6651. * tests/remake12.test: ($required): Drop "GNUmake".
  6652. Adapt the test to make it work also with non-GNU make (if
  6653. it supports an "include" directive).
  6654. 2011-05-01 Stefano Lattarini <stefano.lattarini@gmail.com>
  6655. tests: extend tests on dependency tracking with VPATH
  6656. * tests/depmod-tests.sh: New script, fulfilling a threefold role:
  6657. 1. it is called to generate a Makefile.am snippet, containing the
  6658. definition of proper lists of tests;
  6659. 2. it is called to set up a directory containing some common data
  6660. files and autotools-generated files used by the aforementioned
  6661. tests (this is done for speed reasons only); and
  6662. 3. it is called to properly run those tests, one at a time.
  6663. * tests/depcomp9.test: Delete, it's obsolete now.
  6664. * tests/depcomp10.test: Likewise.
  6665. * tests/Makefile.am ($(srcdir)/depmod-tests.am): Include this
  6666. snippet, which defines ...
  6667. (depmode_tests): ... this new macro, containing the list of the
  6668. newly generated `*.depmod' tests.
  6669. (TESTS_EXTENSIONS): Add `.depmod'.
  6670. (DEPMOD_LOG_COMPILER): Define. It calls `depmod-tests.sh', so that
  6671. the "depmode tests" will be executed by passing that driver script
  6672. a proper parameter.
  6673. ($(depmod_tests)): New dependency declaration (dummy, but required
  6674. in order to have make actually produce expected log files from the
  6675. `.depmod.log' suffix rule).
  6676. (TESTS): Add $(depmod_tests).
  6677. (EXTRA_DIST): Distribute depmod-tests.sh.
  6678. Other minor cosmetic changes and reorderings.
  6679. * bootstrap: Generate depmod-tests.am.
  6680. * tests/.gitignore: Updated.
  6681. 2011-05-01 Stefano Lattarini <stefano.lattarini@gmail.com>
  6682. tests: avoid extra test generation (for `instspc' tests)
  6683. We don't really need to generate tons and tons of wrapper test
  6684. scripts (presently, ~ 90) just to run what is basically a single
  6685. test (specifically, `instspc-tests.sh') with different parameters.
  6686. In fact, the possibility of running a single driver script with
  6687. multiple files/configurations/parameters is one of the major
  6688. selling points of the 'parallel-tests' testsuite driver of
  6689. automake. So why not use ourselves more extensively the best
  6690. features we provide?
  6691. * tests/instspc-tests.sh: Update heading comments. Expect
  6692. to be executed, not sourced. Update handling of command-line
  6693. arguments. Adjust to reflect the renaming of "instspc tests"
  6694. from `instspc-*.test' to `*.instspc'.
  6695. * tests/instspc-data.test: Update heading comments. Execute
  6696. driver script `instspc-tests.sh', instead of sourcing it.
  6697. Give more informative messages in case of internal errors.
  6698. * tests/Makefile.am (TESTS_EXTENSIONS): Define explicitly (to
  6699. `.test' and `.instspc').
  6700. (TESTS): Add `$(instspc_tests)'.
  6701. (generated_tests): Remove `$(instspc_tests)'.
  6702. (INSTSPC_LOG_COMPILER): Define. Calls `instspc-tests.sh', so
  6703. that the "instspc tests" will be now executed by passing that
  6704. driver script a proper parameter.
  6705. ($(instspc_tests)): Remove, we don't need anymore to generate
  6706. this tests.
  6707. ($(instspc_tests:.test=.log)): Remove, substituted by ...
  6708. ($(instspc_tests:.instspc=.log)): ... this.
  6709. ($(instspc_tests)): New dependency declaration (dummy, but
  6710. required in order to have make actually produce expected log
  6711. files from the `.instspc.log' suffix rule).
  6712. (MAINTAINERCLEANFILES, generated_tests): Don't extend with
  6713. $(instspc_tests) anymore.
  6714. Update comments.
  6715. 2011-05-01 Stefano Lattarini <stefano.lattarini@gmail.com>
  6716. build: improve the definition of the list of testcases
  6717. * tests/Makefile.am (handwritten_tests): New variable.
  6718. (generated_tests): Likewise.
  6719. (TESTS): Redefine as the union of the above.
  6720. (EXTRA_DIST): Extend using $(handwritten_tests) and
  6721. $(generated_tests) rather than $(TESTS).
  6722. * tests/gen-parallel-tests: Update accordingly, and
  6723. make more robust.
  6724. 2011-05-01 Stefano Lattarini <stefano.lattarini@gmail.com>
  6725. tests skips: shorter and clearer messages
  6726. * tests/defs: Use shorter messages when giving reasons for test
  6727. skipping; it turns out these shorter messages are also clearer.
  6728. If more info might be useful, send them to the log file only.
  6729. 2011-05-01 Stefano Lattarini <stefano.lattarini@gmail.com>
  6730. tests: fix self check spurious failure with older bash versions
  6731. * tests/self-check-cleanup.test: Add trailing `:' to the test code
  6732. passed to $SHELL, otherwise older versions of bash (at least 2.05
  6733. and 3.2.39) fail to correctly remove the temporary directory in
  6734. the exit trap.
  6735. 2011-05-01 Stefano Lattarini <stefano.lattarini@gmail.com>
  6736. tests: add sanity check to 'self-check-cleanup.test'
  6737. * tests/self-check-cleanup.test: Check that the "hacked" file
  6738. `defs-static' used by the test differs from the "vanilla" one
  6739. in builddir. This also offers a little more debugging output.
  6740. 2011-05-01 Stefano Lattarini <stefano.lattarini@gmail.com>
  6741. testsuite: display reasons for skips to the console
  6742. * tests/Makefile.am (AM_TESTS_ENVIRONMENT): Open file descriptor
  6743. `9' to the original stderr; define `stderr_fileno_' to `9', and
  6744. export it.
  6745. * tests/self-check-report.test: Prevent new spurious failures by
  6746. removing from the environment any definition of `stderr_fileno_'.
  6747. 2011-05-01 Stefano Lattarini <stefano.lattarini@gmail.com>
  6748. testsuite: use `skip_' for skipping of tests
  6749. * tests/defs: Use the `skip_' subroutine for test skipping. Also
  6750. give sometimes more detailed messages about the reasons for the
  6751. skipping.
  6752. * tests/canon7.test: Likewise.
  6753. * tests/color.test: Likewise.
  6754. * tests/color2.test: Likewise.
  6755. * tests/compile2.test: Likewise.
  6756. * tests/dejagnu7.test: Likewise.
  6757. * tests/depcomp6.test: Likewise.
  6758. * tests/depcomp9.test: Likewise.
  6759. * tests/depcomp10.test: Likewise.
  6760. * tests/distlinks.test: Likewise.
  6761. * tests/distlinksbrk.test: Likewise.
  6762. * tests/fn99.test: Likewise.
  6763. * tests/fn99subdir.test: Likewise.
  6764. * tests/forcemiss2.test: Likewise.
  6765. * tests/fort5.test: Likewise.
  6766. * tests/gettext3.test: Likewise.
  6767. * tests/install2.test: Likewise.
  6768. * tests/instfail-info.test: Likewise.
  6769. * tests/instfail-java.test: Likewise.
  6770. * tests/instfail-libtool.test: Likewise.
  6771. * tests/instfail.test: Likewise.
  6772. * tests/instmany-mans.test: Likewise.
  6773. * tests/instmany-python.test: Likewise.
  6774. * tests/instmany.test: Likewise.
  6775. * tests/instsh3.test: Likewise.
  6776. * tests/ltinit.test: Likewise.
  6777. * tests/makej2.test: Likewise.
  6778. * tests/mdate6.test: Likewise.
  6779. * tests/mkinst3.test: Likewise.
  6780. * tests/parallel-tests3.test: Likewise.
  6781. * tests/parallel-tests-reset-term.test: Likewise.
  6782. * tests/parallel-tests-unreadable-log.test: Likewise,
  6783. * tests/python-virtualenv.test: Likewise.
  6784. * tests/remake-gnulib-remove-header.test: Likewise.
  6785. * tests/subobj9.test: Likewise.
  6786. * tests/symlink2.test: Likewise.
  6787. * tests/tar.test: Likewise.
  6788. * tests/tar2.test: Likewise.
  6789. * tests/txinfo26.test: Likewise.
  6790. * tests/vala2.test: Likewise.
  6791. * tests/vala3.test: Likewise.
  6792. * tests/vala5.test: Likewise.
  6793. * tests/vtexi4.test: Likewise.
  6794. * tests/instdir-texi.test: Likewise.
  6795. * tests/txinfo21.test: Likewise.
  6796. 2011-04-29 Stefano Lattarini <stefano.lattarini@gmail.com>
  6797. testsuite: more environment sanitization
  6798. * tests/defs: Move the checks verifying that the variables `me',
  6799. `parallel_tests' and `required' aren't set in the environment ...
  6800. * tests/defs-static.in: ... in here, with some optimizations to
  6801. avoid useless forks. Also, do the same checks for the variables
  6802. `original_AUTOMAKE' and `original_ACLOCAL' too.
  6803. * tests/self-check-env-sanitize.test: Update.
  6804. * tests/Makefile.am (TESTS_ENVIRONMENT): Unset also variables
  6805. `original_AUTOMAKE' and `original_ACLOCAL'.
  6806. 2011-04-24 Stefano Lattarini <stefano.lattarini@gmail.com>
  6807. tests: fix spurious failure (non-renamed AM_TESTS_SETUP usage)
  6808. * tests/parallel-tests-reset-term.test: Use AM_TESTS_ENVIRONMENT
  6809. instead of AM_TESTS_SETUP (which has been removed in commit
  6810. v1.11-349-g12f48fa).
  6811. Fix spurious failure introduced by merge `v1.11-781-gfeed175'.
  6812. 2011-04-24 Stefano Lattarini <stefano.lattarini@gmail.com>
  6813. tests: fix spurious failure in a test on TESTS (VPATH-related)
  6814. * tests/check-tests-in-builddir.test: When not using the
  6815. parallel-tests option, do not check that VPATH components are
  6816. not present in the displayed test name, since the simple-tests
  6817. driver do not try to strip them.
  6818. 2011-04-24 Stefano Lattarini <stefano.lattarini@gmail.com>
  6819. tests: fix spurious failure in self-check-env-sanitize.test
  6820. * tests/self-check-env-sanitize.test: Open file descriptor `5'
  6821. to stdout.
  6822. Fix spurious failure introduced by merge `v1.11-788-g3b0c8d5'.
  6823. 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  6824. test: self check subroutines for skipping/failing of tests
  6825. * tests/self-check-report.test: New test.
  6826. * tests/Makefile.am (TESTS): Update.
  6827. 2011-04-23 Jim Meyering <meyering@redhat.com>
  6828. Stefano Lattarini <stefano.lattarini@gmail.com>
  6829. test defs: new subroutines for test skipping/failing
  6830. * tests/defs.in (Exit): Move definition of this function earlier.
  6831. (warn_, skip_, fail_, framework_failure_): New functions, inspired
  6832. to the homonyms in gnulib's tests/init.sh.
  6833. ($stderr_fileno_): New global variable, used by the new functions
  6834. above.
  6835. * tests/README: Updated.
  6836. From a suggestion by Ralf Wildenhues.
  6837. 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  6838. tests: fix typo (copy & paste blunder) in heading comment
  6839. * tests/maintclean-vpath.test: Correctly refer to the sister test
  6840. as `maintclean.test', not as `maintclean-vpath.test'.
  6841. 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  6842. tests: remove redundant test `mclean.test'
  6843. * tests/mclean.test: Remove, it's a weak grepping test completely
  6844. superseded by the much more complete `maintclean.test'.
  6845. * tests/Makefile.am (TESTS): Update.
  6846. 2011-05-03 Stefano Lattarini <stefano.lattarini@gmail.com>
  6847. java tests: use $PATH_SEPARATOR where appropriate
  6848. * tests/java-compile-run-nested.test: Use `$PATH_SEPARATOR', not
  6849. `:', to separate entries of extended PATH and CLASSPATH variables.
  6850. * tests/java-compile-run-flat.test: Likewise.
  6851. 2011-04-26 Stefano Lattarini <stefano.lattarini@gmail.com>
  6852. java coverage: test JAVACFLAGS and AM_JAVACFLAGS
  6853. * tests/javaflags.test: New test.
  6854. * tests/Makefile.am (TESTS): Update.
  6855. 2011-04-26 Stefano Lattarini <stefano.lattarini@gmail.com>
  6856. java coverage: test rebuild rules for java
  6857. * tests/java-rebuild.test: New test.
  6858. * tests/Makefile.am (TESTS): Update.
  6859. 2011-04-26 Stefano Lattarini <stefano.lattarini@gmail.com>
  6860. java coverage: try to build and run a java program
  6861. * tests/java-compile-run-flat.test: New test, try to build and run
  6862. a "UNIX-style" java program (complete with wrapper shell script
  6863. and the like) with a "flat" source-tree setup (i.e., everything in
  6864. the top-level directory).
  6865. * tests/java-compile-nested.test: Likewise, but using a more
  6866. typical "nested" source-tree setup.
  6867. * tests/Makefile.am (TESTS): Update.
  6868. 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  6869. test defs: new requirement for the default java interpreter
  6870. * tests/defs.in (for tool in $required): New requirement 'java'.
  6871. 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  6872. java tests: tweak and make stricter a couple of tests
  6873. * tests/javasubst.test: Use proper m4 quoting. Add trailing `:'
  6874. command. Enable `errexit' shell flag, and related changes.
  6875. Prefer cat + here-doc over echo to append to configure.in.
  6876. Make grepping of Makefile.in stricter. Add debugging output.
  6877. Improve heading comments.
  6878. * tests/javaprim.test: Likewise.
  6879. 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  6880. java coverage: add test on uninstall with JAVA primary
  6881. * tests/java-uninstall.test: New test.
  6882. * tests/Makefile.am (TESTS): Update.
  6883. 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  6884. java tests: require java compiler more properly
  6885. * tests/java-extra.test: Use "required=javac" instead of ad-hoc
  6886. configure check.
  6887. * tests/java-noinst.test: Likewise.
  6888. 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  6889. java: allow both JAVA and nobase_JAVA in the same Makefile.am
  6890. * automake.in (handle_java): Also strip `nobase_' from the given
  6891. prefix, when needed.
  6892. * tests/java-clean.test: Update and extend.
  6893. * tests/java-compile-install.test: Likewise.
  6894. * tests/java-no-duplicate.test: Likewise.
  6895. * tests/java-sources.test: Likewise.
  6896. * tests/java-noinst.test: Likewise.
  6897. * tests/java-mix-dist-nodist.test: Renamed to ...
  6898. * tests/java-mix.test: ... this, and extended.
  6899. * tests/java-nobase.test: New test, still xfailing due to
  6900. unrelated issues.
  6901. * tests/Makefile.am (TESTS, XFAIL_TESTS): Update.
  6902. 2011-04-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  6903. testsuite: more environment sanitization
  6904. * tests/defs.in: Sanity check: abort if any of `parallel_tests'
  6905. or `required' is in the environment.
  6906. ($sed_unindent_prog): Initialize to empty, to avoid interferences
  6907. from the environment.
  6908. * tests/self-check-me-in-env.test: Renamed to ...
  6909. * tests/self-check-env-sanitize.test: ... this, and extended.
  6910. * tests/Makefile.am (TESTS): Update.
  6911. (TESTS_ENVIRONMENT): Unset variables `parallel_tests' and
  6912. `required'. Adjust comments.
  6913. 2011-04-19 Stefano Lattarini <stefano.lattarini@gmail.com>
  6914. tests: in self-checks, use $SHELL, not /bin/sh
  6915. * tests/self-check-me-in-env.test: Include `./defs-static' to get
  6916. the definition of `$SHELL'. Use `$SHELL' instead of `/bin/sh' to
  6917. execute the tests.
  6918. 2011-04-19 Stefano Lattarini <stefano.lattarini@gmail.com>
  6919. tests: prefer AM_TESTS_ENVIRONMENT to TESTS_ENVIRONMENT
  6920. * tests/Makefile.am (TESTS_ENVIRONMENT): Renamed to ...
  6921. (AM_TESTS_ENVIRONMENT): ... this.
  6922. 2011-04-18 Stefano Lattarini <stefano.lattarini@gmail.com>
  6923. tests: don't allow `$me' to be overridden from the environment
  6924. * tests/defs.in: Sanity check: abort if $me is in the environment.
  6925. * tests/self-check-me-in-env.test: New test.
  6926. * tests/Makefile.am (TESTS_ENVIRONMENT): Unset variable `me'.
  6927. (TESTS): Update.
  6928. Suggestion by Ralf Wildenhues.
  6929. 2011-04-18 Stefano Lattarini <stefano.lattarini@gmail.com>
  6930. check: rename AM_TESTS_SETUP -> AM_TESTS_ENVIRONMENT
  6931. The AM_TESTS_SETUP naming was not a good one after all. It may
  6932. be technically more correct than AM_TESTS_ENVIRONMENT, but the
  6933. latter is a better one simply because it is easier to remember,
  6934. and even if you've never heard of it and only know the semantics
  6935. of TESTS_ENVIRONMENT, you can have a straightforward way to
  6936. figure out how AM_TESTS_ENVIRONMENT would work.
  6937. * tests/check.am (am__check_pre): Update.
  6938. * doc/automake.in (Simple Tests using parallel-tests): Update.
  6939. * tests/parallel-tests-am_tests_setup.test: Renamed ...
  6940. * tests/parallel-tests-am_tests_environment.test: ... to this,
  6941. and updated.
  6942. * tests/Makefile.am (TESTS): Update.
  6943. Suggestion and motivation by Ralf Wildenhues.
  6944. 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
  6945. test defs: allow overriding of `$me'
  6946. * tests/defs.in ($me): Allow overriding by the including test
  6947. script. Add some explicative comments.
  6948. 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
  6949. coverage: more tests on the parallel-tests driver
  6950. * tests/parallel-tests-interrupt.test: New test.
  6951. * tests/parallel-tests-reset-term.test: Likewise.
  6952. * tests/Makefile.am (TESTS): Update.
  6953. 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
  6954. check: new developer-reserved AM_TESTS_SETUP variable
  6955. For reference, see the discussion at:
  6956. <http://lists.gnu.org/archive/html/automake-patches/2011-01/msg00213.html>
  6957. * lib/am/check.am [%?PARALLEL_TESTS%] (am__check_pre): Pass also
  6958. $(AM_TESTS_SETUP). Comments updated, and some typos fixed.
  6959. * doc/automake.texi (Simple Tests using parallel-tests): Document
  6960. AM_TESTS_SETUP. Reorder some of the existing documentation a bit.
  6961. * tests/parallel-tests-am_tests_setup.test: New test.
  6962. From a suggestion by Ralf Wildenhues.
  6963. 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
  6964. depcomp tests: don't reject slower dependency extractors
  6965. * tests/depcomp8b.test: Add the `--enable-dependency-tracking'
  6966. option to `configure' invocations, so that slower dependency
  6967. extractors are not rejected.
  6968. * tests/depcomp8a.test: Likewise. Also ...
  6969. (foo.c): ... since we are at it, fix spacing to be consistent
  6970. with GNU coding standards.
  6971. 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
  6972. m4: add missing serial numbers to a few files
  6973. Fixes automake bug#8483.
  6974. * m4/amversion.in: Add serial number.
  6975. * m4/auxdir.m4: Likewise.
  6976. * m4/gcj.m4: Likewise.
  6977. * m4/install-sh.m4: Likewise.
  6978. * m4/mkdirp.m4: Likewise.
  6979. * m4/python.m4: Likewise.
  6980. * m4/runlog.m4: Likewise.
  6981. * m4/strip.m4: Likewise.
  6982. * m4/upc.m4: Likewise.
  6983. 2011-04-16 Stefano Lattarini <stefano.lattarini@gmail.com>
  6984. tests: fix few bugs in self checks
  6985. Related to automake bug#8508.
  6986. * tests/self-check-cleanup.test: Be laxer when grepping output
  6987. from `ls -l', to account for ACLs and SELinux-only files.
  6988. * tests/self-check-dir.test: Source `defs-static' to read in the
  6989. correct definition for $SHELL.
  6990. * tests/self-check-me.test: Likewise, and extend a bit.
  6991. Report from Jim Meyering.
  6992. 2011-04-16 Jim Meyering <meyering@redhat.com>
  6993. depcomp: correct invalid sed invocation
  6994. * lib/depcomp: Insert missing -e before '/:$/d'.
  6995. Otherwise, that use of sed would treat '/:$/d' as a file name.
  6996. 2011-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
  6997. maintainer check: quote literal `$' in Makefile rule
  6998. * Makefile.am (sc_tests_PATH_SEPARATOR): Escape literal `$'
  6999. character in double-quoted string. Fix a bug in which the rule
  7000. emitted an erroneously empty substring in its error message.
  7001. 2011-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
  7002. tests: fix typo in python5b.test
  7003. * tests/python5b.test: Remove extra `:' from $PATH redefinition.
  7004. 2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  7005. lex/yacc tests: remove redundant $distdir definition
  7006. * tests/lex3.test ($distdir): Remove definition, that's already
  7007. done in `tests/defs'.
  7008. * tests/lexvpath.test: Likewise.
  7009. * tests/yacc-basic.test: Likewise.
  7010. * tests/yacc-cxx.test: Likewise.
  7011. * tests/yacc-d-basic.test: Likewise.
  7012. * tests/yacc-d-cxx.test: Likewise.
  7013. * tests/yacc-d-vpath.test: Likewise.
  7014. * tests/yacc-dist-nobuild-subdir.test: Likewise.
  7015. * tests/yacc-dist-nobuild.test: Likewise.
  7016. * tests/yacc-mix-c-cxx.test: Likewise.
  7017. * tests/yaccvpath.test: Likewise.
  7018. 2011-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
  7019. tests: remove redundant settings of `errexit' shell flag
  7020. * tests/autodist-acconfig.test: Do not set the `errexit'
  7021. shell flag, as it is already set by `tests/defs'.
  7022. * tests/autodist-acconfig-no-subdir.test: Likewise.
  7023. * tests/autodist-aclocal-m4.test: Likewise.
  7024. * tests/autodist-config-headers.test: Likewise.
  7025. * tests/autodist-configure-no-subdir.test: Likewise.
  7026. * tests/autodist-stamp-vti.test: Likewise.
  7027. * tests/autodist-subdir.test: Likewise.
  7028. * tests/autodist.test: Likewise.
  7029. * tests/check-exported-srcdir.test: Likewise.
  7030. * tests/check-tests-in-builddir.test: Likewise.
  7031. * tests/check-tests_environment.test: Likewise.
  7032. * tests/help-python.test: Likewise.
  7033. * tests/java-check.test: Likewise.
  7034. * tests/java-extra.test: Likewise.
  7035. * tests/java-noinst.test: Likewise.
  7036. * tests/lex-subobj-nodep.test: Likewise.
  7037. * tests/ltinit.test: Likewise.
  7038. * tests/m4-inclusion.test: Likewise.
  7039. * tests/maintclean-vpath.test: Likewise.
  7040. * tests/parallel-tests-subdir.test: Likewise.
  7041. * tests/pr8365-remake-timing.test: Likewise.
  7042. * tests/python-dist.test: Likewise.
  7043. * tests/python-vars.test: Likewise.
  7044. * tests/python-virtualenv.test: Likewise.
  7045. * tests/python5b.test: Likewise.
  7046. * tests/specflg-dummy.test: Likewise.
  7047. * tests/yacc-dist-nobuild-subdir.test: Likewise.
  7048. 2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  7049. test defs: define default $distdir (help reducing duplication)
  7050. * tests/defs ($distdir): New variable, might be used in
  7051. testcases checking distribution-related features.
  7052. * tests/pr9.test: Use it.
  7053. * tests/subdir9.test: Likewise.
  7054. * tests/lex3.test: Likewise.
  7055. * tests/lexvpath.test: Likewise.
  7056. * tests/remake-moved-m4-file.test: Likewise.
  7057. * tests/remake-renamed-m4-file.test: Likewise.
  7058. * tests/remake-renamed-m4-macro-and-file.test: Likewise.
  7059. * tests/yacc-basic.test: Likewise.
  7060. * tests/yacc-d-basic.test: Likewise.
  7061. * tests/yacc-d-vpath.test: Likewise.
  7062. * tests/yacc-dist-nobuild.test: Likewise.
  7063. * tests/vtexi3.test: Add comment explaining why we redefine
  7064. $distdir in this test.
  7065. 2011-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
  7066. coverage: test lex-generated "#line" directives postprocessing
  7067. * tests/yacc-line.test: In heading comments, add reference to new
  7068. sister test `lex-line.test'.
  7069. * tests/lex-line.test: New test.
  7070. * tests/Makefile.am (TESTS): Update.
  7071. 2011-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
  7072. tests: minor improvements to a couple of yacc tests
  7073. * tests/yacc-auxdir.test: Avoid running autoconf, it's not
  7074. needed.
  7075. * tests/yacc-line.test: Also check that the yacc-generated C
  7076. and header files do not contain "#line" directives referencing
  7077. `y.tab.c' or `y.tab.h'. Add a couple of explicative comments.
  7078. 2011-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
  7079. tests: split yacc6.test, for better separation and coverage
  7080. * tests/yacc6.test: Test removed, its content extended and split
  7081. into ...
  7082. * tests/yacc-auxdir.test, tests/yacc-depend.test,
  7083. tests/yacc-line.test: ... these new tests.
  7084. * tests/yacc-depend2.test: New test, exposes the failure that
  7085. FreeBSD used to encounter in yacc6.test.
  7086. * tests/Makefile.am (TESTS): Update.
  7087. 2011-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
  7088. tests: do not uselessly require GNU make or gcc in a few tests
  7089. * tests/lex3.test: Remove gcc from requirements, as any working C
  7090. compiler should be ok. Consequently, do not clobber user CFLAGS.
  7091. Also, remove GNUmake from requirements; it was added (see commit
  7092. `Release-1-8-103-g0d2f592') because this test fails with FreeBSD
  7093. make due to VPATH issues -- but so do many other yacc-related and
  7094. lex-related tests currently, and requiring GNU make in all of
  7095. them would unacceptably reduce coverage.
  7096. * tests/lexvpath.test: Remove gcc from requirements, as any
  7097. working C compiler should be ok.
  7098. * tests/yacc4.test: Likewise.
  7099. * tests/yacc8.test: Likewise.
  7100. * tests/lex5.test: Likewise. Also, do not require anymore GNU
  7101. make; to compensate, explicitly call "$MAKE Makefile" to update
  7102. the out-of-date Makefile if $MAKE is not GNU make.
  7103. 2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  7104. tests: fix spurious failure in test 'yacc-d-cxx.test'
  7105. * tests/yacc-d-cxx.test: Create ylwrap script before calling
  7106. automake for the first time, so that the script gets correctly
  7107. distributed. Add checks verifying it indeed is.
  7108. 2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  7109. tests cosmetics: remove redundant definitions of variable $tab
  7110. * tests/yacc-d-basic.test ($tab): Remove definition: it's already
  7111. defined in `tests/defs'.
  7112. * tests/yacc-d-cxx.test: Likewise.
  7113. 2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  7114. yacc: add some tests on bison support (still xfailing)
  7115. Related to automake bug#7648 and PR automake/491.
  7116. * tests/bison-skeleton-cxx.test: New test.
  7117. * tests/bison-skeleton.test: New test.
  7118. * tests/Makefile.am (TESTS, XFAIL_TESTS): Updated.
  7119. 2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  7120. coverage: test for automake bug#8485 (known regression)
  7121. * tests/yacc-dist-nobuild-subdir.test: New test.
  7122. * tests/Makefile.am (TESTS, XFAIL_TESTS): Update.
  7123. 2011-04-10 Stefano Lattarini <stefano.lattarini@gmail.com>
  7124. coverage: test mixed C/C++ yacc-generated parsers in the same dir
  7125. * tests/yacc-mix-c-cxx.test: New test.
  7126. * tests/Makefile.am (TESTS): Update.
  7127. 2011-04-10 Stefano Lattarini <stefano.lattarini@gmail.com>
  7128. cosmetics: fix typos and wording in some yacc tests
  7129. * tests/yacc-cxx.test (foo.cc): Clarify comment about the content
  7130. of this file being valid C++ but invalid C.
  7131. (parse1.yy): Likewise. Also, remove redundant parentheses in a
  7132. `return' statement.
  7133. * tests/yacc-d-cxx.test (write_parse): Clarify comment about the
  7134. content of the generated files being valid C++ but invalid C.
  7135. (write_main): Likewise.
  7136. * tests/yacc-basic.test: Remove redundant parentheses in a
  7137. `return' statement.
  7138. * tests/yacc-d-vpath.test: Adjust spacing around curly brackets.
  7139. * tests/yaccvpath.test: Likewise.
  7140. * tests/yaccdry.test: Likewise.
  7141. * tests/yacc8.test: Likewise.
  7142. * tests/yacc4.test: Likewise.
  7143. Suggested by Ralf Wildenhues.
  7144. 2011-04-10 Stefano Lattarini <stefano.lattarini@gmail.com>
  7145. yacc: update NEWS and docs about yacc-generated headers extensions
  7146. * doc/automake.texi (Yacc and Lex): Document explicitly that
  7147. extensions of yacc-generated headers are modelled after the
  7148. extension of the corresponding sources.
  7149. * NEWS: Update.
  7150. 2011-01-28 Stefano Lattarini <stefano.lattarini@gmail.com>
  7151. yacc: extension of headers modelled after extension of sources
  7152. With this change, if '-d' is in *YFLAGS, a yacc input file named
  7153. foo.y++ will cause a foo.h++ header to be generated, instead of a
  7154. foo.h header. Similarly for foo.ypp, foo.yxx and foo.yy.
  7155. This way, the name of the files generated by an automake-created
  7156. `ylwrap' invocation should be consistent with those generated by
  7157. a `bison -o' call.
  7158. Related to automake bug#7648 and PR automake/491.
  7159. * lib/am/yacc.am (am__yacc_c2h): New internal variable.
  7160. (?GENERIC?%EXT%%DERIVED-EXT%, ?!GENERIC?%OBJ%): Get the name of
  7161. the header dynamically at make runtime, so that its extension is
  7162. modelled after the extension of the source.
  7163. * automake.in (lang_yacc_target_hook): Adjust the calculation of
  7164. `$header' accordingly.
  7165. * tests/yacc-cxx.test: New test.
  7166. * tests/yacc-d-cxx.test: Likewise.
  7167. * tests/yacc-weirdnames.test: Likewise.
  7168. * tests/yacc-basic.test: Update comments.
  7169. * tests/yacc-d-basic.test: Likewise.
  7170. * tests/yaccpp.test: Updated and extended.
  7171. * tests/Makefile.am (TESTS): Update.
  7172. 2011-01-29 Stefano Lattarini <stefano.lattarini@gmail.com>
  7173. tests: don't define YACC and LEX in the Makefiles
  7174. We don't want YACC and LEX defined as make variables, otherwise
  7175. the values determined at configure time will override those from
  7176. the environment, even in the make-spawned testcases. For example,
  7177. before this change, with the following usage:
  7178. $ ./configure YACC=yacc
  7179. $ export YACC='bison -y'
  7180. $ make check
  7181. the testsuite would have ended up, very counterintuitively, with
  7182. YACC defined to 'yacc' in the testcases' environment.
  7183. * configure.ac: Call `AM_SUBST_NOTMAKE' on YACC and LEX.
  7184. 2011-01-29 Stefano Lattarini <stefano.lattarini@gmail.com>
  7185. tests: fix spurious failures in lflags*.test
  7186. * tests/lflags.test: Remove 'LEX' from the environment, so
  7187. that it won't be erroneously picked up by `make -e'.
  7188. * tests/lflags2.test: Likewise.
  7189. 2011-01-29 Stefano Lattarini <stefano.lattarini@gmail.com>
  7190. coverage: more on 'yacc -d' and recovery from deleted headers
  7191. * tests/yacc-deleted-headers.test: New test.
  7192. * tests/Makefile.am (TESTS): Update.
  7193. 2011-01-29 Stefano Lattarini <stefano.lattarini@gmail.com>
  7194. tests: remove redundancy from silent lex/yacc tests
  7195. * tests/silent-yacc-gcc.test, tests/silent-yacc-generic.test: Merge
  7196. these two testcases into ...
  7197. * tests/silent-yacc.test: ... this new one, which doesn't fiddle
  7198. which dependency tracking, as that shouldn't impact on generation
  7199. of yacc-derived C source and header files (and, for what concerns
  7200. compilation of C files, is already tested in other testcases).
  7201. * tests/silent-lex-gcc.test, tests/silent-lex-generic.test: Merge
  7202. these two testcases into ...
  7203. * tests/silent-lex.test: ... this new test, for similar reasons.
  7204. * tests/Makefile.am (TESTS): Update.
  7205. 2011-01-29 Stefano Lattarini <stefano.lattarini@gmail.com>
  7206. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7207. tests init: better messages for 'yacc' and 'lex' requirements
  7208. * tests/defs.in: Give better diagnostic messages when a test must
  7209. be skipped to the unavailability of yacc or lex program. Also,
  7210. improve syncing between code for requiring yacc and lex.
  7211. 2011-01-28 Stefano Lattarini <stefano.lattarini@gmail.com>
  7212. configure: look for a lex program to be used by the testsuite
  7213. This will allow the testcases requiring a 'lex' program to run also
  7214. with vendor/legacy lex implementations, not only with 'flex'.
  7215. * configure.ac: Look for a lex program, using AC_CHECK_PROGS.
  7216. * tests/defs.in: New required entry 'lex'.
  7217. ($LEX): Let the user override the lex program to be used by the
  7218. testsuite.
  7219. * tests/cond35.test ($required): Require 'lex', not 'flex'.
  7220. * tests/cond36.test: Likewise.
  7221. * tests/lexv3.test: Likewise.
  7222. * tests/lexv3.test: Likewise.
  7223. * tests/silent-lex-gcc.test: Likewise.
  7224. * tests/silent-lex-generic.test: Likewise.
  7225. * tests/silent-many-gcc.test: Likewise.
  7226. * tests/silent-many-generic.test:likewise.
  7227. * tests/lexvpath.test: Likewise, and fix typo in comments.
  7228. 2011-01-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  7229. configure: look for a yacc program to be used by the testsuite
  7230. Instead of forcing the user to manually export 'YACC' in the
  7231. testsuite to use a non-bison yacc, we now look for a yacc program
  7232. at configure time, and use that as the default in the testsuite.
  7233. * configure.ac: Look for a yacc program, using AC_CHECK_PROGS.
  7234. * tests/defs.in: Updated to use the value of $YACC precomputed by
  7235. configure, unless the user overrides that in the environment.
  7236. 2011-01-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  7237. tests: more coverage on yacc/lex silent-rules, plus minor cleanups
  7238. * tests/silent-yacc-gcc.test: Add sanity checks verifying that the
  7239. generated Makefile.in files really contains the non-generic rules
  7240. we expect. Do not redundantly manually remove files we know to be
  7241. already removed "make maintainer-clean".
  7242. (Makefile.am): Ensure we cover also non-generic yacc rules, by
  7243. setting target-specific YFLAGS.
  7244. (sub/Makefile.am): Likewise.
  7245. * tests/silent-yacc-generic.test: Likewise.
  7246. * tests/silent-lex-gcc.test: Likewise, but with LFLAGS instead of
  7247. YFLAGS.
  7248. * tests/silent-lex-generic.test: Likewise.
  7249. * tests/silent-many-gcc.test: Likewise, but with both LFLAGS and
  7250. YFLAGS. Also ...
  7251. (do_and_check_verbose_build): Remove redundant blank line.
  7252. * tests/silent-many-generic.test: Likewise.
  7253. * tests/silent-yacc-headers.test: New test.
  7254. * tests/Makefile.am (TESTS): Update.
  7255. 2011-01-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  7256. tests: fix spurious failures in yflags*.test
  7257. * tests/yflags.test: Remove 'YACC' from the environment, so
  7258. that it won't be erroneously picked up by `make -e'.
  7259. * tests/yflags2.test: Likewise.
  7260. 2011-01-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  7261. tests: cover yacc target-specific flags, and `-v' flag handling
  7262. * tests/yacc-basic.test: Also try to build a parser having `-v'
  7263. as target-specific flags. Add a couple of `ls -l' commands, for
  7264. debugging. Update and extend comments. Escape literal dots in
  7265. grep regular expressions.
  7266. 2011-01-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  7267. docs: clustered '-d' not recognized in YFLAGS
  7268. This change fixes automake bug#7828.
  7269. * doc/automake.texi (Yacc and Lex): Document that automake
  7270. recognizes '-d' in AM_YFLAGS only if it's not clustered with
  7271. other options.
  7272. From a report by Юрий Пухальский.
  7273. 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
  7274. tests: do not force yacc-requiring tests to use bison
  7275. * tests/defs.in: New required entry 'yacc'. Remove old
  7276. required entry 'bison'.
  7277. * tests/cond35.test ($required): Require yacc, not bison.
  7278. * tests/cond36.test: Likewise.
  7279. * tests/pr204.test: Likewise.
  7280. * tests/silent-many-gcc.test: Likewise.
  7281. * tests/silent-many-generic.test: Likewise.
  7282. * tests/silent-yacc-gcc.test: Likewise.
  7283. * tests/silent-yacc-generic.test: Likewise.
  7284. * tests/subpkg.test: Likewise.
  7285. * tests/suffix10.test: Likewise.
  7286. * tests/yacc-basic.test: Likewise.
  7287. * tests/yacc-clean.test: Likewise.
  7288. * tests/yacc-d-basic.test: Likewise.
  7289. * tests/yacc-d-vpath.test: Likewise.
  7290. * tests/yacc-dist-nobuild.test: Likewise.
  7291. * tests/yacc-nodist.test: Likewise.
  7292. * tests/yacc4.test: Likewise.
  7293. * tests/yacc6.test: Likewise.
  7294. * tests/yacc7.test: Likewise.
  7295. * tests/yacc8.test: Likewise.
  7296. * tests/yaccdry.test: Likewise.
  7297. * tests/yaccvpath.test: Likewise.
  7298. 2011-01-10 Stefano Lattarini <stefano.lattarini@gmail.com>
  7299. yacc: warn about conditional content in *YFLAGS variables
  7300. This change fixes automake bug#7804.
  7301. * automake.in (lang_yacc_target_hook): Warn if any of the relevant
  7302. *YFLAGS variables has conditional contents (not only a conditional
  7303. definition). Related refactoring.
  7304. * NEWS: Updated.
  7305. * tests/yflags-conditional.test: Updated and extended.
  7306. * tests/yflags-conditional-force.test: New test.
  7307. * tests/Makefile.am (TESTS): Updated.
  7308. 2011-01-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  7309. yacc: support variable expansions in *YFLAGS definition.
  7310. This change fixes automake bug#7800.
  7311. * automake.in (lang_yacc_target_hook): Use 'value_as_list_recursive'
  7312. instead of 'variable_value' to get the value of *YFLAGS variables.
  7313. Related changes.
  7314. ($DASH_D_PATTERN): Removed.
  7315. * tests/Makefile.am (XFAIL_TESTS): Remove yflags-var-expand.test.
  7316. * tests/yacc-clean.test: Remove workaround for now-fixed bug.
  7317. * NEWS: Update.
  7318. 2011-01-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  7319. yacc: more tests on *YFLAGS support
  7320. * tests/yflags-var-expand.test: New test, still xfailing. It
  7321. exposes automake bug#7800 -- "automake fails to honor `-d' in
  7322. AM_YFLAGS when variable expansions are involved".
  7323. * tests/yflags-d-false-positive.test: New test, checking that
  7324. automake do not spuriously see `-d' in *YFLAGS when that isn't
  7325. really there.
  7326. * tests/yflags-force-override.test: New test, checking that
  7327. automake can cope with definition of the YFLAGS variable in
  7328. Makefile.am (even if that is an extremely bad practice, as that
  7329. variable is user-reserved).
  7330. * tests/yflags-cmdline-override.test: New test, checking that
  7331. automake can cope with user-redefinition of YFLAGS at configure
  7332. time and/or at make time.
  7333. * tests/yflags-conditional.test: New test, checks that automake
  7334. warns on conditionally-defined *YFLAGS variables.
  7335. * tests/Makefile.am (TESTS, XFAIL_TESTS): Update.
  7336. 2011-01-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  7337. yacc: extend and improve tests
  7338. * tests/yacc-basic.test: Also check that the intermediate C file
  7339. is mentioned in the generated Makefile.in, and that it is created
  7340. by the first make invocation.
  7341. * tests/yacc3.test: Test removed, superseded by ...
  7342. * tests/yacc-d-basic.test: ... this new test.
  7343. * tests/yacc2.test: Add reference to that new test in the heading
  7344. comments.
  7345. * tests/yacc-d-vpath.test: New test.
  7346. * tests/yaccvpath.test: Updated heading comments. Do not require
  7347. gcc anymore, as any working C compiler should be enough. Remove
  7348. redundant comments.
  7349. * tests/yacc-nodist.test: New test.
  7350. * tests/yacc-dist-nobuild.test: New test.
  7351. * tests/Makefile.am (TESTS): Update.
  7352. 2010-12-13 Stefano Lattarini <stefano.lattarini@gmail.com>
  7353. Extend, fix and improve tests on Lex and Yacc support.
  7354. * tests/lexcpp.test: New test script, on support for Lex + C++.
  7355. * tests/lexvpath.test: New test script, test build and rebuild
  7356. rules for lexers in VPATH setup.
  7357. * tests/yacc-basic.test: New test script, run simple "semantic"
  7358. checks on basic Yacc support (similarly to what lex3.test does
  7359. for Lex support).
  7360. * tests/lex.test: Don't create useless dummy source file joe.l.
  7361. Remove extra blank lines.
  7362. * tests/lex4.test: Add trailing `:' command. Do not create dummy
  7363. useless lex source file.
  7364. * tests/lex2.test: Likewise. Call automake with the `-a' option,
  7365. so that it doesn't fail for the absence of `ylwrap' script. Make
  7366. grepping of automake stderr stricter.
  7367. * tests/yacc7.test: Add trailing `:' command. Enable `errexit'
  7368. shell flag earlier (just after having sourced ./defs).
  7369. * tests/yacc4.test: Likewise. Also ...
  7370. (configure.in): Use pre-populated skeleton set up by ./defs,
  7371. instead of writing one from scratch.
  7372. Other minor cosmetic changes.
  7373. * tests/yacc5.test: Likewise.
  7374. * tests/yaccvpath.test: Likewise. Also ...
  7375. ($distdir): New variable.
  7376. Use it throughout.
  7377. * tests/lex5.test: Likewise.
  7378. * tests/lex3.test: Likewise. Check the distdir, rather than
  7379. grepping the distribution tarball. Extend the test on the
  7380. created binary, and be sure to avoid hangs. Add some comments.
  7381. * tests/yacc.test: Use stricter grepping. Add trailing `:'.
  7382. * tests/yacc6.test: Likewise.
  7383. * tests/yacc3.test: Likewise. Do not create the unused file
  7384. `Makefile.sed'. Remove useless rules from Makefile.am. Other
  7385. minor cosmetic changes.
  7386. * tests/yacc2.test: Make grepping of generated `Makefile.in' and
  7387. of automake error messages stricter. Do not redirect output of
  7388. grep to /dev/null. Move call to aclocal earlier. Reduce the
  7389. number of empty blank lines. Fix a typo in comments.
  7390. * tests/yacc8.test: Fixed bugs that reduced the completeness of
  7391. the tests. Added trailing `:' command.
  7392. (configure.in): Use pre-populated skeleton set up by ./defs,
  7393. instead of writing one from scratch.
  7394. * tests/yaccpp.test: Test also extensions `.y++', `.ypp', and
  7395. `.yxx', rather than only `.yy'.
  7396. * tests/Makefile.am (TESTS): Update.
  7397. 2011-01-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  7398. yacc: "make clean" removes .c and .h files from non-distributed .y
  7399. Previously, while automake did *not* distribute C source and header
  7400. files derived from non-distributed Yacc sources, it still caused
  7401. them to be removed only by "make maintainer-clean" only, and not by
  7402. simply "make clean" or "make distclean".
  7403. This caused "make distcheck" to fail, unless the developer put
  7404. those generated .c and .h files in CLEANFILES or in DISTCLEANFILES
  7405. by hand.
  7406. This change fixes this issue, by making non-distributed `.c' and
  7407. `.h' files generated by non-distributed Yacc sources cleaned by
  7408. "make clean".
  7409. * tests/automake.in (lang_yacc_target_hook): Make C source and
  7410. header files derived from non-distributed Yacc files cleaned by
  7411. "make clean", not only by "make maintainer-clean".
  7412. * tests/yacc-clean.test: New test.
  7413. * tests/Makefile.am (TESTS): Update.
  7414. * NEWS: Update.
  7415. 2011-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
  7416. depcomp: fix bugs in tests and in the depcomp script
  7417. * lib/depcomp (gcc): Remove duplicated `-e' from sed invocation.
  7418. * tests/depcomp10.test: Make it executable. Fix a blunder that
  7419. has left part of an intended comment not prefixed by `#', thus
  7420. causing shell syntax errors. In this same comment, break a
  7421. too-long reported error message on multiple lines, for clarity.
  7422. Add reference to the relevant bug report. Add a comment which
  7423. explains why the test result 'skipped' if the first "make" call
  7424. fails. Add other useful comments.
  7425. * tests/depcomp9.test: Slightly improve comments.
  7426. 2011-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7427. Fix hp depmode for VPATH builds with GNU make.
  7428. * lib/depcomp: Be sure to remove VPATH-prefixed object from
  7429. dependency output when creating stub rule.
  7430. * tests/depcomp10.test: New test.
  7431. * tests/Makefile.am (TESTS): Update.
  7432. * NEWS: Update.
  7433. Report by Bruno Haible.
  7434. 2011-04-18 Stefano Lattarini <stefano.lattarini@gmail.com>
  7435. java: allow both dist_JAVA and nodist_JAVA in the same Makefile.am
  7436. Fixes automake bug#8434.
  7437. * automake.in (handle_java): Strip `dist_' and `nodist_' from
  7438. the given prefix. Define a new internal Makefile variable
  7439. `am__java_sources'. Related adjustments.
  7440. * lib/am/java.am (JAVAC, JAVAROOT, CLASSPATH_ENV): Define only the
  7441. first time this am file is processed.
  7442. (class%DIR%.stamp): Stamp file renamed ...
  7443. (class%NDIR%.stamp): ... to this, so that the `dist_' and `nodist_'
  7444. prefixes are stripped from the name of the stampfile. Adjust
  7445. declaration of dependencies by using the new automake-generated
  7446. internal variable `$(am__java_sources)'. In the rule, use `$@'
  7447. as the name of the target, rather than hard-coding it.
  7448. * tests/java.test: Update and extend.
  7449. * tests/java-no-duplicate.test: New test.
  7450. * tests/java-mix-dist-nodist.test: Likewise.
  7451. * tests/java-compile-and-install.test: Likewise.
  7452. * tests/java-clean.test: Likewise.
  7453. * tests/java-sources.test: Likewise.
  7454. * tests/Makefile.am (TESTS): Update.
  7455. 2011-04-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  7456. coverage: more on java support EXTRA_ and noinst_ prefixes
  7457. * tests/java-extra.test: New test, checking support for the
  7458. prefix `EXTRA_' with the JAVA primary.
  7459. * tests/java-noinst.test: New test, checking support for the
  7460. prefix `noinst_' with the JAVA primary.
  7461. * tests/Makefile.am (TESTS): Update.
  7462. 2011-04-10 Stefano Lattarini <stefano.lattarini@gmail.com>
  7463. test defs: fix 'javac' requirement for older JDK versions
  7464. The Java compiler from JDK 1.5 (and presumably earlier versions)
  7465. cannot handle the `-version' option by itself; and while it does
  7466. print the version number, it then errors out with an usage error:
  7467. $ javac -version
  7468. javac 1.5.0_22
  7469. javac: no source files
  7470. Usage: javac <options> <source files>
  7471. ...
  7472. Luckily, adding the `-help' option to the `javac' invocation
  7473. seems to fix this problem.
  7474. * tests/defs.in (javac): Pass also the `-help' option to the
  7475. `javac' program. Add a comment explaining why it is needed.
  7476. Report from Ralf Wildenhues.
  7477. 2011-04-10 Stefano Lattarini <stefano.lattarini@gmail.com>
  7478. test defs: new requirement for the default java compiler
  7479. * tests/defs.in (for tool in $required): New requirement 'javac'.
  7480. * tests/java.test: Use it instead of ad-hoc configure check.
  7481. * tests/java-check.test: Likewise.
  7482. * tests/java-extra.test: Likewise.
  7483. * tests/java-noinst.test: Likewise.
  7484. * tests/instfail-java.test: Likewise.
  7485. * tests/instdir-java.test: Likewise.
  7486. 2011-04-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  7487. java: check_JAVA does not cause compilation by "make all" anymore
  7488. Fixes automake bug#8234.
  7489. * automake.in (handle_java): Make stamp of class files built from
  7490. java sources in $(check_JAVA) a dependency of `check' target, not
  7491. `all' target.
  7492. * tests/java-check.test: New test.
  7493. * tests/Makefile.am (TESTS): Update.
  7494. * NEWS: Update.
  7495. * THANKS: Update.
  7496. Report from Petteri Räty.
  7497. 2011-04-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  7498. Bruno Haible <bruno@clisp.org>
  7499. coverage: add tests on remake rules in more complex situations
  7500. * tests/defs (using_gmake): New function.
  7501. (for tool in $required): Use it when $tool is 'GNUmake'.
  7502. * tests/remake-moved-m4-file.test: New test.
  7503. * tests/remake-deleted-m4-file.test: Likewise.
  7504. * tests/remake-renamed-m4-file.test: Likewise.
  7505. * tests/remake-renamed-m4-macro-and-file.test: Likewise.
  7506. * tests/remake-renamed-m4-macro.test: Likewise.
  7507. * tests/remake-add-acsubst-gnulib.test: Likewise.
  7508. * tests/remake-add-header-gnulib.test: Likewise.
  7509. * tests/remake-remove-header-gnulib.test: Likewise.
  7510. * tests/Makefile.am (TESTS): Update.
  7511. 2011-04-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  7512. typofix in 'tests/defs'
  7513. * tests/defs: Fix typo (`itslef' instead of `itself') in
  7514. comments.
  7515. 2011-04-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7516. Clarify regex code in depcomp.
  7517. * lib/depcomp: Add comment why we don't need regex-escaping here.
  7518. Suggested by Stefano Lattarini.
  7519. 2011-04-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7520. Fix makedepend depmode for VPATH builds.
  7521. * lib/depcomp [makedepend]: Remove any VPATH prefix from the
  7522. object file name, so a rebuild doesn't attempt to update the
  7523. .Po files in the source tree.
  7524. * tests/depcomp9.test: New test.
  7525. * tests/Makefile.am (TESTS): Update.
  7526. * NEWS: Update.
  7527. 2011-04-02 Stefano Lattarini <stefano.lattarini@gmail.com>
  7528. tests: fix timestamp-related failures
  7529. Fixes automake bug#8365.
  7530. * tests/aclocal6.test: Sleep before modifying m4 files that should
  7531. trigger remake rules. Remove incorrect/obsoleted comments.
  7532. * tests/subdir5.test: Likewise, and extend a bit.
  7533. * tests/subdir8.test: Likewise.
  7534. * tests/pr8365-remake-timing.test: New xfailing test.
  7535. * tests/Makefile.am (TESTS): Update.
  7536. Report from Sam Steingold.
  7537. 2011-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7538. Create subdirs for generated sources even when not dep tracking.
  7539. * automake.in (handle_single_transform): If $object is derived
  7540. and lands in subdir, be sure to output a dirstamp dependency.
  7541. * tests/yacc5.test: Avoid falsely matching the dirstamp
  7542. dependency when grepping for a rule.
  7543. * tests/lex-subobj-nodep.test: New test.
  7544. * tests/Makefile.am (TESTS): Update.
  7545. * THANKS: Update.
  7546. Report by Ignacy Gawedzki.
  7547. Fix locale issue in check-exported-srcdir.test.
  7548. * tests/check-exported-srcdir.test: Reformulate glob to not fail
  7549. in a locale that ignores or interleaves character case.
  7550. 2011-04-01 Stefano Lattarini <stefano.lattarini@gmail.com>
  7551. docs: better visibility for aclocal in the index
  7552. * doc/automake.texi (@menu): Rename title for entry 'configure'
  7553. from "Scanning configure.ac or configure.in" to the more precise
  7554. "Scanning configure.ac, using aclocal".
  7555. (@detailmenu): Adjust.
  7556. (@node configure): Adjust, and extend @cindex calls accordingly.
  7557. * THANKS: Update.
  7558. From a report by Maynard Johnson.
  7559. 2011-03-30 Stefano Lattarini <stefano.lattarini@gmail.com>
  7560. tests: improve tests on "maintainer-clean" target
  7561. * tests/aclocal6.test: Move checks related to "maintainer-clean"
  7562. functionalities into ...
  7563. * tests/maintclean-vpath.test: ... this new test.
  7564. * tests/maintclean.test: Update heading comments. Extend to also
  7565. test subdirs. Remove useless disabling of YACC. Fix m4 quoting
  7566. in configure.in. Add a trailing `:' command. Remove extra blank
  7567. lines.
  7568. * tests/Makefile.am (TESTS): Update.
  7569. 2011-03-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7570. tests: fix unindent to use printf not echo for script.
  7571. * tests/defs.in: Use printf rather than echo, as the latter may
  7572. interpret the backslashes in the sed script. Fixes test
  7573. failures with dash as /bin/sh.
  7574. 2011-03-17 Stefano Lattarini <stefano.lattarini@gmail.com>
  7575. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7576. maintcheck: look for problematic names of testcases
  7577. The configure.in stub created by default by `tests/defs' obtains
  7578. the first argument of AC_INIT from the test name, and this can
  7579. cause some supported autoconf versions to fail with a spurious
  7580. error if that test name contains the name of an m4 or m4sugar
  7581. builtin or macro (e.g., `defn' or `m4_undefine').
  7582. See for example the bug fixed by commit v1.11-287-g1325a8a.
  7583. This change add a maintainer check that warns about test names
  7584. which are possibly problematic in this regard.
  7585. * Makefile.am (sc_test_names): New maintainer-check target.
  7586. (syntax_check_rules): Add it.
  7587. (m4_builtins): New helper variable.
  7588. (TESTS): Updated according to the following renamings.
  7589. * tests/include.test: Renamed ...
  7590. * tests/hdr-vars-defined-once.test: ... to this.
  7591. * tests/sinclude.test: Renamed ...
  7592. * tests/m4-inclusion.test: ... to this, and simplified
  7593. accordingly.
  7594. * tests/include2.test: Renamed ...
  7595. * tests/dist-included-parent-dir.test: ... to this, for
  7596. consistency.
  7597. 2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  7598. tests: fix bug in alloca*.test
  7599. * tests/alloca.test: Make grepping of automake stderr stricter,
  7600. add a trailing `:' command; also, add AC_PROG_CC to configure.in,
  7601. and create a dummy alloca.c file, to ensure that we fail for the
  7602. proper reason.
  7603. * tests/alloca2.test: Likewise. Also, look for LT_INIT, not
  7604. AC_PROG_LIBTOOL, in the error message (bug introduced with commit
  7605. v1.11-315-gd51e7b7 "libtool: suggest LT_INIT if LTLIBRARIES
  7606. primary is used").
  7607. From a report by Patrick Welche.
  7608. 2011-03-17 Stefano Lattarini <stefano.lattarini@gmail.com>
  7609. cosmetics: better use of m4 quoting and m4sugar macros
  7610. * m4/dmalloc.m4: Better use of m4 quoting. Bump serial number.
  7611. * m4/gcj.m4: Likewise.
  7612. * m4/init.m4: Likewise.
  7613. * m4/install-sh.m4: Likewise.
  7614. * m4/lex.m4: Likewise.
  7615. * m4/multi.m4: Likewise.
  7616. * m4/option.m4: Likewise.
  7617. * m4/python.m4: Likewise.
  7618. * m4/sanity.m4: Likewise.
  7619. * m4/cond.m4: Likewise. Also, prefer the m4sugar macro 'm4_if'
  7620. over the plain m4 macro 'ifelse'.
  7621. * m4/depend.m4: Likewise.
  7622. 2011-03-17 Stefano Lattarini <stefano.lattarini@gmail.com>
  7623. tests: add test about deprecated use of AC_INIT
  7624. * tests/deprecated-acinit.test: New test, check that automake
  7625. and autoconf complain about an old-style AC_INIT call used with
  7626. a new-style AM_AUTOMAKE_INIT call.
  7627. * tests/Makefile.am (TESTS): Update.
  7628. 2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  7629. tests: fix bug (comments-in-var-defn.test + autoconf 2.62)
  7630. * tests/comments-in-var-defn.test: The configure.in stub created
  7631. by default, which has the AC_INIT first argument obtained by the
  7632. test name, causes autoconf 2.62 to fail with a spurious error
  7633. message like: "configure.in:1: error: defn: undefined macro:".
  7634. Thus, to prevent this, the test is renamed to ...
  7635. * tests/comments-in-var-def.test: ... this.
  7636. * tests/Makefile.am (TESTS): Updated.
  7637. 2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  7638. cosmetics: convert encoding from ISO-8859 to UTF-8
  7639. * ChangeLog.03: Convert encoding to UTF-8.
  7640. * ChangeLog.96: Likewise.
  7641. * ChangeLog.98: Likewise.
  7642. * NEWS: Likewise.
  7643. * TODO: Likewise.
  7644. 2011-03-01 Stefano Lattarini <stefano.lattarini@gmail.com>
  7645. tests: extend checks on the 'unindent' shell function
  7646. * tests/self-check-unindent.test: Also check that multiple
  7647. instances of 'unindent' can run in parallel (this was not
  7648. the case when that function used temporary files).
  7649. 2011-03-01 Peter Rosin <peda@lysator.liu.se>
  7650. test defs: unindent without temporary file
  7651. * tests/defs.in (commented_sed_unindent_prog): Commented Sed program
  7652. that strips the "proper" amount of leading whitespace.
  7653. (unindent): Lazily strip comments from the above program and use it
  7654. to unindent without using a temporary file.
  7655. 2011-02-26 Stefano Lattarini <stefano.lattarini@gmail.com>
  7656. libtool: suggest LT_INIT if LTLIBRARIES primary is used
  7657. When the LTLIBRARIES primary was used, but $(LIBTOOL) wasn't
  7658. defined, automake suggested to add a call to AC_PROG_LIBTOOL
  7659. in configure.ac. But that macro is deprecated since Libtool
  7660. version 1.9b (2004-08-29), in favor of the newer LT_INIT. So
  7661. suggest the use of this latter macro instead.
  7662. * lib/Automake/Variable.pm (%_am_macro_for_var): Pair 'LIBTOOL'
  7663. with 'LT_INIT', not with 'AC_PROG_LIBTOOL'.
  7664. * tests/libtool4.test: Adjust and extend. Also, add a call to
  7665. macro AC_PROG_CC in configure.in, to help ensuring that automake
  7666. does not fail for the wrong reasons.
  7667. * tests/ltinit.test: New test, ensure that automake's libtool
  7668. support works with LT_INIT-based interface.
  7669. Thanks to Jack Kelly for the suggestion.
  7670. 2011-02-25 Stefano Lattarini <stefano.lattarini@gmail.com>
  7671. tests: add testcases sanity-checking the testsuite
  7672. Helper subroutines, variables and other pieces of code defined
  7673. in the `tests/defs' and used by many testcases are non-obvious,
  7674. and tricky to get to work portably; but until now, they weren't
  7675. tested at all in a clear and self-contained way.
  7676. This change should remedy to the situation.
  7677. * tests/self-check-cleanup.test: New test, check removal of
  7678. temporary test working directory by `./defs'.
  7679. * tests/self-check-dir.test: New test, check that tests using
  7680. `./defs' create a proper temporary directory, and run in it.
  7681. * tests/self-check-exit.test: New test, check that, in case of
  7682. failing commands, the correct exit status is passed to the exit
  7683. trap installed by the `./defs' script.
  7684. * tests/self-check-is_newest.test: New test, checking the
  7685. `is_newest' subroutine.
  7686. * tests/self-check-me.test: New test, checking that $me gets
  7687. defined automatically by `tests/defs' if not set, and that it
  7688. can be overridden from either the shell or the environment.
  7689. * tests/self-check-sanity.test: New test, check that the sanity
  7690. checks performed by the `tests/defs' script works correctly.
  7691. * tests/self-check-unindent.test: New test, checking the
  7692. `unindent' subroutine.
  7693. * tests/Makefile.am (TESTS): Update.
  7694. 2011-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
  7695. tests: tempdirs with restrictive permissions are cleaned correctly
  7696. Before this change, the removal of a temporary test directory
  7697. containing subdirectories with restrictive permissions (such as
  7698. 'r--r--r--') could fail.
  7699. * tests/defs: Ensure that all the subdirectories of a temporary
  7700. test directory have the 'read', 'write' and 'execute' bits set,
  7701. before trying to remove it with `rm -rf'.
  7702. * tests/Makefile.am (clean-local-check): Likewise.
  7703. 2011-02-16 Stefano Lattarini <stefano.lattarini@gmail.com>
  7704. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7705. test defs: add subroutine for input unindenting
  7706. * tests/defs.in (unindent): New subroutine.
  7707. * tests/instspc-tests.sh: Use it.
  7708. 2011-02-15 Stefano Lattarini <stefano.lattarini@gmail.com>
  7709. python: report the 'PYTHON' influential environment variable
  7710. * m4/python.m4 (AM_PATH_PYTHON): Call AC_ARG_VAR on PYTHON.
  7711. * doc/automake.texi (Python): Update and extend.
  7712. * tests/help-python.test: New test.
  7713. * tests/Makefile.am (TESTS): Update.
  7714. * THANKS (Jack Kelly): Update e-mail address.
  7715. Suggestion by Jack Kelly.
  7716. 2011-02-10 Stefano Lattarini <stefano.lattarini@gmail.com>
  7717. tests defs: clear TESTS_ENVIRONMENT variable
  7718. * tests/defs.in (TESTS_ENVIRONMENT): Unset it, so that values
  7719. from environment won't interfere with the testcases.
  7720. Suggestion by Ralf Wildenhues.
  7721. 2011-02-15 Stefano Lattarini <stefano.lattarini@gmail.com>
  7722. tests: `instspc-*.test': do not create useless source file
  7723. * tests/instspc-tests.sh (create_input_data): Do not create
  7724. unused source file `source2.c'.
  7725. 2011-02-15 Stefano Lattarini <stefano.lattarini@gmail.com>
  7726. tests: optimize `instspc-*.test' for speed
  7727. After the split of `instspc.test' into various generated tests,
  7728. the running time of the testsuite has noticeably increased, since
  7729. all of these new generated tests must run aclocal, autoconf and
  7730. automake, whereas previously they were run only once (at the
  7731. beginning of `instspc.test'). But luckily, since the new tests
  7732. share the same input files for the autotools, this situation can
  7733. be easily worked around (at the expenses of a slight increase of
  7734. complexity for the testsuite scaffolding).
  7735. * tests/instspc-data.test: New helper test, properly calling
  7736. the `instspc-tests.sh' script to generate input data for the
  7737. others `instspc-*.test' tests.
  7738. * tests/Makefile.am (TESTS): Add `instspc-data.test'.
  7739. ($(instspc_tests:.test=.log)): Depend on its log file.
  7740. (instspc-data.log): Depend on `instspc-tests.sh'.
  7741. * tests/instspc-tests.sh: Recognize new action `generate-data',
  7742. and use it to create hand-written and autotools-generated static
  7743. files shared by all the `instspc-*.test' tests.
  7744. When sourced by the `instspc-*.test' tests, use those previously
  7745. created files instead of recreating them from scratch.
  7746. (unindent, create_input_data): New subroutines.
  7747. Some other related changes and refactorings.
  7748. From a suggestion by Ralf Wildenhues.
  7749. 2011-02-14 Stefano Lattarini <stefano.lattarini@gmail.com>
  7750. python: fix spurious failure in tests
  7751. * tests/python-vars.test: Ignore cached values from config.site
  7752. by exporting CONFIG_SITE=/dev/null. Be laxer in matching the
  7753. expected values of output variables `pythondir' and `pyexecdir',
  7754. since they can change quite unpredictably among different python
  7755. installations. Also, avoid "hyping" debugging output, thus
  7756. offering smaller trace output and more informative diff.
  7757. Report and suggestions by Ralf Wildenhues.
  7758. * tests/python-virtualenv.test: Require python, since we call it
  7759. even after the virtualenv has been deactivated. Ignore cached
  7760. values from config.site by exporting CONFIG_SITE=/dev/null.
  7761. 2011-02-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  7762. tests: tweak few tests on simple and parallel test drivers
  7763. * tests/check-exported-srcdir.test: Improve heading comments.
  7764. * tests/check-tests-in-builddir.test: Likewise. Also, unset the
  7765. `FOO_EXIT_STATUS' variable, so that any pre-existing value in the
  7766. environment won't risk to interfere with the test.
  7767. Suggestions by Ralf Wildenhues.
  7768. 2011-02-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  7769. python: extend and improve tests, fix minor glitches
  7770. * m4/python.m4 (AM_PATH_PYTHON): Ensure the "checking ..." messages
  7771. from configure are always complete, even in case of failure. Tiny
  7772. cosmetic improvement in info/error messages.
  7773. * tests/python.test: Also check that automake complains if the
  7774. PYTHON primary is used but the `py-compile' script is not present.
  7775. Make grepping of generated Makefile.in laxer w.r.t. whitespace.
  7776. Add trailing `:' command.
  7777. * tests/python2.test: Remove repeated calls aclocal: they are
  7778. useless because configure.in is never modified. Make grepping
  7779. of automake stderr more comprehensive. Remove the pre-existing
  7780. `py-compile' file before trying to install it with `--add-missing'.
  7781. Add trailing `:' command.
  7782. * tests/python3.test: Add trailing `:' command.
  7783. * tests/python11.test: Likewise.
  7784. * tests/python4.test: Likewise. Also, try to pass PYTHON config
  7785. variable to configure from the environment, rather than only from
  7786. the command line.
  7787. * tests/python5.test: Ensure that the "checking ..." messages from
  7788. configure are always complete. Use proper m4 quoting. Add a
  7789. trailing `:' command.
  7790. * tests/python6.test: Simplify test logic, by checking for files
  7791. created by configure rather then grepping its output.
  7792. * tests/python7.test: Likewise.
  7793. * tests/python8.test: Also check that `$PYTHON' is meaningfully
  7794. set in the ACTION-IF-TRUE argument of AM_PATH_PYTHON.
  7795. * tests/python9.test: Likewise.
  7796. * tests/python10.test: Add trailing `:' command.
  7797. (Makefile.am): Declare `disttest' target as `.PHONY', and add
  7798. an `ls -l' to its recipe, for debugging.
  7799. * tests/nobase-python.test: In testing "make uninstall" and
  7800. "make install" results, prefer idioms that make verbose logs
  7801. more helpful. Remove a couple of lines of dead code. Add a
  7802. trailing `:' command.
  7803. * tests/python5b.test: New test, checking that configure performs
  7804. the check on the python version even when the choice of the python
  7805. interpreter is forced by the user.
  7806. * tests/python-dist.test: New test, checking the distribution of
  7807. *_PYTHON files.
  7808. * tests/python-vars.test: New test, checking that AM_PATH_PYTHON
  7809. correctly set all the output variables advertised in the manual.
  7810. * tests/python-virtualenv.test: New test, checking that python
  7811. support offered by automake works well with "virtual python
  7812. environments" created by the `virtualenv' program.
  7813. * tests/instdir-prog.test: Also check `$(pyexecdir)'. Existing
  7814. checks made slightly stricter.
  7815. * tests/instdir-prog.test: Also check `$(pyexecdir)'. Existing
  7816. * tests/instdir-ltlib.test: Likewise.
  7817. * tests/Makefile.am (TESTS): Update.
  7818. 2011-02-01 Stefano Lattarini <stefano.lattarini@gmail.com>
  7819. coverage: more tests on simple and parallel test drivers
  7820. * tests/parallel-tests-subdir.test: New test.
  7821. * tests/check-exported-srcdir.test: Likewise.
  7822. * tests/check-tests-in-builddir.test: Likewise.
  7823. * tests/check-tests_environment.test: Likewise.
  7824. * tests/Makefile.am (TESTS): Update.
  7825. 2011-01-29 Stefano Lattarini <stefano.lattarini@gmail.com>
  7826. tests: fix spurious failures in lflags*.test
  7827. * tests/lflags.test: Remove 'LEX' from the environment, so
  7828. that it won't be erroneously picked up by `make -e'.
  7829. * tests/lflags2.test: Likewise.
  7830. 2011-01-24 Stefano Lattarini <stefano.lattarini@gmail.com>
  7831. docs: color-tests issues with parallel make
  7832. * doc/automake.texi (Simple Tests): Document that automatic
  7833. recognition of a capable terminal attached to stdout can fail
  7834. with some make implementation when running in parallel mode,
  7835. thus causing colored test output not to be automatically
  7836. activated when it should.
  7837. 2011-01-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  7838. coverage: test semantics of "dummy" per-target flags
  7839. * tests/specflg-dummy.test: New test, ensuring that even "dummy"
  7840. per-target flags triggers the use of renamed objects.
  7841. * tests/Makefile.am (TESTS): Update.
  7842. Suggestion by Ralf Wildenhues.
  7843. 2011-01-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  7844. tests defs: sanitize IFS
  7845. * tests/defs ($IFS): Define to <space>, <tab>, <newline>.
  7846. ($sp): New variable, holding a single whitespace character.
  7847. ($tab): New variable, holding a tabulation character.
  7848. ($nl): New variable, holding a newline character.
  7849. 2011-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7850. tests: avoid instspc* failures due to make's whitespace trimming
  7851. * tests/instspc-tests.sh: Prepend './' when passing the test
  7852. characters, to avoid leading whitespace characters to be trimmed
  7853. from macros set from environment variables. Fixes testsuite
  7854. failures with HP-UX and Tru64/OSF make.
  7855. 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7856. tests: fix VPATH auto-expansion workarounds.
  7857. * tests/suffix10.test, tests/suffix11.test, tests/suffix12.test,
  7858. tests/suffix3.test, tests/suffix5.test, tests/suffix8.test:
  7859. Ensure $< is not surrounded by white space, to prevent Solaris
  7860. make from applying automatic VPATH text expansion.
  7861. tests: fix VPATH auto-expansion workarounds.
  7862. * tests/parallel-tests8.test, tests/suffix13.test:
  7863. Ensure $< is not surrounded by white space, to prevent Solaris
  7864. make from applying automatic VPATH text expansion.
  7865. 2011-01-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  7866. tests: fix spurious failures in yflags*.test
  7867. * tests/yflags.test: Remove 'YACC' from the environment, so
  7868. that it won't be erroneously picked up by `make -e'.
  7869. * tests/yflags2.test: Likewise.
  7870. 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7871. tests: avoid fn99*.test failures due to buggy AIX 5.3 cp -R.
  7872. * tests/fn99.test, tests/fn99subdir.test: Skip if an initial
  7873. `cp -R' of the subdir tree already fails; AIX 5.3 cp messes
  7874. up its internal memory when copying this tree.
  7875. 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7876. Stefano Lattarini <stefano.lattarini@gmail.com>
  7877. Add comment to check-TESTS rule working around make 3.80 bug.
  7878. * lib/am/check.am (check-TESTS): Update comment.
  7879. 2011-01-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7880. tests: less strict double-colon spy.test again.
  7881. * tests/spy.test: We know BSD make doesn't invoke more than one
  7882. double-colon rule, so no need to expose that failure.
  7883. 2011-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7884. install-sh: avoid Tru64 sh `test' operator precedence issues.
  7885. * lib/install-sh: Protect file names and directory components
  7886. that consist of `=', `(', `)', or `!'. Move protection as early
  7887. as possible, to avoid errors such as with Tru64 sh `test -z ='.
  7888. * tests/instsh2.test: Extend test to cover more possibilities.
  7889. Fixes 1.12 instspc-equal-install.test failure on Tru64/OSF 5.1.
  7890. 2011-01-19 Stefano Lattarini <stefano.lattarini@gmail.com>
  7891. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7892. docs: automake testsuite doesn't use TESTS_ENVIRONMENT anymore
  7893. * doc/automake.texi (Simple Tests): Do not claim Automake uses
  7894. TESTS_ENVIRONMENT for the perl driver. Instead, point to the
  7895. parallel-tests driver.
  7896. 2011-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7897. tests: check for presence of cscope with redirected input.
  7898. * tests/defs: Add required test for cscope.
  7899. Fixes cscope3.test hang with Sun C 5.9 cscope.
  7900. tests: avoid false failure in cygnus-dependency-tracking.test.
  7901. * tests/cygnus-dependency-tracking.test: Be less restrictive
  7902. when grepping the compiler error message, GCC 3.4.6 on FreeBSD
  7903. does not mention an undefined symbol.
  7904. 2011-01-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7905. tests: revert not turning off errexit in instspc-test.sh
  7906. * tests/instspc-tests.sh: Turn off errexit while sourcing defs,
  7907. the scripts might still not be clean.
  7908. 2011-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7909. tests: work around Tru64 sh -e issues for instspc*.test.
  7910. Apparently, Tru64 sh does not like turning off errexit mode,
  7911. and gets confused.
  7912. * tests/defs: Document 'errexit' cleanliness requirement.
  7913. * tests/defs-static.in: Likewise. Avoid error from command
  7914. substitution to abort instspc*.test with Tru64/OSF 5.1 sh.
  7915. * tests/instspc-tests.sh: Drop now-unneeded temporary errexit
  7916. dropping. Add strategic '|| Exit' to let tests work on Tru64.
  7917. 2011-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7918. Allow _AM_DEPENDENCIES to be used later in configure.
  7919. * m4/depend.m4 (_AM_DEPENDENCIES): Remove a previously existing
  7920. conftest.dir before recreating it.
  7921. Fixes bug#7864.
  7922. Report by Eric Blake, from report by Scott McCreary against M4.
  7923. 2011-01-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7924. tests: avoid failure on w32 file systems.
  7925. * tests/parallel-tests-unreadable-log.test: SKIP if file cannot
  7926. be turned unreadable.
  7927. 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7928. tests: allow double-colon spy.test to work with HP-UX make.
  7929. * tests/spy.test: Fix comment typos. Ensure prerequisites we
  7930. do not want to depend on are strictly older than the target.
  7931. Also test with a target out of date wrt. more than one rule.
  7932. 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7933. Avoid local $_ perl variable, for Perl before 5.9.1.
  7934. * lib/Automake/Options.pm (_process_option_list): Do not
  7935. lexically localize $_. Fixes bootstrap on AIX 5.1.
  7936. Bug introduced in commit `v1.11-622-gf90a06c'.
  7937. 2011-01-16 Stefano Lattarini <stefano.lattarini@gmail.com>
  7938. tests: remove useless requirements from cond36.test
  7939. * tests/cond36.test ($required): Remove.
  7940. Since we are at it, add a trailing `:' command.
  7941. 2011-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7942. tests: avoid failing command substitution in errexit mode.
  7943. * tests/vartypo2.test, tests/vartypos.test: Rewrite to not use
  7944. a command substitution with a nonzero exit status, that causes
  7945. IRIX and Tru64/OSF sh to fail the whole test.
  7946. 2011-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7947. Stefano Lattarini <stefano.lattarini@gmail.com>
  7948. parallel-tests: work around Tru64/OSF 5.1 sh read bugs.
  7949. * lib/am/check.am ($(TEST_SUITE_LOG), recheck, recheck-html):
  7950. Test file readability before redirecting input from it, to avoid
  7951. exiting Tru64/OSF 5.1 sh which treats read as special builtin.
  7952. * tests/parallel-tests-unreadable-log.test: New test.
  7953. * tests/Makefile.am (TESTS): Update.
  7954. * NEWS: Update.
  7955. 2011-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7956. * NEWS, README: Update copyright years.
  7957. 2011-01-15 Stefano Lattarini <stefano.lattarini@gmail.com>
  7958. tests: hard error in case of internal failures or signal caught
  7959. * tests/defs: Exit with status 99 (hard error) rather than
  7960. 1 (failure) on unexpected/internal errors, or when a signal
  7961. is caught by the client script.
  7962. Tests defs: don't let useless variables leak in test scripts.
  7963. * tests/defs ($priv_check_temp, $overwrite_status, $ro_dir_temp,
  7964. $create_status, $r2h, $libtool_found, $gettext_found, $aclocaldir,
  7965. $extra_includes): Unset once they've served their purpose.
  7966. 2011-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7967. Fix parallel-tests.test failure with HP-UX make.
  7968. * tests/parallel-tests.test: Sleep inside inner tests, so logs
  7969. are newer than logs of tests they depend on, for HP-UX make.
  7970. 2011-01-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  7971. docs: ensure example are separated with empty lines in the input
  7972. * doc/automake.texi (Extending aclocal, Emacs Lisp, Rebuilding)
  7973. (API Versioning, Renamed Objects, Multiple Outputs): Add empty
  7974. lines before `@example' and after `@end example' lines, so info
  7975. output is rendered correctly, and a following @noindent honored.
  7976. Report by Stefano Lattarini.
  7977. 2011-01-15 Jim Meyering <meyering@redhat.com>
  7978. tests: fix comment typo
  7979. * tests/substref.test: Fix grammar in a comment.
  7980. 2011-01-13 Stefano Lattarini <stefano.lattarini@gmail.com>
  7981. tests: fix spurious failures in two texinfo tests
  7982. * tests/txinfo.test ($required): Add 'makeinfo'.
  7983. * tests/txinfo8.test: Create a dummy 'textutils.info' file, so
  7984. that make won't try to run makeinfo (which could be unavailable)
  7985. to build it.
  7986. Found by NixOS Hydra, reported by Ralf Wildenhues.
  7987. 2011-01-15 Stefano Lattarini <stefano.lattarini@gmail.com>
  7988. Update docs w.r.t. warning and strictness options.
  7989. * doc/automake.texi (Strictness): Document that some warnings are
  7990. turned off by default in `foreign' strictness.
  7991. (Options): Divide into new sections "Options generalities" and
  7992. "List of Automake options". Fix typo (colon instead of full
  7993. stop). Document option precedence (AUTOMAKE_OPTIONS wins over
  7994. AM_INIT_AUTOMAKE which wins over command line). Also document
  7995. interactions between options specifying strictness and those
  7996. specifying warnings.
  7997. More tests on warnings/strictness precedence.
  7998. * tests/warning-groups-win-over-strictness.test: New test, similar
  7999. to `warnings-win-over-strictness.test', but checking the explicit
  8000. catch-all warning flags (like `-Wall' and `-Wnone').
  8001. * tests/Makefile.am (TESTS): Update.
  8002. Update NEWS about the warnings-over-strictness precedence.
  8003. * NEWS: Automake explicit warning levels always take precedence
  8004. over the implicit warning levels implied by Automake strictness.
  8005. For PR automake/547:
  8006. Warnings win over strictness in AUTOMAKE_OPTIONS.
  8007. Ensure that, for what concerns the options specified in
  8008. AUTOMAKE_OPTIONS, explicitly-defined warnings always take
  8009. precedence over implicit strictness-implied warnings.
  8010. This finally fixes Automake bug#7669 a.k.a. PR/547.
  8011. * automake.in (handle_options): Call 'process_option_list'
  8012. only once per set of options.
  8013. * lib/Automake/Options.pm (process_global_option_list,
  8014. process_option_list): Add sanity checks.
  8015. ($_options_processed, $_global_options_processed): New
  8016. internal variables, used by the sanity checks above.
  8017. * tests/warnings-win-over-strictness.test: Extend.
  8018. For PR automake/547:
  8019. Change signature of 'Automake::Options::_process_option_list()'.
  8020. This only modifies internal details in the automake implementation,
  8021. bearing no externally visible effect, but preparing the way for the
  8022. final fix of Automake bug#7669 a.k.a. PR/547.
  8023. * lib/Automake/Options.pm (_process_option_list): Accept as
  8024. arguments a list of hash references with keys 'option' and 'where',
  8025. where 'option' is an option as might occur in AUTOMAKE_OPTIONS or
  8026. AM_INIT_AUTOMAKE, and 'where' is the location where it occurred.
  8027. (process_option_list, process_global_option_list): Updated.
  8028. * automake.in (handle_options, scan_autoconf_traces): Update.
  8029. Add more tests about AUTOMAKE_OPTIONS.
  8030. In view of soon-to-follow refactorings (still in the pursuit of a
  8031. fix for Automake bug#7669 a.k.a. PR/547), add some more tests on
  8032. AUTOMAKE_OPTIONS support, to prevent obvious regressions.
  8033. * tests/amopts-variable-expansion.test: New test.
  8034. * tests/amopts-location.test: Likewise.
  8035. * tests/Makefile.am (TESTS): Update.
  8036. For PR automake/547:
  8037. Warnings win over strictness in AM_INIT_AUTOMAKE.
  8038. This change ensures that, for what concerns the options specified
  8039. in AM_INIT_AUTOMAKE, explicitly-defined warnings always take
  8040. precedence over implicit strictness-implied warnings. Related to
  8041. Automake bug#7669 a.k.a. PR/547.
  8042. * lib/Automake/Options.pm (_process_option_list): Parse explicit
  8043. warnings only after the strictness level has been set. Fix POD
  8044. documentation.
  8045. * tests/warnings-win-over-strictness.test: Extend.
  8046. For PR automake/547:
  8047. Warnings win over strictness on command line.
  8048. Ensure that, on the command line at least, explicitly defined
  8049. warnings always take precedence over implicit strictness-implied
  8050. warnings. Related to Automake bug#7669 a.k.a. PR/547.
  8051. * automake.in (parse_arguments): Parse warnings only after the
  8052. strictness level has been processed.
  8053. * tests/gnuwarn.test: Update, plus miscellaneous improvements.
  8054. * tests/warnings-win-over-strictness.test: New test.
  8055. * tests/Makefile.am (TESTS): Update.
  8056. More tests on warnings and strictness.
  8057. * tests/warnings-strictness-interactions.test: New test.
  8058. * tests/warnings-unknown.test: Likewise.
  8059. * tests/Makefile.am (TESTS): Update.
  8060. New test on silent-rules mode and portability warnings.
  8061. * tests/silent-nowarn.test: New test.
  8062. * tests/Makefile.am (TESTS): Update.
  8063. Add new tests on strictness and warnings precedence and overriding.
  8064. * tests/strictness-override.test: New test.
  8065. * tests/strictness-precedence.test: New test.
  8066. * tests/warnings-override.test: New test.
  8067. * tests/warnings-precedence.test: New test.
  8068. * tests/Makefile.am (TESTS): Update.
  8069. 2011-01-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8070. Fix remake rule-induced test failures with HP-UX make.
  8071. * tests/remake1a.test: Require GNU make.
  8072. 2011-01-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8073. Fix remake rule-induced test failures with HP-UX make.
  8074. * tests/colon6.test: Update timestamp of subdir Makefile, so we
  8075. do not spuriously invoke the nonexistent toplevel am--refresh
  8076. rule.
  8077. tests: fix typos in colon6.test
  8078. * tests/colon6.test: Fix typos.
  8079. 2011-01-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8080. Stefano Lattarini <stefano.lattarini@gmail.com>
  8081. tests: explain MSYS setup failure issue, improve test.
  8082. * tests/defs: Add comment and failure message, improve fail
  8083. logic.
  8084. 2011-01-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8085. Fix libobj2.test failure with non-GNU make: define $(AR).
  8086. * tests/libobj2.test: Ensure $(AR) is suitably defined.
  8087. 2011-01-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8088. tests: avoid spurious failures due to fork failure in test setup
  8089. * tests/defs: Ensure $me is always nonempty, to avoid spurious
  8090. failures on MinGW/MSYS in case the preceding sed command could
  8091. not be spawned.
  8092. Avoid configure warnings from wait about reused PIDs.
  8093. * m4/sanity.m4 (AM_SANITY_CHECK): Hide wait stderr output.
  8094. Fixes spurious failure of depcomp2.test.
  8095. 2011-01-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8096. Avoid testsuite failures due to Autoconf Fortran change.
  8097. Autoconf v2.68-21-g727ce95 causes AC_F77_LIBRARY_LDFLAGS to
  8098. require computing the canonical host name. Ensure config.guess
  8099. and config.sub files are present for respective checks.
  8100. * tests/compile_f_c_cxx.test: Add stub files.
  8101. * tests/flibs.test: Likewise.
  8102. * tests/fort4.test: Use $AUTOMAKE -a for installing files.
  8103. 2011-01-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  8104. docs: clustered '-d' not recognized in YFLAGS
  8105. This change fixes automake bug#7828.
  8106. * doc/automake.texi (Yacc and Lex): Document that automake
  8107. recognizes '-d' in AM_YFLAGS only if it's not clustered with
  8108. other options.
  8109. From a report by Юрий Пухальский.
  8110. 2011-01-10 Stefano Lattarini <stefano.lattarini@gmail.com>
  8111. tests: add checks on automatically-distributed files
  8112. Related to automake bug#7819.
  8113. * tests/autodist.test: New test.
  8114. * tests/autodist-subdir.test: Likewise.
  8115. * tests/autodist-acconfig.test: Likewise.
  8116. * tests/autodist-acconfig-no-subdir.test: Likewise.
  8117. * tests/autodist-aclocal-m4.test: Likewise.
  8118. * tests/autodist-config-headers.test: Likewise.
  8119. * tests/autodist-configure-no-subdir.test: Likewise.
  8120. * tests/autodist-stamp-vti.test: Likewise.
  8121. * tests/Makefile.am (TESTS): Update.
  8122. 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
  8123. tests: do not force yacc-requiring tests to use bison
  8124. * tests/defs.in: New required entry 'yacc'. Remove old
  8125. required entry 'bison'.
  8126. * tests/cond35.test ($required): Require yacc, not bison.
  8127. * tests/cond36.test: Likewise.
  8128. * tests/pr204.test: Likewise.
  8129. * tests/silent-many-gcc.test: Likewise.
  8130. * tests/silent-many-generic.test: Likewise.
  8131. * tests/silent-yacc-gcc.test: Likewise.
  8132. * tests/silent-yacc-generic.test: Likewise.
  8133. * tests/subpkg.test: Likewise.
  8134. * tests/suffix10.test: Likewise.
  8135. * tests/yacc-basic.test: Likewise.
  8136. * tests/yacc-clean.test: Likewise.
  8137. * tests/yacc-d-basic.test: Likewise.
  8138. * tests/yacc-d-vpath.test: Likewise.
  8139. * tests/yacc-dist-nobuild.test: Likewise.
  8140. * tests/yacc-nodist.test: Likewise.
  8141. * tests/yacc4.test: Likewise.
  8142. * tests/yacc6.test: Likewise.
  8143. * tests/yacc7.test: Likewise.
  8144. * tests/yacc8.test: Likewise.
  8145. * tests/yaccdry.test: Likewise.
  8146. * tests/yaccvpath.test: Likewise.
  8147. 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
  8148. tests: more consistent checks about invalid options
  8149. * tests/aclocal.test: Grepping of automake stderr for messages
  8150. reporting invalid options made stricter.
  8151. * tests/no-outdir-option.test: Likewise. Also, create a dummy
  8152. `Makefile.am', to ensure that the automake failures are really
  8153. caused only by unrecognized options.
  8154. * tests/automake.test: Added trailing `:' command. Removed
  8155. redundant checks on `--help' and `--version' option (already
  8156. performed in the test `help*.test').
  8157. 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
  8158. tests: enable 'errexit' shell flag by default.
  8159. * tests/defs: Enable `errexit' shell flag (near the end).
  8160. Removed redundant comment about the enabling of shell traces.
  8161. * tests/README (Writing test cases): Update, and use nicer
  8162. formatting in a couple of places.
  8163. * All tests: Adjusted by removing now-redundant calls to
  8164. 'set -e'.
  8165. 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
  8166. tests: work around a texi+cygnus bug causing a spurious XFAIL
  8167. * tests/txinfo5b.test: New test, like txinfo5.test but calling
  8168. automake with the `-Wno-override' option to work around a bug
  8169. in the texinfo + cygnus interaction.
  8170. * tests/txinfo5.test: Update heading comments.
  8171. * tests/Makefile.am (TEST): Updated.
  8172. 2011-01-09 Dave Hart <davehart@gmail.com> (tiny change)
  8173. Fix another typo in Rule.pm comment.
  8174. * lib/Automake/Rule.pm: Fix typo.
  8175. 2011-01-09 Peter Rosin <peda@lysator.liu.se>
  8176. Fix another typo in Rule.pm comment.
  8177. * lib/Automake/Rule.pm: Fix typo.
  8178. 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
  8179. tests: texinfo unrecognized extensions
  8180. * tests/txinfo-unrecognized-extension.test: New test.
  8181. * tests/Makefile.am (TESTS): Update.
  8182. Improve, extend and tweak tests on Texinfo support.
  8183. * tests/instdir-texi.test: Add a call to `ls -l' after that to
  8184. `make', for debugging. When looking for required tools, do not
  8185. redirect the output of "$tool --help" to /dev/null, and do not
  8186. uselessly run it in a subshell.
  8187. * tests/txinfo.test: Rewritten to run autoconf, ./configure and
  8188. make. All checks moved into Makefile.am.
  8189. * tests/txinfo8.test: Likewise, and modernize the generated
  8190. configure.in.
  8191. * tests/txinfo2.test: Moved checks into Makefile.am, and other
  8192. minor improvements.
  8193. * tests/txinfo5.test: Enable `errexit' shell flag, and related
  8194. changes. Add trailing `:' command.
  8195. * tests/txinfo6.test: Likewise, and make grepping of generated
  8196. Makefile.in stricter.
  8197. * tests/txinfo7.test: Enable `errexit' shell flag, and related
  8198. changes. Add trailing `:' command. Do not add unnecessary stuff
  8199. to Makefile.am.
  8200. * tests/txinfo9.test: Verify that more targets which are expected
  8201. to be generated only once really are. Make grepping less strict,
  8202. to avoid exposing too much internal details. More minor changes.
  8203. * tests/txinfo16.test: Add trailing `:'. Prefer cat over echo
  8204. for appending to configure.in. Updated/fixed heading comments.
  8205. * tests/txinfo23.test: Likewise, and extended a little by making
  8206. it check that no info file is created in the $(srcdir).
  8207. * tests/txinfo24.test: Likewise.
  8208. * tests/txinfo25.test: Likewise.
  8209. * tests/txinfo18.test: Add trailing `:'. Prefer cat over echo
  8210. for appending to configure.in. Also, check that index files are
  8211. cleaned also by "make clean", not only by "make distclean".
  8212. * tests/txinfo22.test: Prefer `$me' over hard-coded test name,
  8213. and added trailing `:' command. This testcase also used to check
  8214. that automake ignores in-line comments when using variables, but
  8215. preserves them in the output; these checks (added in commit
  8216. "Release-1-7f-4-g9177ef8") do not really pertain to this test,
  8217. so they have been moved ...
  8218. * tests/comments-in-var-defn.test: ... into this new test.
  8219. * tests/txinfo4.test: Escape literal dots in grep regexps. Add
  8220. trailing `:' command.
  8221. * tests/txinfo29.test: Likewise. Relax grepping of generated
  8222. Makefile.in w.r.t. whitespaces. Prefer `cat' over `echo' to
  8223. append to configure.in.
  8224. * tests/txinfo3.test: Likewise.
  8225. * tests/vtexi.test: Improve grepping of Makefile.in (sometimes
  8226. make it stricter, sometimes laxer). Move `set -e' setting just
  8227. after the inclusion of ./defs. De-uglify a sed command. Other
  8228. minor cosmetic improvements.
  8229. * tests/vtexi2.test: Make grepping of Makefile.in stricter. Add
  8230. trailing `:' command.
  8231. * tests/vtexi3.test: New test on version.texi support.
  8232. * tests/vtexi4.test: Likewise.
  8233. * tests/Makefile.am (TESTS): Updated.
  8234. 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
  8235. tests: fix spurious failure in 'tests/yflags-conditional.test'
  8236. * tests/yflags-conditional.test: Filter out message "warnings are
  8237. treated as errors" from automake stderr, to avoid a false positive
  8238. when grepping for extraneous warning messages.
  8239. 2011-01-10 Stefano Lattarini <stefano.lattarini@gmail.com>
  8240. yacc: warn about conditional content in *YFLAGS variables
  8241. This change fixes automake bug#7804.
  8242. * automake.in (lang_yacc_target_hook): Warn if any of the relevant
  8243. *YFLAGS variables has conditional contents (not only a conditional
  8244. definition). Related refactoring.
  8245. * NEWS: Updated.
  8246. * tests/yflags-conditional.test: Updated and extended.
  8247. * tests/yflags-conditional-force.test: New test.
  8248. * tests/Makefile.am (TESTS): Updated.
  8249. 2011-01-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  8250. yacc: support variable expansions in *YFLAGS definition.
  8251. This change fixes automake bug#7800.
  8252. * automake.in (lang_yacc_target_hook): Use 'value_as_list_recursive'
  8253. instead of 'variable_value' to get the value of *YFLAGS variables.
  8254. Related changes.
  8255. ($DASH_D_PATTERN): Removed.
  8256. * tests/Makefile.am (XFAIL_TESTS): Remove yflags-var-expand.test.
  8257. * tests/yacc-clean.test: Remove workaround for now-fixed bug.
  8258. * NEWS: Update.
  8259. 2011-01-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  8260. yacc: more tests on *YFLAGS support
  8261. * tests/yflags-var-expand.test: New test, still xfailing. It
  8262. exposes automake bug#7800 -- "automake fails to honor `-d' in
  8263. AM_YFLAGS when variable expansions are involved".
  8264. * tests/yflags-d-false-positive.test: New test, checking that
  8265. automake do not spuriously see `-d' in *YFLAGS when that isn't
  8266. really there.
  8267. * tests/yflags-force-override.test: New test, checking that
  8268. automake can cope with definition of the YFLAGS variable in
  8269. Makefile.am (even if that is an extremely bad practice, as that
  8270. variable is user-reserved).
  8271. * tests/yflags-cmdline-override.test: New test, checking that
  8272. automake can cope with user-redefinition of YFLAGS at configure
  8273. time and/or at make time.
  8274. * tests/yflags-conditional.test: New test, checks that automake
  8275. warns on conditionally-defined *YFLAGS variables.
  8276. * tests/Makefile.am (TESTS, XFAIL_TESTS): Update.
  8277. 2011-01-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  8278. yacc: extend and improve tests
  8279. * tests/yacc-basic.test: Also check that the intermediate C file
  8280. is mentioned in the generated Makefile.in, and that it is created
  8281. by the first make invocation.
  8282. * tests/yacc3.test: Test removed, superseded by ...
  8283. * tests/yacc-d-basic.test: ... this new test.
  8284. * tests/yacc2.test: Add reference to that new test in the heading
  8285. comments.
  8286. * tests/yacc-d-vpath.test: New test.
  8287. * tests/yaccvpath.test: Updated heading comments. Do not require
  8288. gcc anymore, as any working C compiler should be enough. Remove
  8289. redundant comments.
  8290. * tests/yacc-nodist.test: New test.
  8291. * tests/yacc-dist-nobuild.test: New test.
  8292. * tests/Makefile.am (TESTS): Update.
  8293. 2010-12-13 Stefano Lattarini <stefano.lattarini@gmail.com>
  8294. Extend, fix and improve tests on Lex and Yacc support.
  8295. * tests/lexcpp.test: New test script, on support for Lex + C++.
  8296. * tests/lexvpath.test: New test script, test build and rebuild
  8297. rules for lexers in VPATH setup.
  8298. * tests/yacc-basic.test: New test script, run simple "semantic"
  8299. checks on basic Yacc support (similarly to what lex3.test does
  8300. for Lex support).
  8301. * tests/lex.test: Don't create useless dummy source file joe.l.
  8302. Remove extra blank lines.
  8303. * tests/lex4.test: Add trailing `:' command. Do not create dummy
  8304. useless lex source file.
  8305. * tests/lex2.test: Likewise. Call automake with the `-a' option,
  8306. so that it doesn't fail for the absence of `ylwrap' script. Make
  8307. grepping of automake stderr stricter.
  8308. * tests/yacc7.test: Add trailing `:' command. Enable `errexit'
  8309. shell flag earlier (just after having sourced ./defs).
  8310. * tests/yacc4.test: Likewise. Also ...
  8311. (configure.in): Use pre-populated skeleton set up by ./defs,
  8312. instead of writing one from scratch.
  8313. Other minor cosmetic changes.
  8314. * tests/yacc5.test: Likewise.
  8315. * tests/yaccvpath.test: Likewise. Also ...
  8316. ($distdir): New variable.
  8317. Use it throughout.
  8318. * tests/lex5.test: Likewise.
  8319. * tests/lex3.test: Likewise. Check the distdir, rather than
  8320. grepping the distribution tarball. Extend the test on the
  8321. created binary, and be sure to avoid hangs. Add some comments.
  8322. * tests/yacc.test: Use stricter grepping. Add trailing `:'.
  8323. * tests/yacc6.test: Likewise.
  8324. * tests/yacc3.test: Likewise. Do not create the unused file
  8325. `Makefile.sed'. Remove useless rules from Makefile.am. Other
  8326. minor cosmetic changes.
  8327. * tests/yacc2.test: Make grepping of generated `Makefile.in' and
  8328. of automake error messages stricter. Do not redirect output of
  8329. grep to /dev/null. Move call to aclocal earlier. Reduce the
  8330. number of empty blank lines. Fix a typo in comments.
  8331. * tests/yacc8.test: Fixed bugs that reduced the completeness of
  8332. the tests. Added trailing `:' command.
  8333. (configure.in): Use pre-populated skeleton set up by ./defs,
  8334. instead of writing one from scratch.
  8335. * tests/yaccpp.test: Test also extensions `.y++', `.ypp', and
  8336. `.yxx', rather than only `.yy'.
  8337. * tests/Makefile.am (TESTS): Update.
  8338. 2011-01-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  8339. cosmetics: remove trailing whitespaces
  8340. * doc/automake.texi: Remove trailing whitespaces.
  8341. * tests/cond13.test: Likewise.
  8342. * tests/cond14.test: Likewise.
  8343. * tests/fort4.test: Likewise.
  8344. * tests/fort5.test: Likewise.
  8345. * tests/libobj17.test: Likewise.
  8346. * tests/suffix7.test: Likewise.
  8347. * tests/vtexi2.test: Likewise.
  8348. automake: minor fixes in comments
  8349. * automake.in: Some minor fixes and enhancements in comments.
  8350. 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8351. Add test coverage for deleted header files.
  8352. * tests/depcomp6.test, tests/depcomp7.test: Update tests to
  8353. also check for the deleted header bug. If no dependency
  8354. tracking mechanism could be found, SKIP rather than exit
  8355. successfully. Use GNU style spacing and ANSI C prototypes.
  8356. Fix typos in Rule.pm comments.
  8357. * lib/Automake/Rule.pm: Fix typos in comments.
  8358. docs: split 'amhello Explained' node.
  8359. * doc/automake.texi (amhello Explained): Split node ...
  8360. (amhello's configure.ac Setup Explained)
  8361. (amhello's Makefile.am Setup Explained) : ... into these two.
  8362. (Top, Hello World): Adjust, and add @anchor for stable URL links.
  8363. Suggestion by Karl Berry in automake bug#7766.
  8364. 2011-01-08 Karl Berry <karl@freefriends.org>
  8365. Eric Blake <eblake@redhat.com>
  8366. docs: reference defining directories in amhello node.
  8367. * doc/automake.texi (amhello Explained): Point to Autoconf
  8368. manual for how to convert directory values into macros.
  8369. (Optional): Fix grammar nit.
  8370. 2011-01-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  8371. yacc: "make clean" removes .c and .h files from non-distributed .y
  8372. Previously, while automake did *not* distribute C source and header
  8373. files derived from non-distributed Yacc sources, it still caused
  8374. them to be removed only by "make maintainer-clean" only, and not by
  8375. simply "make clean" or "make distclean".
  8376. This caused "make distcheck" to fail, unless the developer put
  8377. those generated .c and .h files in CLEANFILES or in DISTCLEANFILES
  8378. by hand.
  8379. This change fixes this issue, by making non-distributed `.c' and
  8380. `.h' files generated by non-distributed Yacc sources cleaned by
  8381. "make clean".
  8382. * tests/automake.in (lang_yacc_target_hook): Make C source and
  8383. header files derived from non-distributed Yacc files cleaned by
  8384. "make clean", not only by "make maintainer-clean".
  8385. * tests/yacc-clean.test: New test.
  8386. * tests/Makefile.am (TESTS): Update.
  8387. * NEWS: Update.
  8388. 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
  8389. * NEWS: Fix typo (forgotten word).
  8390. 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
  8391. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8392. docs: how to work around checks on invalid primary/directory couples
  8393. * doc/automake.texi (Uniform): Document the blessed idiom which can
  8394. be used to work around automake checks on invalid primary/directory
  8395. couples (such as `lib_PROGRAMS' or `doc_LIBRARIES').
  8396. 2010-01-03 Stefano Lattarini <stefano.lattarini@gmail.com>
  8397. Tests: normalize use of the 'errexit' shell flag.
  8398. * tests/maken3.test (check_targets): Remove redundant call to
  8399. 'set -e'.
  8400. * tests/maken4.test: Likewise.
  8401. * tests/ansi5.test: Call 'set -e' just after './defs' has been
  8402. sourced.
  8403. * tests/ansi6.test: Likewise.
  8404. * tests/ansi7.test: Likewise.
  8405. * tests/cond16.test: Likewise.
  8406. * tests/cond17.test: Likewise.
  8407. * tests/cond18.test: Likewise.
  8408. * tests/cond19.test: Likewise.
  8409. * tests/cond20.test: Likewise.
  8410. * tests/cond21.test: Likewise.
  8411. * tests/instdat2.test: Likewise.
  8412. * tests/instdir-texi.test: Likewise.
  8413. * tests/parallel-tests3.test: Likewise.
  8414. * tests/remake1a.test: Likewise.
  8415. * tests/ccnoco.test: Likewise, and add trailing `:' command.
  8416. * tests/comment4.test: Likewise.
  8417. * tests/gcj4.test: Likewise.
  8418. * tests/nodist2.test: Likewise.
  8419. * tests/nodist3.test: Enable 'errexit' shell flag (this should
  8420. have been done in commit v1.11-248-g317e17b, but the relevant
  8421. hunk has been forgotten somehow).
  8422. * tests/output.test: Likewise.
  8423. * tests/gnits2.test: Likewise, and display captured stderr to
  8424. script's stderr, not to script's stdout.
  8425. * tests/gnits3.test: Likewise. Also, prefer 'cat' over 'echo'
  8426. to append to Makefile.am, and really check that the exit status
  8427. of "make installcheck" indicates failure.
  8428. 2011-01-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8429. Sync auxiliary files from upstream.
  8430. * lib/config.guess, lib/config.sub, lib/texinfo.tex:
  8431. Sync from upstream.
  8432. Avoid caching bug in cygnus mode test.
  8433. * tests/cygnus-requires-maintainer-mode.test: Remove
  8434. autom4te.cache directory before rerunning aclocal, to
  8435. remove trace caches.
  8436. Fix maintainer-check regression.
  8437. * tests/subobj11a.test: Pass DISTCHECK_CONFIGURE_FLAGS in the
  8438. environment.
  8439. Bump copyright years.
  8440. * aclocal.in (write_aclocal, version): Bump copyright years.
  8441. * automake.in (gen_copyright, version): Likewise.
  8442. * doc/automake.texi: Likewise.
  8443. 2010-12-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  8444. * NEWS: Add missing blank line between two entries.
  8445. 2010-12-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  8446. Improve and extend tests `suffix*.test'.
  8447. * tests/suffix.test: Check that suffix rules for C compilation are
  8448. only included once. Try also with a static library.
  8449. * tests/suffix2.test: Add a new grep to help potential debugging.
  8450. Do not run automake with the `--add-missing' options, since we
  8451. already create all the needed auxiliary files. Try also *without*
  8452. the `no-dependencies' automake option.
  8453. * tests/suffix4.test: Make grepping of Makefile.in stricter.
  8454. * tests/suffix3.test: Rewritten to run also autoconf, ./configure
  8455. and make.
  8456. * tests/suffix5.test: Likewise.
  8457. * tests/suffix6.test: Fix botched recipe indentation (eight spaces
  8458. were used instead of a tabulation character). Extend to check
  8459. that `.obj' is handled like `.$(OBJEXT)' (as is done for `.o').
  8460. Improved parsing & grepping of generated Makefile.in. Other minor
  8461. fixes and improvements.
  8462. * tests/suffix10.test: Move some checks in Makefile.am. Also run
  8463. "make all".
  8464. * tests/suffix12.test: Likewise, and account for VPATH issues in
  8465. weaker make implementations.
  8466. * tests/suffix11.test: Likewise. Also, run "make distcheck", for
  8467. completeness, and related changes.
  8468. * tests/suffix8.test: Likewise. Also, do not put `gcc' anymore
  8469. in $required.
  8470. * tests/suffix13.test: Do not use the `--force-missing' automake
  8471. option unnecessarily.
  8472. * tests/suffix6b.test: New test, semantic sister of `suffix6.test'.
  8473. * tests/suffix6c.test: Likewise.
  8474. * tests/Makefile.am (TESTS): Updated.
  8475. 2010-12-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8476. Stefano Lattarini <stefano.lattarini@gmail.com>
  8477. Work around a bug in file-inclusion mechanism of Solaris make.
  8478. * automake.in (handle_single_transform): In the name of the
  8479. dependency file: collapse multiple slash characters into a single
  8480. one.
  8481. * tests/subobj11a.test: New test.
  8482. * tests/subobj11b.test: Likewise.
  8483. * tests/subobj11c.test: Likewise.
  8484. * tests/depcomp8a.test: Likewise.
  8485. * tests/depcomp8b.test: Likewise.
  8486. * tests/Makefile.am (TESTS): Updated.
  8487. * NEWS: Updated.
  8488. Report by Stefano Lattarini, quick fix by Ralf Wildenhues, final
  8489. patch and tests by Stefano Lattarini.
  8490. 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  8491. Fix two spurious testsuite failures on IRIX 6.5.
  8492. * tests/suffix13.test (Makefile.am): Account for VPATH issues on
  8493. weaker make implementations (e.g. IRIX 6.5).
  8494. * tests/parallel-tests8.test: Likewise, plus a required related
  8495. change.
  8496. Reported by Ralf Wildenhues. The bugs have been there from the
  8497. first versions of the affected test scripts.
  8498. 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  8499. docs: cygnus mode doesn't require AM_CYGWIN32 macro.
  8500. * doc/automake.texi (Cygnus): Mode 'cygnus' does not require
  8501. the AM_CYGWIN32 macro (and indeed hasn't required it since at
  8502. least commit Release-1-2-31-g3038064 "merged changes from
  8503. Cygnus" of 1997-08-25).
  8504. 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  8505. Add some tests on 'cygnus' mode.
  8506. * tests/clean2.test: Extend.
  8507. * tests/cygnus-check-without-all.test: New test.
  8508. * tests/cygnus-dependency-tracking.test: Likewise.
  8509. * tests/cygnus-distclean.test: Likewise.
  8510. * tests/cygnus-imply-foreign.test: Likewise.
  8511. * tests/cygnus-no-dist.test: Likewise.
  8512. * tests/cygnus-no-installinfo.test: Likewise.
  8513. * tests/cygnus-requires-maintainer-mode.test: Likewise.
  8514. * tests/Makefile.am (TESTS): Update.
  8515. 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  8516. Fix parallel testsuite run with Zsh.
  8517. This change deals with a Zsh incompatibility in the handling
  8518. of the special shell variable `$0' in sourced files; this
  8519. incompatibility used to cause utter breakage when the
  8520. Automake testsuite was run in parallel mode with Zsh as
  8521. the $(TEST_LOG_COMPILER).
  8522. For more information, please refer to the thread "Fix parallel
  8523. testsuite run with zsh" on automake-patches, dated 2010-12-22:
  8524. <http://lists.gnu.org/archive/html/automake-patches/2010-12/msg00135.html>
  8525. This change works around the problems described above for Zsh 4.3
  8526. or later, and offers better error messages (instead of random
  8527. failures) for earlier Zsh version.
  8528. * tests/README (Supported shells): When describing the manual
  8529. workaround about the Zsh incompatibility in the handling of `$0',
  8530. tell that it is now needed only with Zsh versions preceding 4.3.
  8531. Done also some minor rewordings.
  8532. * tests/defs-static.in ($argv0): New variable, offers a workaround
  8533. for the Zsh incompatibility in the handling of `$0'.
  8534. Abort if that variable cannot be correctly set (can happen only
  8535. in older Zsh version).
  8536. * tests/defs ($me): Define using `$argv0', not `$0'.
  8537. 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  8538. Tests defs: keep track of original $AUTOMAKE and $ACLOCAL values.
  8539. This is especially useful for tests which might want to run
  8540. automake and aclocal without additional flags and warnings.
  8541. * tests/defs-static.in ($original_ACLOCAL): New variable.
  8542. ($original_AUTOMAKE): Likewise.
  8543. * tests/help.test: Use them.
  8544. * tests/help2.test: Likewise.
  8545. * tests/help3.test: Likewise.
  8546. * tests/help4.test: Likewise.
  8547. From a suggestion by Ralf Wildenhues.
  8548. 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  8549. distlinksbrk.test: Work around botched "make -k".
  8550. * tests/distlinksbrk.test: Run "make" multiple times and grep
  8551. its output each time for a single error message, rather than
  8552. running "make -k" one single time and grepping its output for
  8553. all the expected error messages. This should work around make
  8554. implementations with limited (broken?) `-k' support; for more
  8555. information, see these subthreads on the automake-patches list:
  8556. - 2010-11-15, "Testsuite failures on HP-UX 11.23",
  8557. <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00162.html>
  8558. - 2010-11-15, "Testsuite failures on IRIX 6.5",
  8559. <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00166.html>
  8560. 2010-12-21 Stefano Lattarini <stefano.lattarini@gmail.com>
  8561. Minor improvements to test 'amopts.test'.
  8562. * tests/amopts.test: Remove botched comment. Make grepping of
  8563. automake stderr slighty stricter. Add trailing `:' command.
  8564. 2010-12-21 Stefano Lattarini <stefano.lattarini@gmail.com>
  8565. backcompat6.test: avoid comments inside recipe commands.
  8566. * tests/backcompat6.test: Remove shell comments from makefile rule
  8567. commands, as they are not portable to (at least) Tru64 make.
  8568. 2010-12-21 Stefano Lattarini <stefano.lattarini@gmail.com>
  8569. man8.test: avoid comments inside recipe commands.
  8570. * tests/man8.test: Remove shell comments from makefile rule
  8571. commands, as they are not portable to (at least) Tru64 make.
  8572. 2010-12-21 Stefano Lattarini <stefano.lattarini@gmail.com>
  8573. Fix sed-related buglet in test "subdir5.test"
  8574. * tests/subdir5.test: Always terminate text passed to the
  8575. `i' sed command with a newline, to work around limitations
  8576. in e.g. older OpenBSD sed.
  8577. 2010-12-21 Stefano Lattarini <stefano.lattarini@gmail.com>
  8578. Fix spurious failures in tests on AC_CONFIG_AUX_DIR.
  8579. * tests/auxdir7.test: Do not try to needlessly overwrite the files
  8580. `install-sh' and `missing'. This avoid spurious failures in "make
  8581. distcheck", when those files might be copied as read-only from the
  8582. `lib' directory.
  8583. * tests/auxdir8.test: Likewise.
  8584. 2010-12-18 Stefano Lattarini <stefano.lattarini@gmail.com>
  8585. Make test 'posixsubst-script' portable to MinGW/MSYS.
  8586. * tests/posixsubst-script.test: Ensure that the generated dummy
  8587. scripts really start with a shebang line, to work around a
  8588. limitation of 'test -x' on MinGW/MSYS.
  8589. Reported by Ralf Wildenhues.
  8590. Improve comments in tests `posixsubst*.test'.
  8591. * tests/posixsubst-data.test: Improve comment explaining why we
  8592. try also empty match suffix.
  8593. * tests/posixsubst-extradist.test: Likewise.
  8594. * tests/posixsubst-ldadd.test: Likewise.
  8595. * tests/posixsubst-libraries.test: Likewise.
  8596. * tests/posixsubst-ltlibraries.test: Likewise.
  8597. * tests/posixsubst-programs.test: Likewise.
  8598. * tests/posixsubst-scripts.test: Likewise.
  8599. * tests/posixsubst-sources.test: Likewise.
  8600. * tests/posixsubst-tests.test: Likewise.
  8601. Suggested by Ralf Wildenhues.
  8602. 2010-12-18 Stefano Lattarini <stefano.lattarini@gmail.com>
  8603. docs: fix blunder in example about python extension modules
  8604. * doc/automake.texi (Python): Use `quaternion_la_SOURCES',
  8605. not `quaternion_SOURCES', to declare the sources of python
  8606. extension module `quaternion.la'.
  8607. 2010-12-16 Stefano Lattarini <stefano.lattarini@gmail.com>
  8608. docs: list LTLIBRARIES among Automake primaries
  8609. * doc/automake.texi (Uniform): List `LTLIBRARIES' among
  8610. the Automake primaries.
  8611. 2010-12-13 Stefano Lattarini <stefano.lattarini@gmail.com>
  8612. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8613. Tests defs: requirement 'xsi-shell' must be synced with libtool.
  8614. * tests/defs (xsi-shell): Add comment telling to keep the
  8615. XSI-conformance checks in sync with libtool.
  8616. 2010-12-17 Stefano Lattarini <stefano.lattarini@gmail.com>
  8617. Minor cleanups in canon7.test.
  8618. * tests/canon7.test (_foo_bar_SOURCES): Remove libs.c.
  8619. (configure.in): Remove AC_PROG_CXX.
  8620. 2010-12-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8621. Avoid false positive in sc_tests_plain_make maintainer-check.
  8622. * Makefile.am (sc_tests_plain_make): Ensure to only match full
  8623. `make' words. Avoid false positive with remake11.test.
  8624. 2010-12-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8625. Fix canon7.test failure.
  8626. * tests/canon7.test (_foo_bar_SOURCES): Add foobar.c.
  8627. (lib.h, libd.c, libs.c): Use const for constant strings.
  8628. 2010-12-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8629. Fix typos in test comments.
  8630. * tests/posixsubst-data.test, tests/posixsubst-extradist.test,
  8631. tests/posixsubst-ldadd.test, tests/posixsubst-libraries.test,
  8632. tests/posixsubst-ltlibraries.test, tests/posixsubst-programs.test,
  8633. tests/posixsubst-scripts.test, tests/posixsubst-sources.test,
  8634. tests/posixsubst-tests.test: Fix typos.
  8635. 2010-12-14 Stefano Lattarini <stefano.lattarini@gmail.com>
  8636. More uses of AS_HELP_STRING in automake macros.
  8637. * m4/depend.m4 (AM_DEP_TRACK): Use `AS_HELP_STRING' to format
  8638. the help message added to the generated configure.
  8639. * m4/dmalloc.m4 (AM_WITH_DMALLOC): Likewise.
  8640. * m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise.
  8641. * m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise.
  8642. * m4/multi.m4 (AM_ENABLE_MULTILIB): Likewise.
  8643. Also, bumped all serial numbers of the modified m4 files.
  8644. 2010-12-14 Stefano Lattarini <stefano.lattarini@gmail.com>
  8645. Improve tests on generated portions of configure help screen.
  8646. * tests/help-depend.test: Grepping of configure help screen
  8647. relaxed to cater for possible line wrapping, and tightened in
  8648. other respects.
  8649. * tests/help-depend2.test: Likewise.
  8650. * tests/help-dmalloc.test: Likewise.
  8651. * tests/help-lispdir.test: Likewise.
  8652. * tests/help-maintainer.test: Likewise.
  8653. * tests/help-multilib.test: Likewise.
  8654. * tests/help-silent.test: Likewise.
  8655. * tests/help-upc.test: Likewise.
  8656. * tests/help-init.test: Grepping of configure help screen
  8657. tightened.
  8658. 2010-12-15 Stefano Lattarini <stefano.lattarini@gmail.com>
  8659. Extended tests on AC_CONFIG_AUX_DIR.
  8660. * tests/auxdir.test: Enable `errexit' shell flag. Prefer `$me'
  8661. over hard-coded test name. Use proper m4 quoting. Add trailing
  8662. `:' command.
  8663. * tests/auxdir2.test: Likewise. Try to call automake also with
  8664. the `-a' option, so that it will not fail for spurious reasons.
  8665. * tests/auxdir3.test: Add an explanatory comment and a trailing
  8666. `:' command.
  8667. * tests/auxdir4.test: Prefer `$me' over hard-coded test name.
  8668. Make grepping of automake stderr slightly stricter. Also, now
  8669. this test just checks about Automake's reaction to unportable
  8670. auxiliary directory names (and it has been extended in this
  8671. respect). Moved the checks about non-existent auxiliary
  8672. directories to ...
  8673. * tests/auxdir5.test: ... this new test.
  8674. * tests/auxdir6.test: New test.
  8675. * tests/auxdir7.test: Likewise.
  8676. * tests/auxdir8.test: Likewise.
  8677. * tests/auxdir9.test: Likewise.
  8678. * tests/Makefile.am (TESTS): Updated.
  8679. 2010-12-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  8680. Tests: extend checks on remake rules.
  8681. This adds proper semantical tests (i.e. run make to check the
  8682. rebuild rules are correctly triggered) in addition to tentative
  8683. grepping of the generated Makefile.in(s).
  8684. * tests/remake.test: Enable `errexit' shell flag, and related
  8685. changes. Modernize `configure.in'. Add trailing `:' command.
  8686. Improve heading comments, and add a reference to new sister test
  8687. remake1a.test.
  8688. * tests/remake3.test: Likewise (but with sister test being
  8689. remake3a.test).
  8690. * tests/remake2.test: Improve heading comments. Enable `errexit'
  8691. shell flag, and related changes. Modernize `configure.in'. Make
  8692. grepping of `Makefile.in' slightly stricter. Add trailing `:'
  8693. command.
  8694. * tests/remake5.test: Also run the `distcheck' target. Add
  8695. trailing `:' command. Use proper m4 quoting in configure.in.
  8696. * tests/remake4.test: Prefer `$me' over hard-coded test name.
  8697. * tests/remake7.test: Use the `configure.in' stub created by
  8698. ./defs, rather than writing it from scratch.
  8699. * tests/remake6.test: Likewise. Also, add trailing `:' command,
  8700. and ensure verbose printing of captured make output.
  8701. * tests/remake1a.test: New test, sister of remake.test.
  8702. * tests/remake3a.test: New test, sister of remake3.test.
  8703. * tests/remake8a.test: New test.
  8704. * tests/remake8b.test: Likewise.
  8705. * tests/remake9a.test: Likewise.
  8706. * tests/remake9b.test: Likewise.
  8707. * tests/remake9c.test: Likewise.
  8708. * tests/remake9d.test: Likewise.
  8709. * tests/remake10a.test: Likewise.
  8710. * tests/remake10b.test: Likewise.
  8711. * tests/remake10c.test: Likewise.
  8712. * tests/remake11.test: Likewise.
  8713. * tests/remake12.test: Likewise.
  8714. * tests/Makefile.am (TESTS): Updated.
  8715. 2010-12-11 Stefano Lattarini <stefano.lattarini@gmail.com>
  8716. Improve and extend tests on canonicalization.
  8717. * tests/canon-name.test: Add trailing `:' command. When writing
  8718. configure.in, prefer to use $me instead of hard-coding the test
  8719. name.
  8720. * tests/canon3.test: Prefer trailing `:' over trailing `Exit 0'.
  8721. * tests/canon4.test: Likewise. Make grepping of Makefile.in
  8722. stricter. Improve heading comment, and add reference to ...
  8723. * tests/canon6.test: ... this new test (sister test of the
  8724. previous one).
  8725. * tests/canon.test: Prefer cat + here-doc over echo to append
  8726. text to configure.in. Extend grepping of Automake stderr. Add
  8727. trailing `:' command.
  8728. * tests/canon5.test: Likewise.
  8729. * tests/canon7.test: New file, stress test on canonicalization.
  8730. * tests/canon8.test: New test, for better coverage (check that
  8731. the `@' character is not transliterated in canonicalizations).
  8732. * tests/Makefile.am: Updated.
  8733. 2010-12-13 Stefano Lattarini <stefano.lattarini@gmail.com>
  8734. Libobj tests: refer to automake bug tracker for limitations.
  8735. * tests/libobj15b.test (configure.in): In the comment explaining
  8736. why an apparently redundant AC_OUTPUT is indeed needed, refer
  8737. to the relevant entry in the Automake bug tracker rather than
  8738. describing the bug in detail with a FIXME-style comment.
  8739. * tests/libobj15c.test: Likewise.
  8740. * tests/libobj20b.test: Likewise.
  8741. Libobj tests: do not use `##' automake comments in-line.
  8742. * tests/libobj19.test (Makefile.am): Do not use inline `##'
  8743. comments in the definition of AUTOMAKE_OPTIONS.
  8744. * tests/libobj20c.test: Likewise.
  8745. Report by Ralf Wildenhues.
  8746. 2010-12-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  8747. Tests defs: more uses of $top_testsrcdir.
  8748. * tests/compile6.test: Use `$top_testsrcdir' instead of
  8749. `$testsrcdir/..'.
  8750. 2010-11-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  8751. Tests required tools: also try `-v' option for GNU compilers.
  8752. * tests/defs.in: In the loop on "$required" tools, for gcc
  8753. and g++, also run "gcc -v" (resp. "g++ -v"), to get more
  8754. information, and for consistency with gcj.
  8755. 2010-11-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  8756. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8757. Tests defs: avoid some useless subshells.
  8758. * tests/defs: In the loop on "$required" tools: avoid subshells
  8759. where not needed.
  8760. 2010-12-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  8761. Extend tests on AC_LIBOBJ and friends.
  8762. * tests/aclibobj.test: Removed, superseded by ...
  8763. * tests/libobj-basic.test: ... this new test, which runs autoconf,
  8764. ./configure and make, to ensure everything really works.
  8765. * tests/libobj3.test: Add trailing `:' command. Escape literal
  8766. dot in grep regexp.
  8767. * tests/libobj4.test: Enable `errexit' shell flag, and related
  8768. changes. Add trailing `:' command. Use proper m4 quoting.
  8769. * tests/ltlibobjs.test: Likewise.
  8770. * tests/libobj5.test: Enable `errexit' shell flag, and related
  8771. changes. Add trailing `:' command. Make more robust by using
  8772. longer filenames to be grepped.
  8773. * tests/libobj8.test: Enable `errexit' shell flag, and related
  8774. changes. Add trailing `:' command. Use the configure.in
  8775. stub provided by ./defs, rather than writing it from scratch.
  8776. * tests/libobj2.test: Likewise. Also, add calls to autoconf,
  8777. ./configure and make, to ensure everything really works.
  8778. * tests/libobj7.test: Likewise, and ensure that at least one
  8779. function listed in AC_REPLACE_FUNCTIONS is truly replaced.
  8780. * tests/libobj13.test: Make grepping of Automake stderr slightly
  8781. stricter. Add trailing `:' command.
  8782. * tests/libobj12.test: Likewise. Also, prefer "cat + here-doc"
  8783. over "echo" to append to Makefile.am, and some cosmetic changes
  8784. in spacing.
  8785. * tests/libobj14.test: Call `Exit 1' if sourcing of ./defs fails.
  8786. Slighty improve m4 quoting. Add trailing `:' command.
  8787. * tests/libobj10.test: Add calls to autoconf, ./configure and
  8788. make, to ensure everything really works. Also, remove tests that
  8789. nonexistent source for AC_LIBOBJ cause an Automake failure: this
  8790. is already checked by ...
  8791. * tests/libobj15a.test: ... this new test.
  8792. * tests/libobj15b.test: New test, sister test of libobj15a.test,
  8793. checks AC_LIBSOURCE instead of AC_LIBOBJ.
  8794. * tests/libobj15c.test: New test, sister test of libobj15a.test,
  8795. checks AC_LIBSOURCES instead of AC_LIBOBJ.
  8796. * tests/libobj11.test: Removed, superseded by ...
  8797. * tests/libobj16a.test: ... this new test.
  8798. * tests/libobj16b.test: New test, sister test of libobj16a.test,
  8799. but using oldish/deprecated idioms.
  8800. * tests/libobj17.test: New test.
  8801. * tests/libobj18.test: Likewise.
  8802. * tests/libobj19.test: Likewise.
  8803. * tests/libobj20a.test: Likewise.
  8804. * tests/libobj20b.test: Likewise.
  8805. * tests/libobj20c.test: Likewise.
  8806. * tests/Makefile.am (TESTS): Updated.
  8807. 2010-12-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  8808. Test `$(var:suf=rpl)' expansion in special automake variables.
  8809. * tests/posixsubst-data.test: New test.
  8810. * tests/posixsubst-extradist.test: Likewise.
  8811. * tests/posixsubst-ldadd.test: Likewise.
  8812. * tests/posixsubst-libraries.test: Likewise.
  8813. * tests/posixsubst-ltlibraries.test: Likewise.
  8814. * tests/posixsubst-programs.test: Likewise.
  8815. * tests/posixsubst-scripts.test: Likewise.
  8816. * tests/posixsubst-sources.test: Likewise.
  8817. * tests/posixsubst-tests.test: Likewise.
  8818. * tests/Makefile.am (TESTS): Update.
  8819. 2010-12-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  8820. Make tests `colon*.test' more "semantic".
  8821. Prefer running configure and make over grepping the generated
  8822. files; this is both more correct and less fragile.
  8823. * tests/colon.test: Made more "semantic", as described above.
  8824. * tests/colon5.test: Likewise.
  8825. * tests/colon6.test: Likewise.
  8826. * tests/colon7.test: Likewise.
  8827. * tests/colon2.test: Likewise, and improve syncing with sister
  8828. test `colon3.test'.
  8829. * tests/colon3.test: Likewise (but with the sister test being
  8830. `colon2.test' here).
  8831. 2010-12-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  8832. Avoid running installed automake from 'libtool --help'.
  8833. * tests/subobj9.test: Export AUTOCONF and AUTOMAKE.
  8834. Together with fixed Libtool, this fixes check-coverage to not
  8835. invoke installed automake.
  8836. 2010-12-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  8837. Separate checks on target overriding into multiple test scripts.
  8838. * tests/overrid.test: Deleted, its contents separated into ...
  8839. * tests/override-suggest-local.test: ... this new test ...
  8840. * tests/override-html.test: ... and this new test ...
  8841. * tests/override-conditional-1.test: ... and this new test ...
  8842. * tests/override-conditional-2.test: ... and this new test (still
  8843. xfailing).
  8844. * tests/Makefile.am (TESTS, XFAIL_TESTS): Updated.
  8845. Enable `set -e' in more tests (plus some tweakings).
  8846. * tests/implicit.test: Enable `errexit' shell flag, and related
  8847. changes. Add trailing `:' command.
  8848. * tests/insh2.test: Likewise.
  8849. * tests/instman2.test: Likewise.
  8850. * tests/interp.test: Likewise.
  8851. * tests/interp2.test: Likewise.
  8852. * tests/library.test: Likewise.
  8853. * tests/mclean.test: Likewise.
  8854. * tests/info.test: Enable `errexit' shell flag, and related
  8855. changes. Add trailing `:' command. Remove useless chaff from
  8856. generated Makefile.am. Add a "FIXME" comment.
  8857. * tests/include.test: Enable `errexit' shell flag, and related
  8858. changes. Add trailing `:' command. Prefer cat + here-doc over
  8859. echo to append to configure.in. Make tests more robust by using
  8860. longer and less common names to grep. Remove an useless call to
  8861. echo. Remove an useless subshell.
  8862. * tests/header.test: Enable `errexit' shell flag, and related
  8863. changes. Use proper m4 quoting. Add excerpts from the original
  8864. report of the bug tested for by this script.
  8865. * tests/gcj.test: Enable `errexit' shell flag, and related
  8866. changes. Use proper m4 quoting. Add trailing `:' command.
  8867. * tests/gcj3.test: Likewise.
  8868. * tests/ldflags.test: Likewise.
  8869. * tests/libtool.test: Likewise.
  8870. * tests/listval.test: Likewise.
  8871. * tests/javaprim.test: Likewise, and prefer cat + here-doc over
  8872. echo to append to configure.in.
  8873. * tests/javasubst.test: Likewise.
  8874. * tests/discorver.test: Enable `errexit' shell flag. Prefer
  8875. trailing `:' over trailing `Exit 0'.
  8876. * tests/instdat.test: Enable `errexit' shell flag, and related
  8877. changes. Use proper m4 quoting. Avoid useless subshell. Prefer
  8878. cat + here-doc over echo to append to configure.in.
  8879. * tests/libtool2.test: Enable `errexit' shell flag, and related
  8880. changes. Add trailing `:' command. Use the configure.in
  8881. stub provided by ./defs, rather than writing it from scratch.
  8882. Modernize, improve and/or tweak some test scripts.
  8883. * tests/maintclean.test: Use proper m4 quoting. Add trailing `:'
  8884. command.
  8885. * tests/sinclude.test: Likewise, and add a couple of blank lines,
  8886. for clarity.
  8887. * tests/make.test: Move setting of `errexit' shell flag earlier in
  8888. the script (just after inclusion of ./defs). Use the configure.in
  8889. stub created by ./defs, rather than writing it from scratch. Some
  8890. cosmetic changes in spacing. Ensure we wait enough time before
  8891. touching configure.in to trigger the rebuild rules.
  8892. * tests/makej.test: Use `$me' instead of hard-coding the test
  8893. name. Add trailing `:' command.
  8894. * tests/version7.test: Likewise.
  8895. * tests/space.test: Enable `errexit' shell flag, and related
  8896. changes.
  8897. * tests/makevars.test: Likewise. Also, prefer trailing `:' over
  8898. trailing `Exit 0', and be more tolerant of white spaces when
  8899. grepping Makefile.in.
  8900. 2010-12-02 Stefano Lattarini <stefano.lattarini@gmail.com>
  8901. * tests/silent8.test: Use "|| Exit 1" after ". ./defs".
  8902. Enable `set -e' in more tests (plus some tweakings).
  8903. * tests/mkinstall.test: Enable `errexit' shell flag, and related
  8904. changes. Add a trailing `:' command, if needed.
  8905. * tests/mdate2.test: Likewise.
  8906. * tests/objc.test: Likewise.
  8907. * tests/noinst.test: Likewise.
  8908. * tests/outdir.test: Likewise.
  8909. * tests/number.test: Likewise.
  8910. * tests/pluseq.test: Likewise.
  8911. * tests/req.test: Likewise.
  8912. * tests/rulepat.test: Likewise.
  8913. * tests/specflg6.test: Likewise.
  8914. * tests/spell3.test: Likewise.
  8915. * tests/parse.test: Likewise, and ...
  8916. (configure.in): Use the stub created by ./defs, rather than
  8917. writing it from scratch. Remove useless calls to AC_PROG_RANLIB
  8918. and AC_OUTPUT.
  8919. * tests/mdate4.test: Likewise.
  8920. * tests/mkinstall.test: Likewise, and ...
  8921. (configure.in): ... drop useless call to `AC_OUTPUT'.
  8922. * tests/output.test: Enable `errexit' shell flag, and related
  8923. changes. Add a trailing `:' command.
  8924. (configure.in): Modernize.
  8925. * tests/output2.test: Likewise.
  8926. * tests/output3.test: Likewise.
  8927. * tests/output4.test: Likewise.
  8928. * tests/mdate3.test: Enable `errexit' shell flag, and related
  8929. changes. Prefer `$me' over hard-coded test name. Do not move
  8930. non-existent or useless files in the build auxiliary directory.
  8931. * tests/nodistdir.test: Enable `errexit' shell flag, and related
  8932. changes. Prefer trailing `:' over trailing `Exit 0'.
  8933. * tests/nodist.test: Likewise. Also, prefer cat + here-doc over
  8934. echo to create input test files, and do not create useless dummy
  8935. C source files.
  8936. * tests/nodist2.test: Likewise.
  8937. * tests/ppf77.test: Enable `errexit' shell flag, with related
  8938. changes. Add a trailing `:' command. Do not create useless
  8939. dummy source files.
  8940. * tests/spelling.test: Enable `errexit' shell flag, with related
  8941. changes. Add a trailing `:' command. Also, grep Automake error
  8942. message.
  8943. * tests/specflg3.test: Enable `errexit' shell flag, with related
  8944. changes. Avoid unportable use of `-e' option of fgrep. Prefer
  8945. trailing `:' over trailing `Exit 0'. Remove extra empty lines,
  8946. and cosmetic changes to whitespaces.
  8947. * tests/obsolete.test: Enable `errexit' shell flag, with related
  8948. changes. Improve verbosity. Other miscellaneous changes.
  8949. 2010-11-30 Stefano Lattarini <stefano.lattarini@gmail.com>
  8950. Improve and extend tests on `:=' variable assignments.
  8951. * tests/colneq.test: Avoid redundant use of variable assignments
  8952. in Makefile.am. Use command-line automake options instead of
  8953. editing AUTOMAKE_OPTIONS in Makefile.am. Make grepping of the
  8954. generated Makefile.in slightly stricter. Add a trailing `:'
  8955. command.
  8956. * tests/colneq2.test: Do not create unneeded dummy files. Run
  8957. also autoconf, ./configure and make. Add trailing `:' command.
  8958. * tests/colneq3.test: New test, similar to colneq.test, but
  8959. running also autoconf, ./configure and make.
  8960. * tests/Makefile.am (TESTS): Update.
  8961. 2010-11-26 Stefano Lattarini <stefano.lattarini@gmail.com>
  8962. Remove long-deprecated options --Werror and --Wno-error.
  8963. These options has been deprecated at least since commit
  8964. "Release-1-6-1b-35-gc037f20", dated 2002-07-06.
  8965. * automake.in (parse_arguments): Do not recognize anymore options
  8966. `--Werror' and `--Wno-error' as synonyms of respectively `-Werror'
  8967. and `-Wno-error'.
  8968. * tests/werror.test: Update: use `-Werror' instead of `--Werror'.
  8969. * NEWS: Update.
  8970. 2010-11-25 Stefano Lattarini <stefano.lattarini@gmail.com>
  8971. Fix spurious failures in `silent*.test' for $CC != gcc
  8972. In some tests on automake-produced silent rules, we forced the
  8973. use of gcc depmode to improve testsuite coverage; but this has
  8974. unsurprisingly led to spurious failures when some non-GNU C
  8975. compilers were used. So we are now careful to require GCC in
  8976. tests that force gcc depmode.
  8977. From reports by Ralf Wildenhues.
  8978. * tests/silent5.test: Test removed, its content split into ...
  8979. * tests/silent-many-generic.test, tests/silent-many-gcc.test: ...
  8980. these new sister tests, the latter of which forces gcc depmode
  8981. and lists "gcc" in $required.
  8982. * tests/silentlex.test: Test removed, its content split into ...
  8983. * tests/silent-lex-generic.test, tests/silent-lex-gcc.test: ...
  8984. these new sister tests, the latter of which forces gcc depmode
  8985. and lists "gcc" in $required.
  8986. * tests/silentyacc.test: Test removed, its content split into ...
  8987. * tests/silent-yacc-generic.test, tests/silent-yacc-gcc.test: ...
  8988. these new sister tests, the latter of which forces gcc depmode and
  8989. lists "gcc" in $required.
  8990. * tests/Makefile.am (TESTS): Updated.
  8991. 2010-11-21 Stefano Lattarini <stefano.lattarini@gmail.com>
  8992. Tests: consistently use "|| Exit 1" after ". ./defs".
  8993. * tests/autohdr.test: Use `. ./defs || Exit 1', not bare
  8994. `. ./defs', for consistency with other tests.
  8995. * tests/autohdr2.test: Likewise.
  8996. * tests/autohdr3.test: Likewise.
  8997. * tests/autohdr4.test: Likewise.
  8998. * tests/cond23.test: Likewise.
  8999. * tests/cond24.test: Likewise.
  9000. * tests/cond25.test: Likewise.
  9001. * tests/cond26.test: Likewise.
  9002. * tests/cond27.test: Likewise.
  9003. * tests/cond28.test: Likewise.
  9004. * tests/cond29.test: Likewise.
  9005. * tests/cond30.test: Likewise.
  9006. * tests/cond31.test: Likewise.
  9007. * tests/cond32.test: Likewise.
  9008. * tests/cond33.test: Likewise.
  9009. * tests/cond34.test: Likewise.
  9010. * tests/cond35.test: Likewise.
  9011. * tests/cond36.test: Likewise.
  9012. * tests/cond37.test: Likewise.
  9013. * tests/cond38.test: Likewise.
  9014. * tests/cond39.test: Likewise.
  9015. * tests/cond40.test: Likewise.
  9016. * tests/cond41.test: Likewise.
  9017. * tests/cond42.test: Likewise.
  9018. * tests/cond43.test: Likewise.
  9019. * tests/cond44.test: Likewise.
  9020. * tests/cond45.test: Likewise.
  9021. * tests/dollarvar.test: Likewise.
  9022. * tests/dollarvar2.test: Likewise.
  9023. * tests/hfs.test: Likewise.
  9024. * tests/libobj14.test: Likewise.
  9025. * tests/percent.test: Likewise.
  9026. * tests/percent2.test: Likewise.
  9027. * tests/phony.test: Likewise.
  9028. * tests/silent.test: Likewise.
  9029. * tests/silent2.test: Likewise.
  9030. * tests/silent3.test: Likewise.
  9031. * tests/silent4.test: Likewise.
  9032. * tests/silent5.test: Likewise.
  9033. * tests/silent6.test: Likewise.
  9034. * tests/silent7.test: Likewise.
  9035. * tests/silent9.test: Likewise.
  9036. * tests/silentcxx.test: Likewise.
  9037. * tests/silentf77.test: Likewise.
  9038. * tests/silentf90.test: Likewise.
  9039. * tests/silentlex.test: Likewise.
  9040. * tests/silentyacc.test: Likewise.
  9041. Avoid useless cleaning in some `silent*.test' tests.
  9042. * tests/silentf77.test: Removed useless calls to "make clean"
  9043. and "make maintainer-clean".
  9044. * tests/silentf90.test: Likewise.
  9045. * tests/silent3.test: Removed useless call to "make distclean".
  9046. * tests/silent4.test: Likewise.
  9047. * tests/silent9.test: Likewise.
  9048. 2010-11-19 Ian Lance Taylor <iant@google.com>
  9049. Sync config-ml.in from GCC.
  9050. * config-ml.in: Add Go support: treat GOC and GOCFLAGS like other
  9051. compiler/flag environment variables.
  9052. 2010-11-20 Stefano Lattarini <stefano.lattarini@gmail.com>
  9053. release-stats: account for more generated tests.
  9054. * Makefile.am (release-stats): Be sure to take into account all
  9055. the generated tests, by grepping the test scripts to decide which
  9056. ones of them are automatically generated.
  9057. 2010-11-20 Stefano Lattarini <stefano.lattarini@gmail.com>
  9058. Code cleanup after removal of option `--output-directory'.
  9059. * automake.in ($output_directory): Remove, it's unconditionally
  9060. defined to `.' and used only ...
  9061. (generate_makefile): ... in this subroutine, which now has been
  9062. edited and simplified accordingly.
  9063. Remove obsolete automake option `--output-directory'.
  9064. This option has been deprecated since version 1.7 (2002/2003).
  9065. * automake.in ($output_directory): Define to `.' unconditionally.
  9066. (parse_arguments): Remove handling of equivalent options `-o' and
  9067. `--output-directory'.
  9068. * tests/outdir.test: Removed.
  9069. * tests/no-outdir-option.test: New test.
  9070. * tests/Makefile.am (TESTS): Updated.
  9071. * NEWS: Updated.
  9072. 2010-11-19 Stefano Lattarini <stefano.lattarini@gmail.com>
  9073. Automake::Config: remove extra trailing semicolon.
  9074. * lib/Automake/Config.in: Remove extra trailing semicolon.
  9075. help4.test: fix botched heading comment.
  9076. * tests/help4.test: Fixed the heading comment, since it
  9077. didn't correctly describe what checks the testcase was
  9078. supposed to perform.
  9079. help2.test: add checks on aclocal too.
  9080. * tests/help2.test: Check that also `aclocal --version' and
  9081. `aclocal --help' work with configure.in and acinclude.m4 both
  9082. broken.
  9083. 2010-11-19 Stefano Lattarini <stefano.lattarini@gmail.com>
  9084. New test on repeated automake options.
  9085. * tests/repeated-options.test: New test, check that automake
  9086. does not complain on repeated options, nor generate broken or
  9087. incorrect makefiles.
  9088. * tests/Makefile.am (TESTS): Updated.
  9089. 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
  9090. Fix spurious failures of silent-rules tests with Sun Fortran.
  9091. * tests/silentf77.test: Strip from the make output some verbose
  9092. messages possibly printed by the SunStudio fortran compilers, to
  9093. avoid spurious failures. Add a trailing `:' command.
  9094. * tests/silentf90.test: Likewise.
  9095. 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
  9096. Fix spurious failures of silent5.test with Sun Fortran.
  9097. * tests/silent5.test: Strip from the make output some verbose
  9098. messages possibly printed by the SunStudio fortran compilers,
  9099. to avoid spurious failures. This bug has been there from the
  9100. very first version of this test script.
  9101. 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
  9102. Fix regression in colon{5,6}.test (failures on AIX 5.3).
  9103. * tests/colon5.test: Also substitute `@SHELL@' with `$SHELL' when
  9104. post-processing the generated Makefile.in, to work around a bug
  9105. of AIX 5.3 make which doesn't allow setting the `$(SHELL)' macro
  9106. on the commend line. Calls to `$MAKE' adjusted accordingly.
  9107. * tests/colon6.test: Likewise.
  9108. Regression introduced in commit v1.11-175-gf9fe878 "Modernize,
  9109. improve and/or extend tests `colon*.test", and reported by Ralf
  9110. Wildenhues.
  9111. 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
  9112. Fix regression in ansi.test (failure on AIX 5.3).
  9113. * tests/ansi.test: Remove redundant hackish check done using a
  9114. hand-postprocessed Makefile.in. This check worked by setting
  9115. the `$(SHELL)' macro on the command line of make, but this is
  9116. not supported by the AIX 5.3 make implementation.
  9117. This bug has been lurking for a long time, and was activated by
  9118. commit v1.11-125-gc1f6cdb "Enable `errexit' shell flag in various
  9119. tests". Report by Ralf Wildenhues.
  9120. 2010-11-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9121. backcompat5.test: avoid '##'-style comments inside recipe commands.
  9122. * tests/backcompat5.test: Remove double-hash comments
  9123. from makefile rule commands, they are not part of the
  9124. Automake API. Fixes testsuite failure with Tru64 make.
  9125. tests: avoid '##'-style comments inside recipe commands.
  9126. * tests/confh.test, tests/confh8.test: Remove
  9127. double-hash comments from makefile rule commands, they
  9128. are not part of the Automake API.
  9129. 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9130. tests: work around dash quoting issue in case statements.
  9131. * tests/color.test, tests/color2.test: Quote variable in case
  9132. pattern, to avoid skipping tests with dash 0.5.5.1.
  9133. 2010-11-16 Peter Rosin <peda@lysator.liu.se>
  9134. Skip MSVC oriented tests if the shell is not capable.
  9135. * tests/defs: New required entry 'xsi-shell'.
  9136. * tests/ar-lib.test, tests/compile3.test, tests/compile6.test:
  9137. Require a XSI capable shell.
  9138. Reported by Ralf Wildenhues.
  9139. 2010-11-15 Peter Rosin <peda@lysator.liu.se>
  9140. compile: clear the `eat' variable earlier.
  9141. * lib/compile: Clear the `eat' variable earlier.
  9142. ($scriptversion): Update.
  9143. * tests/compile3.test: Prevent regressions.
  9144. 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9145. More stable configure output from sanity check.
  9146. * m4/sanity.m4 (AM_SANITY_CHECK): Always print check line
  9147. about ensuring newer files, even if we don't actually need
  9148. to wait any more.
  9149. 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9150. Rebuild menus in the manual.
  9151. * doc/automake.texi: Rebuild menus (using ^C ^U ^A in emacs).
  9152. Thanks to Ian Lance Taylor for the suggestion.
  9153. Fix install-strip when $(STRIP) contains several words.
  9154. * lib/am/install.am (install-strip): Update comment. Use
  9155. separate sub-make invocations for empty and nonempty $(STRIP),
  9156. to fix quoting issues.
  9157. * tests/strip2.test, tests/strip3.test: New tests.
  9158. * tests/Makefile.am (TESTS): Adjust.
  9159. 2010-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9160. Fix yaccdry.test failure: require bison.
  9161. * tests/yaccdry.test: Require bison.
  9162. Found by NixOS Hydra.
  9163. 2010-11-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  9164. Fix bug in test `backcompat6.test' (MSYS portability).
  9165. * tests/backcompat6.test (Makefile.am): Grep the output from the
  9166. test program, rather than diffing it, to avoid spurious failures
  9167. on MinGW/MSYS due to LF vs. CRLF line endings.
  9168. Reported by Ralf Wildenhues.
  9169. 2010-11-13 Stefano Lattarini <stefano.lattarini@gmail.com>
  9170. Deprecate obsolete macro AM_WITH_REGEX.
  9171. * m4/regex.m4: Document the `AM_WITH_REGEX' macro as obsolete,
  9172. and state that it should be removed two years from now.
  9173. (AM_WITH_REGEX): Raise an m4-time warning of the "obsolete"
  9174. category when this macro is used.
  9175. * doc/automake.texi (Public Macros): Move description of
  9176. `AM_WITH_REGEX' from here ...
  9177. (Obsolete Macros): ... to here, and declare it as obsolete
  9178. and "to be removed in a future version".
  9179. * tests/regex-obsolete.test: New test.
  9180. * tests/Makefile.am (TESTS): Update.
  9181. 2010-11-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  9182. Improve and extend tests on man pages support.
  9183. * tests/man.test: Enable `errexit' shell flag, and related changes.
  9184. Make grepping of generated Makefile.in slightly stricter.
  9185. * tests/man3.test: Add trailing `:' command.
  9186. * tests/man5.test: Prefer cat + here-doc over echo to append to
  9187. configure.in.
  9188. * tests/man2.test: Likewise, and add trailing `:' command.
  9189. * tests/man4.test: More thorough and consistent checking of make
  9190. error messages. Place fake `help2man' program in a new `bin'
  9191. directory rather than in `.'. Move the checks using the real
  9192. `help2man' program to ...
  9193. * tests/man6.test: ... this new test, and extend them. This test
  9194. passes with GNU make and Solaris make, still fails with BSD make.
  9195. * tests/man7.test: New test, extracted from old man4.test, which
  9196. checks for a bug in maintainer-clean w.r.t. generated manpages.
  9197. * tests/man8.test: New test, extracted from old man4.test, which
  9198. checks for a bug in distcheck w.r.t. generated manpages. Passes
  9199. with GNU make and Solaris make, still fails with BSD make.
  9200. 2010-11-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  9201. Minor improvements and extensions to various tests.
  9202. * tests/defun.test: Also run autoconf and grep the generated
  9203. configure to make sure that aclocal truly picks up all the
  9204. required macros.
  9205. * tests/compile_f_c_cxx.test: Prefer trailing `:' over trailing
  9206. `Exit 0'. Do not create useless dummy source files. Do not set
  9207. useless `$(foo_LDADD)' variable in `Makefile.am'. Do not call
  9208. useless macro `AC_F77_LIBRARY_LDFLAGS' in `configure.in'.
  9209. * tests/compile_f90_c_cxx.test: Likewise.
  9210. * tests/suffix10.test: Slightly stricter grepping of make output.
  9211. * tests/compile.test: Add trailing `:' command.
  9212. * tests/defun2.test: Likewise.
  9213. * tests/vars3.test: Likewise.
  9214. * tests/vartar.test: Likewise.
  9215. * tests/vars.test: Likewise. Also, extend test by checking
  9216. that the definition of `MY_FLAGS*' variables is preserved in
  9217. the generated `Makefile.in'.
  9218. * tests/stamph2.test: Prefer trailing `:' over trailing `Exit 0'.
  9219. Use proper m4 quoting in `configure.in'.
  9220. 2010-11-11 Stefano Lattarini <stefano.lattarini@gmail.com>
  9221. Tests defs: improve messages for skipped tests.
  9222. * tests/defs: Give meaningful messages about the reasons of a
  9223. test skip; this is especially useful as this file is run without
  9224. verbose xtraces on. Related reorderings in the code and new
  9225. comments.
  9226. 2010-11-10 Stefano Lattarini <stefano.lattarini@gmail.com>
  9227. Tests defs: move static definitions in a new file `defs-static'.
  9228. The new file is meant to be idempotent w.r.t. multiple inclusions.
  9229. * tests/defs.in: Removed, its contents split among ...
  9230. * tests/defs-static.in: ... this new file ...
  9231. * tests/defs: ... and this new file, including the former.
  9232. * configure.ac (AC_CONFIG_FILES): Remove `tests/defs', add
  9233. `tests/defs-static'.
  9234. (AC_CONFIG_LINKS): Add `tests/defs'.
  9235. * tests/Makefile.am ($(parallel_tests)): Update.
  9236. ($(instspc_tests)): Likewise.
  9237. * tests/.gitignore: Update.
  9238. Tests defs: $testsbuilddir is now AC_SUBST'ed.
  9239. * tests/defs.in ($testsbuilddir): Substitute from @abs_builddir@.
  9240. Add sanity check on $testsbuilddir, similar to those on
  9241. $testsrcdir and $top_testsrcdir.
  9242. Tests defs: do not print message "Running test $0" anymore.
  9243. * tests/defs.in: Printing the message "=== Running test $0" at
  9244. the beginning of each tests made sense when Automake used the old
  9245. test-driver, which sent all the output directly to stdout/stderr.
  9246. Now that the parallel test-driver is used, which saves output of
  9247. each test in its corresponding log file, that old message is just
  9248. useless noise.
  9249. Tests defs: rename $curdir -> $testbuilddir
  9250. * tests/defs.in: Rename $curdir to $testbuildir, for clarity and
  9251. consistency with $testsrcdir and $top_testsrcdir.
  9252. Tests defs: prefer "$curdir" over "`pwd`".
  9253. * tests/defs.in: We already save the value of `pwd` in $curdir
  9254. early in the file, so there no need to recalculate it later, when
  9255. the current working directory is not changed.
  9256. Tests defs: use `$me' in more error messages.
  9257. * tests/defs.in: Also use `$me' in error messages referring to
  9258. missing `defs' or `defs.in', since that variable is now defined
  9259. before those checks.
  9260. Tests defs: do not use `Exit' where plain `exit' suffices.
  9261. * tests/defs.in: Use "exit 77" rather than "Exit 77" to skip the
  9262. test when required libtool/gettext macros are not found, since
  9263. such skips would take place before the exit trap is installed.
  9264. Tests defs: improve and extends comments.
  9265. * tests/defs.in: Improve and extends some comments, especially in
  9266. relation with the changes introduced by the previous reordering.
  9267. Tests defs: various reorderings.
  9268. * tests/defs.in: Reordered various snippets of code in a
  9269. clearer way.
  9270. 2010-11-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  9271. Fix bug in test `backcompat4.test' (stale autom4te cache).
  9272. * tests/backcompat4.test: Remove stale autom4te cache directory
  9273. before re-running aclocal and automake. Also, since we are at
  9274. it, be more verbose in displaying contents of generated files,
  9275. to ease debuggability.
  9276. Reported by Ralf Wildenhues.
  9277. 2010-11-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  9278. Fix a bug in variable concatenation with `+='.
  9279. * lib/Automake/VarDef.pm (append): Since the content of the
  9280. "appended-to" variable is going to be unconditionally normalized
  9281. later, simply separate the appended value with a single whitespace
  9282. character, instead of trying to be uselessly smarter by using
  9283. escaped newlines. This fixes a bug in which extra backslashes
  9284. where erroneously inserted in the variable's final value.
  9285. * tests/pluseq11.test: New test, exposing the bug.
  9286. * tests/Makefile.am (TESTS): Update.
  9287. Reported by Andy Wingo.
  9288. 2010-11-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  9289. Modernize, improve and/or tweak various test scripts.
  9290. * tests/stamph2.test: Improve m4 quoting in `configure.in', and
  9291. prefer trailing `:' over trailing `Exit 0'.
  9292. * tests/syntax.test: Escape literal dots in grep regexps.
  9293. * tests/copy.test: Enable `errexit' shell flag. Extend test by
  9294. checking with `test' utility that the script `install-sh' is
  9295. copied, but not symlinked.
  9296. * tests/depdist.test: Move setting of `errexit' shell flag earlier
  9297. in the script (just after inclusion of ./defs). Avoid obsoleted
  9298. constructs in generated `configure.in'. Prefer to do our checks
  9299. by running configure and make over grepping Makefile.in.
  9300. * tests/target-cflags: Move setting of `errexit' shell flag
  9301. earlier in the script (just after inclusion of ./defs). Use the
  9302. `configure.in' stub created by `./defs', rather than writing it
  9303. from scratch.
  9304. * tests/target-clash: Do not uselessly run autoconf.
  9305. * tests/ctarget1.test: Renamed ...
  9306. * tests/cond-basic.test: ... to this. Use the `configure.in' stub
  9307. created by `./defs', rather than writing it from scratch.
  9308. Move setting of `errexit' shell flag earlier in the script (just
  9309. after inclusion of ./defs). Other minor cosmetic changes.
  9310. * tests/Makefile.am (TESTS): Updated.
  9311. 2010-11-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  9312. New tests on obsoleted usages of automake/autoconf macros (such
  9313. as AC_INIT, AM_INIT_AUTOMAKE and AC_OUTPUT).
  9314. * tests/backcompat.test: New test script.
  9315. * tests/backcompat2.test: Likewise.
  9316. * tests/backcompat3.test: Likewise.
  9317. * tests/backcompat4.test: Likewise.
  9318. * tests/backcompat5.test: Likewise.
  9319. * tests/backcompat6.test: Likewise.
  9320. * tests/init.test: Extended and improved, esp. by trying more
  9321. combinations of calls to AC_INIT and AM_INIT_AUTOMAKE with few
  9322. arguments.
  9323. * tests/Makefile.am (TESTS): Updated.
  9324. 2010-11-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  9325. Fix bug in rules for creating vala vapi/header files.
  9326. * automake.in (lang_vala_finish_target): Add forgotten "fi" in an
  9327. if control structure in a generated make rules. Bug introduced
  9328. by previous commit `v1.11-221-gd7c1679', and revealed by failure
  9329. of test `vala2.test'.
  9330. 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9331. Fix and document rules to not touch the tree with `make -n'.
  9332. * doc/automake.texi (Multiple Outputs): Document the problem of
  9333. modifications during dry-run execution, propose solution.
  9334. * NEWS: Update.
  9335. * automake.in (lang_vala_finish_target): Split recipe so the
  9336. stamp file is not removed with GNU `make -n'.
  9337. (lang_yacc_target_hook): Separate removal of parser output file
  9338. and header remaking.
  9339. * lib/am/lisp.am ($(am__ELCFILES)): Determine whether -n was
  9340. passed to make, take care not to remove any files in that case.
  9341. * lib/am/remake-hdr.am (%CONFIG_H%): Separate removal of
  9342. %STAMP% file from induced remaking of config header.
  9343. * tests/autohdrdry.test, tests/lispdry.test, tests/yaccdry.test:
  9344. New tests.
  9345. * tests/Makefile.am (TESTS): Update.
  9346. 2010-11-05 Stefano Lattarini <stefano.lattarini@gmail.com>
  9347. Fix potential bug in generated tests `instpc-*.test'.
  9348. This bug is due to the changes introduced by the recently-merged
  9349. "tests-init" branch. In that branch, `tests/defs' didn't define
  9350. anymore `$srcdir', instead defining directly `$testsrcdir'; but
  9351. the generated tests were using `$srcdir', hence the bug.
  9352. Luckily, since the Automake parallel test driver automatically
  9353. exports `srcdir' to a proper value, that prevented the bug from
  9354. manifesting itself.
  9355. * tests/Makefile.am ($(instspc_tests)): In the generated test
  9356. scripts, use `$testsrcdir', not `$srcdir'.
  9357. 2010-11-03 Stefano Lattarini <stefano.lattarini@gmail.com>
  9358. Overhauled and modularized tests in `instspc.test'.
  9359. The test `instspc.test' was way too big and fragile. Its running
  9360. time was very long. It also produced a log that was nearly
  9361. unreadable due to its length, making it very difficult to find
  9362. out the reason for failures.
  9363. Also, it was too much monolithic, with a single (maybe spurious)
  9364. failure in a corner case causing the whole test to fail (even if
  9365. everything worked as expected in the other 99% of cases).
  9366. The present change should solve these problems, by separating
  9367. `instspc.test' into many smaller, self-contained, auto-generated
  9368. tests.
  9369. * tests/instspc.test: Removed.
  9370. * tests/instspc-tests.sh: New script, fulfilling a double role:
  9371. 1. it generates a Makefile.am snippet `tests/instspc-tests.am',
  9372. containing the definition of a list of new tests which will take
  9373. over the older `instspc.test', and
  9374. 2. it is sourced by said generated tests with proper parameters
  9375. pre-set, to run the "meat" of the checks.
  9376. This apparent abuse is indeed required because the test generation
  9377. code and test execution code are inevitably intertwined.
  9378. * tests/Makefile.am ($(srcdir)/instspc-tests.am): Include this
  9379. snippet, which (among the other things) defines ...
  9380. (instspc_tests): ... this new macro, containing the list of the
  9381. newly generated `instspc*.test' tests, and ...
  9382. (instspc_xfail_tests): ... this new macro, containing the list
  9383. of the `instspc*.test' tests expected to fail.
  9384. ($(instspc_tests)): New rule, generates the `instspc*.test' tests.
  9385. ($(instspc_tests:.test=.log)): New rule, registers the dependency
  9386. of all `instspc*.test' tests on the `instspc-tests.sh' script.
  9387. (TESTS): Add `$(instspc_tests)', remove `instspc.test'.
  9388. (XFAIL_TESTS): Add `$(xfail_instspc_tests)'.
  9389. (EXTRA_DIST): Distribute instspc-tests.sh.
  9390. (MAINTAINERCLEANFILES): Added $(instspc_tests).
  9391. Other minor cosmetic changes.
  9392. * bootstrap: Generate instspc-tests.am.
  9393. * tests/.gitignore: Updated.
  9394. 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9395. Add FAQ entry for bug reporting instructions.
  9396. * doc/automake.texi (Reporting Bugs): New section.
  9397. (Introduction): Refer to it.
  9398. 2010-10-07 Peter Rosin <peda@lysator.liu.se>
  9399. depcomp: add new one-pass depmode for MSVC 7 and later.
  9400. * lib/depcomp: Add new depmodes 'msvc7' and 'msvc7msys' which
  9401. make use of the -showIncludes option added in MSVC 7.
  9402. * m4/depend.m4 (_AM_DEPENDENCIES): Handle the new depmodes
  9403. similarly to 'msvisualcpp' and 'msvcmsys' as MSVC does not
  9404. support the -o option.
  9405. 2010-10-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  9406. Add support for newer python versions.
  9407. * m4/python.m4 (AM_PATH_PYTHON): Add python2.7 and python3.2 to
  9408. _AM_PYTHON_INTERPRETER_LIST. Since we are at it, break a long
  9409. line and fix indentation.
  9410. * THANKS: Updated.
  9411. From a report by Thomas Klausner.
  9412. Add test for `AM_WITH_DMALLOC' macro.
  9413. * tests/dmalloc.test: New test.
  9414. * tests/Makefile.am (TESTS): Update.
  9415. Fix nits and bugs in tests `help*.test'.
  9416. * tests/help4.test: Fix broken sed commands used to strip `-W...'
  9417. flags away from "$AUTOMAKE" and "$ACLOCAL".
  9418. * tests/help3.test: Likewise, and fix a botched comment.
  9419. * tests/help.test: Likewise. Also, use "AUTOMAKE_fails ..."
  9420. instead of "$AUTOMAKE ... && Exit 1", for consistency and to
  9421. please maintainer-check.
  9422. * tests/help2.test: Likewise.
  9423. 2010-10-03 Stefano Lattarini <stefano.lattarini@gmail.com>
  9424. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9425. Improve tests `help*.test' (also fixes maintcheck failures).
  9426. * tests/help.test: To run automake, use `$AUTOMAKE' with all `-W'
  9427. flags stripped away rather than hard-coded `automake-$APIVERSION',
  9428. to better honour user-overrides. Similarly for aclocal.
  9429. * tests/help2.test: Likewise.
  9430. * tests/help3.test: Likewise.
  9431. * tests/help4.test: Likewise.
  9432. 2010-10-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9433. tests: fix ar-lib.test for echo that interprets backslashes.
  9434. * tests/ar-lib.test: Use printf instead of echo. Avoid test -a.
  9435. More robust quoting.
  9436. 2010-10-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9437. maintainer-check coverage for variables before rules.
  9438. * Makefile.am (sc_ensure_testsuite_has_run): Suggest keeping
  9439. around the test directories.
  9440. (sc_tests_makefile_variable_order): New rule with a heuristic to
  9441. catch ordering violations.
  9442. Document and fix expansion of variables before rules.
  9443. * doc/automake.texi (General Operation): Document that variables
  9444. are expanded before rules.
  9445. * lib/am/check.am (am__check_post): Reword a bit so it does not
  9446. get matched as a rule.
  9447. Suggestion by Ben Pfaff.
  9448. 2010-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9449. Coverage and minor fixes for variable typo detection.
  9450. * automake.in (check_typos): Remove `EXTRA_' prefix when
  9451. computing canonical name.
  9452. * tests/vartypo2.test, tests/vartypos.test: New tests.
  9453. * tests/Makefile.am (TESTS): Update.
  9454. Implement EXTRA_maude_DEPENDENCIES for programs and libraries.
  9455. * automake.in (handle_programs, handle_libraries)
  9456. (handle_ltlibraries): Mark EXTRA_*_DEPENDENCIES as recognized.
  9457. * doc/automake.texi (Linking, Program and Library Variables)
  9458. (LIBOBJS): Document EXTRA_*_DEPENDENCIES.
  9459. * lib/am/library.am (%LIBRARY%): Also depend on
  9460. $(EXTRA_%XLIBRARY%_DEPENDENCIES).
  9461. * lib/am/ltlibrary.am (%LTLIBRARY%): Also depend on
  9462. (%XLTLIBRARY%_DEPENDENCIES).
  9463. * lib/am/program.am (%PROGRAM%%EXEEXT%): Also depend on
  9464. $(EXTRA_%XPROGRAM%_DEPENDENCIES).
  9465. * tests/extradep.test, tests/extradep2.test: New tests.
  9466. * tests/Makefile.am (TESTS): Update.
  9467. * NEWS: Update.
  9468. Suggested by Eric Blake.
  9469. tests: avoid running into timing issues due to sanity change.
  9470. * tests/acloca10.test, tests/acloca18.test, tests/aclocal9.test:
  9471. Insert strategic sleep before aclocal reruns, to ensure files
  9472. are newer.
  9473. * tests/python11.test: Use --force for repeated autotools runs.
  9474. Reports from the NixOS Hydra build daemon via Ludovic Courtès.
  9475. Fix timestamp issues by ensuring configure takes at least a second.
  9476. * m4/sanity.m4 (AM_SANITY_CHECK): If we didn't sleep here,
  9477. start a sleep in the background and wait for it to finish
  9478. before creating config.status, hopefully fixing all spurious
  9479. testsuite failures involving botched time stamps.
  9480. * NEWS: Update.
  9481. Reports by Ludovic Courtès, Peter Breitenlohner, and others.
  9482. 2010-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9483. Revert "parallel-tests: avoid command-line length limit issue."
  9484. This reverts commit 24e3b4ee2f8cb9f72dd94a05a893f3d4e88b7835,
  9485. because it re-opened the bug fixed by v1.11-10-g218e678.
  9486. 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9487. parallel-tests: avoid command-line length limit issue.
  9488. * automake.in (handle_tests): New argument $makefile, new
  9489. substitution %MAKEFILE%.
  9490. (generate_makefile): Adjust.
  9491. * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
  9492. sanitized TEST_LOGS value as makefile snippet on standard
  9493. input to $(MAKE), to avoid exceeding the command line limit on
  9494. w32 (MSYS).
  9495. * NEWS: Update.
  9496. Report by Bob Friesenhahn.
  9497. 2010-09-26 Stefano Lattarini <stefano.lattarini@gmail.com>
  9498. Extend tests on `--help' and `--version' options.
  9499. * tests/help.test: Create a new empty directory and chdir into
  9500. it, rather than removing already present files. Run the aclocal
  9501. and automake wrapper scripts directly, instead of relying on
  9502. $AUTOMAKE and $ACLOCAL. Be sure to correctly match literal dots
  9503. in aclocal's and automake's stderr. Add a trailing `:' command.
  9504. * tests/help2.test: New test, checking that options `--help' and
  9505. `--version' works in directories with broken `configure.in'.
  9506. * tests/help3.test: New test, checking that options `--help' and
  9507. `--version' take precedence on the other options.
  9508. * tests/help4.test: New test, checking that the first among the
  9509. `--help' and `--version' options to be specified on the command
  9510. line wins.
  9511. * tests/Makefile.am (TESTS): Updated.
  9512. 2010-09-25 Stefano Lattarini <stefano.lattarini@gmail.com>
  9513. Testsuite: Use `$PATH_SEPARATOR', not `:', when extending PATH.
  9514. * tests/compile2.test: Do no uselessly (implicitly) repeat the
  9515. computation of PATH_SEPARATOR again.
  9516. * tests/instmany-mans.test: Use `$PATH_SEPARATOR', not `:', when
  9517. extending/redefining PATH.
  9518. * tests/instmany-python.test: Likewise.
  9519. * tests/instmany.test: Likewise.
  9520. * tests/man4.test: Likewise.
  9521. * tests/mkinst3.test: Likewise.
  9522. * tests/mmodely.test: Likewise.
  9523. * tests/multlib.test: Likewise.
  9524. * tests/txinfo30.test: Likewise.
  9525. * tests/README (Section "Writing test cases" subsection "Do"):
  9526. Updated.
  9527. * Makefile.am (sc_tests_PATH_SEPARATOR): New maintainer check.
  9528. (syntax_check_rules): Updated.
  9529. Testsuite: new variables `$PATH_SEPARATOR' and `$APIVERSION'.
  9530. * tests/defs.in ($APIVERSION): New AC_SUBST'd variable.
  9531. ($ACLOCAL, $AUTOMAKE): Use it.
  9532. ($PATH_SEPARATOR): New AC_SUBST'd variables.
  9533. ($PATH): Use it.
  9534. 2010-09-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  9535. Manual: be more agnostic w.r.t. version control system used.
  9536. * doc/automake.texi (Basics of Distribution): Also refer to `.svn'
  9537. directories as a type of probably-unwanted files that are copied
  9538. regardless when adding directories to EXTRA_DIST.
  9539. (The dist Hook): Show a dist-hook example which removes Subversion
  9540. `.svn' private directories from distdir, rather than CVS private
  9541. directories.
  9542. (missing and AM_MAINTAINER_MODE): Try to be more agnostic w.r.t.
  9543. the version control system used.
  9544. Manual: index refer to target "git-dist", not "cvs-dist".
  9545. * doc/automake.texi (General Operation): Index the non-standard
  9546. example about "git-dist" under the "git-dist" label, not under
  9547. the "cvs-dist" one.
  9548. Perl modules: remove references to "Automake CVS repository".
  9549. * lib/Automake/Channels.pm: Update comments to refer to "Automke's
  9550. git repository" rather than to "Automake's CVS repository".
  9551. * lib/Automake/Configure_ac.pm: Likewise.
  9552. * lib/Automake/FileUtils.pm: Likewise.
  9553. * lib/Automake/Struct.pm: Likewise.
  9554. * lib/Automake/XFile.pm: Likewise.
  9555. * lib/Automake/Version.pm (=head1 DESCRIPTION): Refer to "git
  9556. branches" rather than "CVS branches".
  9557. Remove obsolete .cvsignore files.
  9558. * .cvsignore, doc/.cvsignore, lib/.cvsignore, lib/am/.cvsignore,
  9559. lib/Automake/.cvsignore, lib/Automake/tests/.cvsignore,
  9560. m4/.cvsignore, tests/.cvsignore: Files deleted. Even when using
  9561. savannah's CVS readonly mirror there's no way to commit back to
  9562. the real repository, so this files are not worth maintaining or
  9563. keeping around.
  9564. 2010-09-21 Stefano Lattarini <stefano.lattarini@gmail.com>
  9565. * m4/dmalloc.m4: Bump serial number and copyright years.
  9566. 2010-09-20 Stefano Lattarini <stefano.lattarini@gmail.com>
  9567. Fix broken link in `AM_WITH_DMALLOC' help screen.
  9568. * m4/dmalloc.m4 (AM_WITH_DMALLOC): Refer only to the dmalloc site
  9569. `http://www.dmalloc.com', not to the dmalloc tarball there (which
  9570. seems to have been removed, substituted by multiple release
  9571. tarballs now).
  9572. 2010-09-21 Peter Rosin <peda@lysator.liu.se>
  9573. compile: implement library search to support MSVC static linking
  9574. * lib/compile (func_cl_wrapper): Implement library search and
  9575. -static option so that the user can select whether to prefer
  9576. dll import libraries or static libraries. This enables MSVC to
  9577. link against dlls generated by libtool without requiring libtool
  9578. or workarounds such as -lfoo.dll etc. Makes the tests/static.at
  9579. test case in libtool pass.
  9580. * tests/compile3.test: Don't trip up if there happens to exist
  9581. a "foo" library in the library search path.
  9582. * tests/compile6.test: New test, verifying the library search.
  9583. * tests/Makefile.am (TESTS): Update.
  9584. 2010-09-17 Eric Blake <eblake@redhat.com>
  9585. Avoid triple-space after period.
  9586. * automake.in (handle_single_transform): Avoid 3 spaces at
  9587. sentence end.
  9588. * ChangeLog.03: Likewise.
  9589. * lib/Automake/ChannelDefs.pm: Likewise.
  9590. * lib/Automake/Channels.pm (_print_message): Likewise.
  9591. * lib/Automake/Rule.pm (rule): Likewise.
  9592. * lib/Automake/Variable.pm (var): Likewise.
  9593. * lib/am/distdir.am: Likewise.
  9594. * tests/insthook.test: Likewise.
  9595. 2010-09-15 Stefano Lattarini <stefano.lattarini@gmail.com>
  9596. Test automake-generated portions of configure help screen.
  9597. * tests/help-depend.test: New test.
  9598. * tests/help-depend2.test: Likewise.
  9599. * tests/help-dmalloc.test: Likewise.
  9600. * tests/help-init.test: Likewise.
  9601. * tests/help-lispdir.test: Likewise.
  9602. * tests/help-maintainer.test: Likewise.
  9603. * tests/help-multilib.test: Likewise.
  9604. * tests/help-regex.test: Likewise.
  9605. * tests/help-silent.test: Likewise.
  9606. * tests/help-upc.test: Likewise.
  9607. * tests/mmode.test: Remove tests on `configure --help' output,
  9608. they are superseded by tests in `help-maintainer.test'.
  9609. * tests/Makefile.am (TESTS): Update.
  9610. 2010-09-14 Stefano Lattarini <stefano.lattarini@gmail.com>
  9611. * tests/README: Don't put GCS mandated tools in $required.
  9612. 2010-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9613. * HACKING: Hint at old commits with `git describe' output.
  9614. 2010-09-14 Stefano Lattarini <stefano.lattarini@gmail.com>
  9615. Prefer `$(am__cd)' to plain `cd' in our Makefiles.
  9616. * Makefile.am (recheck, dist-hook, git-dist, path-check, fetch)
  9617. (release-stats): Use `$(am__cd)' rather than plain `cd'.
  9618. * tests/Makefile.am ($(srcdir)/parallel-tests.am): Likewise.
  9619. 2010-09-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  9620. Fix regression in test `colon4.test'.
  9621. * tests/colon4.test: Fix botched editing to `configure.in'
  9622. that made the test useless. Since we are at it, improve
  9623. comments and make grepping of generated Makefile.in slightly
  9624. stricter.
  9625. Regression introduced by change "Modernize, improve and/or
  9626. extend tests `colon*.test" (Stefano Lattarini, 2010-08-08).
  9627. 2010-09-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  9628. Do not require "gzip" explicitly in tests.
  9629. The gzip utility is simply expected to be present on any decent
  9630. target system for Automake. So it's pointless to put it in
  9631. $required.
  9632. * tests/install2.test ($required): Do not require "gzip".
  9633. * tests/lex3.test: Likewise.
  9634. * tests/pr9.test: Likewise.
  9635. From a suggestion by Ralf Wildenhues.
  9636. 2010-09-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  9637. Use AS_HELP_STRING in AM_SILENT_RULES.
  9638. * m4/silent.m4 (AM_SILENT_RULES): Use `AS_HELP_STRING' to format
  9639. help message regarding configure options `--enable-silent-rules'
  9640. and `--disable-silent-rules'. Also throw in a couple of cosmetic
  9641. changes in the related `case' statement (indentation, balancing
  9642. of parentheses).
  9643. * THANKS: Update.
  9644. From a report by Jeff A. Daily.
  9645. 2010-09-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  9646. Make some `confh*.test' tests more "semantic" (plus tweakings).
  9647. * tests/confh.test: Run "autoconf", "configure" and "make check",
  9648. instead of munging/grepping the generated `Makefile.in'.
  9649. * tests/confh4.test: Relax the grepping of Makefile.in w.r.t.
  9650. white spaces. Do not create useless dummy source file `foo.c'
  9651. and useless dummy header file `acconfig.h'.
  9652. (configure.in): Remove superfluous call to `AC_OUTPUT'.
  9653. * tests/confh6.test: Add trailing `:' command.
  9654. * tests/confh7.test: In comments, add reference to ...
  9655. * tests/confh8.test: ... this new test, "semantic" sister
  9656. of `confh7.test'.
  9657. * tests/Makefile.am (TESTS): Updated.
  9658. Prompted by a report from Ralf Wildenhues.
  9659. 2010-09-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  9660. Remove useless whitespace padding in XFAIL_TESTS definition.
  9661. * tests/Makefile.am (XFAIL_TESTS): Remove whitespace padding.
  9662. 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9663. parallel-tests: avoid command-line length limit issue.
  9664. * automake.in (handle_tests): New argument $makefile, new
  9665. substitution %MAKEFILE%.
  9666. (generate_makefile): Adjust.
  9667. * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
  9668. sanitized TEST_LOGS value as makefile snippet on standard
  9669. input to $(MAKE), to avoid exceeding the command line limit on
  9670. w32 (MSYS).
  9671. * NEWS: Update.
  9672. Report by Bob Friesenhahn.
  9673. Posix 2008 requires make to set errexit.
  9674. * lib/am/check.am: Update comment.
  9675. 2010-09-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  9676. Tests defs: remove variable $testaclocaldir.
  9677. * tests/defs.in ($testaclocaldir): Removed.
  9678. * tests/aclocal.test: Use `$top_testsrcdir/m4' directly, not
  9679. `$testaclocaldir'.
  9680. Tests defs: $srcdir and $top_srcdir renaming.
  9681. * tests/defs.in ($srcdir): Remove, define $testsrcdir directly.
  9682. * tests/Makefile.am ($(parallel_tests)): Generation of derived
  9683. tests updated.
  9684. Tests defs: new variable $top_testsrcdir.
  9685. * tests/defs.in ($top_testsrcdir): Define unconditionally
  9686. to @abs_top_srcdir@. Use it throughout.
  9687. * tests/ar-lib.test: Use `$top_testsrcdir' instead of
  9688. `$testsrcdir/..'.
  9689. * tests/auxdir.test: Likewise.
  9690. * tests/compile.test: Likewise.
  9691. * tests/compile2.test: Likewise.
  9692. * tests/compile3.test: Likewise.
  9693. * tests/compile5.test: Likewise.
  9694. * tests/mdate6.test: Likewise.
  9695. * tests/mkinst3.test: Likewise.
  9696. * tests/multlib.test: Likewise.
  9697. * tests/txinfo22.test: Likewise.
  9698. Tests defs: $srcdir is unconditionally substituted.
  9699. * tests/defs.in ($srcdir): Define unconditionally to @abs_srcdir@.
  9700. Remove code for $srcdir normalization, which is now useless.
  9701. 2010-09-02 Stefano Lattarini <stefano.lattarini@gmail.com>
  9702. Tests defs: make spacing more consistent.
  9703. * tests/defs.in: Make spacing more consistent in indentation.
  9704. Especially, indent using only spaces, not tabs. Also, move
  9705. a comment to a better position.
  9706. Improve code for requiring libtool and gettext in tests.
  9707. * tests/defs.in: Stricter (and more correct) detection of wheter
  9708. libtool, libtoolize and/or gettext are in $required.
  9709. 2010-08-27 Stefano Lattarini <stefano.lattarini@gmail.com>
  9710. Fix bug in test missing6.test.
  9711. * tests/missing6.test: Fix the hack used to edit `configure.in',
  9712. to avoid producing a configure script that breaks with shells
  9713. that do not support $LINENO. Also throw in a couple of cosmetic
  9714. changes.
  9715. 2010-09-02 Peter Rosin <peda@lysator.liu.se>
  9716. Make ar-lib support backslashed files in archives.
  9717. * lib/ar-lib: If an archive member contains a backslash, make sure
  9718. it is escaped when the archive member is extracted.
  9719. * tests/ar-lib.test: Test the above.
  9720. 2010-08-31 Peter Rosin <peda@lysator.liu.se>
  9721. Do file name conversion for object files in the compile wrapper.
  9722. * lib/compile (func_cl_wrapper): Do file name conversion for object
  9723. files (i.e. extensions .obj, .OBJ, .o and .O) if needed.
  9724. * tests/compile4.test: Test the above.
  9725. 2010-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9726. Speed up removal of auxiliary linker output files for ltlibraries.
  9727. * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Rewrite using just
  9728. one `rm' invocation.
  9729. Report by Bob Friesenhahn.
  9730. Improve robustness of mdate-sh script.
  9731. * lib/mdate-sh: Sanitize zsh behavior on startup, to ensure
  9732. $ls_command is word-split properly upon invocation.
  9733. (error): New function.
  9734. (main): Use it. Improve error checking to avoid endless loop
  9735. in case $ls_command gave bogus output. Fix eval quotation.
  9736. * tests/mdate6.test: New test, to expose eval quotation error.
  9737. * tests/Makefile.am: Update.
  9738. 2010-08-18 Stefano Lattarini <stefano.lattarini@gmail.com>
  9739. Fix potential regressions in depcomp{3,5}.test.
  9740. * tests/depcomp3.test: Do not uselessly escape the character `$'
  9741. in makefile rules, when it's used to expand a make macro.
  9742. * tests/depcomp5.test: Likewise.
  9743. 2010-08-17 Stefano Lattarini <stefano.lattarini@gmail.com>
  9744. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9745. Docs: clarify how to avoid automatic dependencies tracking.
  9746. * doc/automake.texi (Automatic dependency tracking): Mention that
  9747. automatic dependencies tracking is enabled by default, but that
  9748. the package developer can disable it altogether. Add a reference
  9749. to the proper section for a more in-depth explanation.
  9750. Fix typo in manual (`Makefile.in' instead of `Makefile.am').
  9751. * doc/automake.texi (Automatic dependency tracking): Fix typo.
  9752. 2010-08-16 Bruno Haible <bruno@clisp.org>
  9753. Don't hide the table of contents.
  9754. * doc/automake.texi: Move the table of contents to the beginning.
  9755. 2010-08-16 Peter Rosin <peda@lysator.liu.se>
  9756. Optimize compile script on MSYS.
  9757. * lib/compile (func_file_conv): Add new argument 'lazy' which
  9758. takes an optional list of conversion types where the requested
  9759. conversion isn't needed.
  9760. (func_cl_wrapper): Take advantage of the above for cases where
  9761. MSYS is doing the conversion for us.
  9762. Suggested by Ralf Wildenhues.
  9763. 2010-08-16 Peter Rosin <peda@lysator.liu.se>
  9764. Support more C++ file extensions for MSVC in the compile script.
  9765. * lib/compile (func_cl_wrapper): MSVC only recognizes the .cpp
  9766. file extension as C++, unless it's given a hint. So hint about
  9767. .cc, .CC, .cxx, .CXX, c++ and C++. Also do path conversion on
  9768. .c, .cpp, .CPP, .lib, .LIB and .Lib files.
  9769. * tests/compile3.test: Test the C++ hinting.
  9770. 2010-08-12 Peter Rosin <peda@lysator.liu.se>
  9771. Enable the use of "link -lib" as the wrapped archiver.
  9772. * lib/ar-lib: Enable the use of "link -lib" as the wrapped
  9773. archiver, as well as allowing some other options to be passed
  9774. through to the wrapped archiver.
  9775. * tests/ar-lib.test: Test the above.
  9776. 2010-08-10 Stefano Lattarini <stefano.lattarini@gmail.com>
  9777. Tweak and/or extend some `acloca*.test' tests.
  9778. * tests/aclocal8.test: Ensure verbose printing of captured
  9779. output.
  9780. * tests/aclocal.test: Likewise. Also, add trailing `:'
  9781. command.
  9782. * tests/acloca19.test: Likewise.
  9783. * tests/aclocal5.test: Add trailing `:' command, and prefer
  9784. `$me' over hard-coded test name.
  9785. * tests/aclocal6.test: Likewise.
  9786. * tests/aclocal18.test: Add trailing `:' command, and make
  9787. some grepping slightly stricter.
  9788. * tests/acloca14.test: Likewise. Also, prefer `diff' over
  9789. `cmp', and add some "cosmetic" blank lines.
  9790. 2010-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  9791. Tweak and extend tests `pr[!0-9]*.test'.
  9792. * tests/primary3.test: Add trailing `:' command.
  9793. * tests/primary.test: Make grepping of Automake's stderr stricter.
  9794. Also, add trailing `:' command, and cosmetic changes in spacing.
  9795. * tests/primary2.test: Likewise.
  9796. * tests/prefix.test: Enable `errexit' shell flags, and related
  9797. changes. Add a trailing `:' command.
  9798. * tests/proginst.test: Likewise.
  9799. Modernize, improve and extend tests for PR (`pr[0-9]*.test').
  9800. * tests/pr2.test: Add trailing `:' command.
  9801. * tests/pr229.test: Likewise.
  9802. * tests/pr401.test: Likewise.
  9803. * tests/pr401b.test: Likewise.
  9804. * tests/pr401c.test: Likewise.
  9805. * tests/pr300-prog.test: Likewise, plus cosmetic changes in
  9806. spacing.
  9807. * tests/pr300-lib.test: Likewise.
  9808. * tests/pr300-ltlib.test: Likewise, and ensure verbose printing
  9809. of captured make stdout.
  9810. * tests/pr211.test: Add trailing `:' command. Also, use the
  9811. `configure.in' stub created by ./defs, rather than writing it
  9812. from scratch.
  9813. * tests/pr204.test: Likewise, plus cosmetic spacing changes.
  9814. * tests/pr287.test: Likewise, and move setting of `errexit' shell
  9815. flag earlier in the script (just after inclusion of ./defs).
  9816. * tests/pr220.test: Make grepping of Automake's stderr stricter.
  9817. Also, add trailing `:' command, and cosmetic changes in spacing.
  9818. * tests/pr224.test: Move setting of `errexit' shell flag earlier
  9819. in the script (just after inclusion of ./defs). Do not export
  9820. `CC=gcc' to configure explicitly (it's already exported globally
  9821. in ./defs, since we have "gcc" in $required). Use the stub for
  9822. `configure.in' created by ./defs, rather than writing it from
  9823. scratch. Do not create dummy files required by "gnu" mode (e.g.
  9824. README, NEWS), since we run automake in foreign mode anyway.
  9825. * tests/pr72.test: Enable `errexit' shell flags, and related
  9826. changes. Extend existing checks a bit.
  9827. * tests/pr9.test: Likewise. Also, avoid obsolescent constructs in
  9828. the generated `configure.in', and extend existing checks over the
  9829. generated tarball a bit.
  9830. * tests/pr87.test: Enable `errexit' shell flags, and related
  9831. changes. Add a trailing `:' command. Also, do not create dummy
  9832. files required by "gnu" mode (e.g. README, NEWS), since we run
  9833. automake in foreign mode anyway.
  9834. * tests/pr243.test: Avoid obsolescent constructs in the generated
  9835. `configure.in'. Enable the `errexit' shell flag, and related
  9836. changes. Cosmetic changes to spacing, add trailing `:' command,
  9837. and add a "FIXME" comment.
  9838. * tests/pr266.test: Likewise, and add explicit command line switch
  9839. `--enable-dependency-tracking' to the ./configure call.
  9840. * tests/pr279.test: Avoid obsolescent constructs in the generated
  9841. `configure.in'; also, use the `configure.in' stub created by
  9842. ./defs, rather than writing it from scratch. Enable `errexit'
  9843. shell flag, and related changes. Add trailing `:' command.
  9844. * tests/pr279-2.test: Likewise, and make grepping of Makefile.in
  9845. stricter.
  9846. * tests/pr307.test: Move setting of `errexit' shell flag earlier
  9847. in the script (just after inclusion of ./defs). Escape literal
  9848. dots in grep regular expressions. Also, add a trailing `:'
  9849. command, and cosmetic changes to spacing.
  9850. Tests for PR: add excerpts from original bug report, for clarity.
  9851. * tests/pr2.test: Ditto.
  9852. * tests/pr9.test: Likewise.
  9853. * tests/pr72.test: Likewise.
  9854. * tests/pr87.test: Likewise.
  9855. * tests/pr211.test: Likewise.
  9856. * tests/pr220.test: Likewise.
  9857. * tests/pr224.test: Likewise.
  9858. * tests/pr229.test: Likewise.
  9859. * tests/pr243.test: Likewise.
  9860. * tests/pr266.test: Likewise.
  9861. * tests/pr279.test: Likewise, and tell to keep it in sync
  9862. with its sister test.
  9863. * tests/pr279-2.test: Likewise.
  9864. 2010-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  9865. Tweak, extend and improve tests `cond[a-z]*.test'.
  9866. * tests/condd.test: Add trailing `:' command. Typofix in
  9867. comment.
  9868. * tests/condhook.test: Make sure target `install-data-hook' is
  9869. not called by `make install', but that data files are installed.
  9870. Use proper m4 quoting in configure.in. Add trailing `:' command.
  9871. * tests/condhook2.test: New test, sister test of condhook, with
  9872. inverted semantic.
  9873. * tests/condinc2.test: Use proper m4 quoting in configure.in.
  9874. Prefer trailing `:' command over trailing `Exit 0'.
  9875. * tests/condman2.test: Enable errexit shell flag, and related
  9876. changes. Add trailing `:' command.
  9877. * tests/condman.test: Likewise. Also, do not create useless
  9878. dummy manpages, and use proper m4 quoting in configure.in.
  9879. * tests/condman3.test: New test, similar to condman.test, but
  9880. it also runs ./configure and "make install", and check the
  9881. installed files.
  9882. * tests/Makefile.am (TESTS): Updated.
  9883. Modernize, improve and/or extend tests `colon*.test.
  9884. * tests/colon.test: Rely on the `configure.in' stub created by
  9885. `./defs', rather than writing one from scratch. Do not create
  9886. a useless dummy file. Add trailing `:' command.
  9887. * tests/colon4.test: Enable the `errexit' shell flag, and
  9888. related changes. Rely on the `configure.in' stub created by
  9889. `./defs', rather than writing one from scratch.
  9890. * tests/colon7.test: Enable `errexit' shell flag, and related
  9891. changes. Improve the generated `configure.in' file. Add
  9892. trailing `:' command.
  9893. * tests/colon2.test: Likewise. Also, add some new checks.
  9894. * tests/colon5.test: Improve the generated `configure.in' file.
  9895. Add new, much deeper checks. Add trailing `:' command.
  9896. * tests/colon6.test: Likewise.
  9897. * tests/colon3.test: Add trailing `:' command. Remove useless
  9898. comments and echos. Improve the generated `configure.in' file.
  9899. make some grepping tests stricter. Add a "FIXME" comments about
  9900. planned improvements.
  9901. Improve and extend tests `asm*.test'.
  9902. * tests/asm.test: Use configure.in stub generated by ./defs,
  9903. and avoid obsoleted autoconf constructs. Make grepping of
  9904. Automake stderr stricter. Do not create useless source file.
  9905. Improve verbose messages. Minor cosmetic changes. Tell to
  9906. keep it in sync with other sister tests asm*.test.
  9907. * tests/asm2.test: Likewise.
  9908. * tests/asm3.test: Likewise.
  9909. Modernize, improve and/or extend test scripts `conf*.test'.
  9910. * tests/confh5.test: Cosmetic changes.
  9911. * tests/conff.test: Likewise.
  9912. * tests/confdeps.test: Likewise.
  9913. * tests/conflnk.test: Likewise.
  9914. * tests/conflnk2.test: Likewise.
  9915. * tests/confsub.test: Likewise.
  9916. * tests/confvar.test: Likewise, and make grepping of Makefile.in
  9917. stricter.
  9918. * tests/confvar2.test: Likewise.
  9919. * tests/conflnk3.test: Cosmetic changes. Re-enable a temporarily
  9920. disabled test (which didn't work with autoconf <= 2.59, but now we
  9921. are requiring autoconf 2.62, so...)
  9922. * tests/conflnk4.test: Cosmetic changes, and extend existing tests
  9923. accordingly to "TODO" comments.
  9924. * tests/conff2.test: Make grepping of Automake's stderr stricter.
  9925. Add some comments explaining why we don't use the `configure.in'
  9926. stub preset be ./defs.
  9927. * tests/confh.test: Use the `configure.in' stub created by ./defs,
  9928. rather than writing one from scratch, and do not call AC_OUTPUT.
  9929. Enable `errexit' shell flag, and related changes. Prefer diff over
  9930. cmp to compare text files. Prefer perl over sed to fetch the value
  9931. of $(DIST_COMMON) from Makefile.in. Make grepping of the contents
  9932. of $(DIST_COMMON) stricter.
  9933. * tests/confh4.test: Use the `configure.in' stub created by ./defs,
  9934. rather than writing one from scratch. Make grepping of Makefile.in
  9935. stricter.
  9936. * tests/confh5.test: Make grepping of `config.h' stricter. Add a
  9937. comment.
  9938. * tests/configure.test: Avoid obsolescent constructs in generated
  9939. `configure.ac'. Do not write `configure.in' two times. Escape
  9940. literal dots in grep regular expressions.
  9941. * tests/confincl.test: Enable `errexit' shell flag, and related
  9942. changes. Prefer fgrep over grep. Other cosmetic changes.
  9943. * tests/config.test: Renamed to ...
  9944. * tests/confh6.test: ... this. Fix m4 quoting in `configure.in',
  9945. and make grepping of `config.h' and `config.h.in' stricter.
  9946. * tests/conf2.test: Renamed ...
  9947. * tests/confh7.test: ... to this. Use the `configure.in' stub
  9948. created by ./defs, rather than writing one from scratch. Try to
  9949. run the checks both with and without AC_PROG_CC and AC_OUTPUT in
  9950. `configure.in'.
  9951. * tests/Makefile.am (TESTS): Updated.
  9952. Minor improvements and fixes in tests `depcomp*.test'.
  9953. * tests/depcomp.test: Do not create useless dummy source files.
  9954. Add a trailing `:' command.
  9955. * tests/depcomp2.test: Use `unset' on the CFLAGS variable to ensure
  9956. it's not in in the environment, rather than exporting it with an
  9957. empty value. Do not pass CC=gcc to configure, as that's already
  9958. done in ./defs since we have gcc in $required. Ensure verbose
  9959. printing of captured stderr, and normalize its checking. Add a
  9960. trailing `:' command.
  9961. * tests/depcomp3.test: Quote literal dots and dollar characters in
  9962. grep regexps. Always use `: >' rather than `touch' to create empty
  9963. files. Explicitly declare phony targets as such in the created
  9964. Makefile.am. Add a trailing `:' command.
  9965. * tests/depcomp4.test: Quote literal dots and dollar characters in
  9966. grep regexp. Explicitly declare phony targets as such in the
  9967. created Makefile.am. Ensure verbose printing of captured makes'
  9968. stoud/stderr. Add a trailing `:' command.
  9969. * tests/depcomp5.test: Move setting of `errexit' shell flag earlier
  9970. in the script (just after inclusion of ./defs). Quote literal dots
  9971. and dollar characters in grep regexps. Explicitly declare phony
  9972. targets as such in the created Makefile.am. Add a trailing `:'
  9973. command.
  9974. * tests/depcomp6.test: Consistently use m4 quoting in the generated
  9975. configure.in. Cosmetic fixes to spacing. Make the "dummy" `if'
  9976. statement required by OpenBSD's sh `set -e' more robust, and add
  9977. explanatory comments to it.
  9978. * tests/depcomp7.test: Likewise, and add a trailing `:' command.
  9979. Separate failing part of test `all.test'.
  9980. * tests/all.test: Keep only (x)failing part of the test. Working
  9981. checks moved out to ...
  9982. * tests/all2.test: ... this new test.
  9983. * tests/Makefile.am (TESTS): Updated.
  9984. Modernize, improve and extend tests `subobj*.test'.
  9985. * tests/subobjname.test: Add trailing `:' command.
  9986. * tests/subobj.test: Make grepping of `Makefile.in' stricter.
  9987. Escape literal dots in grep regexps.
  9988. * tests/subobj2.test: Add trailing `:' command. Do not use the
  9989. unportable fgrep option `-e'.
  9990. * tests/subobj3.test: Add trailing `:' command.
  9991. (configure.in): Use proper m4 quoting, and avoid obsolescent
  9992. constructs.
  9993. * tests/subobj8.test: Likewise. Also, enable `errexit' shell
  9994. flag, with related changes
  9995. * tests/subobj4.test: Likewise. Also, make grepping of
  9996. `Makefile.in' stricter.
  9997. * tests/subobj5.test: Add trailing `:' command. Move setting of
  9998. `errexit' shell flag earlier in the script (just after inclusion
  9999. of ./defs).
  10000. (configure.in): Use the stub created by `./defs', rather than
  10001. writing it from scratch, and avoid obsolescent constructs.
  10002. * tests/subobj6.test: Add trailing `:' command. Move setting of
  10003. `errexit' shell flag earlier in the script (just after inclusion
  10004. of ./defs). Do not create useless dummy ac-init file `f'.
  10005. * tests/subobj7.test: Do not create useless dummy ac-init file
  10006. `f'.
  10007. (configure.in): Use the stub created by `./defs', rather than
  10008. writing it from scratch, and avoid obsolescent constructs.
  10009. * tests/subobj9.test: Move setting of `errexit' shell flag earlier
  10010. in the script (just after inclusion of ./defs). Fail the test if
  10011. `make distcheck' fails. Ensure verbose printing of captured make
  10012. stdout. Avoid useless fork by doing simple grep instead of using
  10013. test -n "`COMMAND | grep ...`".
  10014. (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
  10015. (Makefile.am): Explicitly mark target "print" as phony.
  10016. * tests/subobj10.test: Removed duplicated call to `set -e'. Add
  10017. trailing `:' command.
  10018. (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
  10019. Remove a couple of obsoleted tests.
  10020. * tests/fpinstall.test: Removed.
  10021. * tests/fpinst2.test: Likewise.
  10022. * tests/Makefile.am (TESTS): Updated.
  10023. Bootstrap: updated HACKING entry.
  10024. * HACKING ("Working with git"): Explain how to override the
  10025. autoconf and autom4te programs used by the bootstrap process.
  10026. Bootstrap: fixlet.
  10027. * bootstrap: Do not remove `lib/Automake/Config.pm' anymore,
  10028. since we don't generate it. Correctly quote arguments of
  10029. `eval' builtin. Fixed a botched error message. Removed an
  10030. extra blank line.
  10031. Bootstrap: don't search perl in $PATH.
  10032. * bootstrap: Do not explicitly search perl in $PATH anymore.
  10033. ($PATH_SEPARATOR): Removed, it's no more needed.
  10034. Bootstrap: let the user choose which autoconf to use.
  10035. * bootstrap ($AUTOCONF): New variable, from the environment.
  10036. ($AUTOM4TE): Likewise, for clarity.
  10037. Use "$AUTOCONF" instead of calling "autoconf" directly.
  10038. Minor improvements to tests ar*.test.
  10039. * tests/ar.test: Add trailing `:' command.
  10040. * tests/ar2.test: Likewise, and make grepping of generated
  10041. Makefile.in stricter.
  10042. 2010-08-06 Peter Rosin <peda@lysator.liu.se>
  10043. Add new auxiliary 'ar-lib' script, wrapping Microsoft lib.
  10044. * lib/ar-lib: New auxiliary script.
  10045. * lib/Makefile.am: Add above.
  10046. * tests/ar-lib.test: New test.
  10047. * tests/Makefile.am: Add above.
  10048. * automake.in (@common_files): Distribute the 'ar-lib' script.
  10049. * doc/automake.texi (Auxiliary Programs): Mention the new
  10050. 'ar-lib' script.
  10051. (Optional): Mention 'ar-lib' in AC_CONFIG_AUX_DIR.
  10052. * NEWS: Update.
  10053. 2010-08-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10054. Fix shell pattern negation in compile script.
  10055. * lib/compile (func_file_conv): Use `!' not `^' for pattern
  10056. negation.
  10057. 2010-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10058. Fix maintainer-check failure.
  10059. * tests/cond5.test: Quote sleep argument, this isn't about
  10060. time stamp differences.
  10061. Sync auxiliary files from upstream.
  10062. * lib/config.guess, lib/config.sub, lib/texinfo.tex:
  10063. Sync from upstream.
  10064. 2010-08-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  10065. Work around a nasty bug (segfault) of Solaris make.
  10066. * lib/am/check.am (recheck, recheck-html): Trim trailing spaces
  10067. from $list, to avoid triggering a nasty bug (potential segfault)
  10068. on Solaris make.
  10069. 2010-08-06 Peter Rosin <peda@lysator.liu.se>
  10070. Make cond5.test more robust on MSYS.
  10071. * tests/cond5.test: Add delay before the first kill attempt to
  10072. cater for problems with MSYS bash.
  10073. 2010-08-01 Peter Rosin <peda@lysator.liu.se>
  10074. Wrap some MSVC options in the compile script.
  10075. * lib/compile: MSVC supports naming the output file, the option
  10076. is just not called -o, so transform -o into the appropriate form
  10077. for MSVC. Also wrap some other options while at it (-L, -l, -Wl,
  10078. -Xlinker and -I) and convert file names to windows form where
  10079. needed for those options to make MSVC more usable in an
  10080. autotooled environment.
  10081. * doc/automake.texi (Auxiliary Programs): Document the above
  10082. extension of the compile script.
  10083. * NEWS: Updated.
  10084. * tests/defs.in: New required entry 'cl'.
  10085. * tests/compile3.test: New test.
  10086. * tests/compile4.test: New test.
  10087. * tests/compile5.test: New test.
  10088. * tests/Makefile.am: Update.
  10089. 2010-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10090. Add example git work flow; discuss merge --log in HACKING.
  10091. * HACKING: Update.
  10092. Suggestion by Stefano Lattarini.
  10093. Add more hints for debugging make rules.
  10094. * doc/automake.texi (Debugging Make Rules): Show command to find
  10095. out expanded values of variables; point to makefile debugger.
  10096. * THANKS: Update.
  10097. Prompted by suggestion from Ludovic Courtès and Andy Wingo.
  10098. 2010-07-27 Patrick Welche <prlw1@cam.ac.uk> (tiny change)
  10099. Fix typo in the manual.
  10100. * doc/automake.texi (Scripts): Fix typo.
  10101. 2010-07-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10102. Document current policy for development with git.
  10103. * HACKING (Working with git): Overhaul.
  10104. Prompted by suggestion from Stefano Lattarini.
  10105. Fix AM_COND_IF for gone-invalid condition shell expression.
  10106. * m4/cond-if.m4 (AM_COND_IF): test contents of $COND_TRUE
  10107. variable, rather than re-evaluating the shell expression for
  10108. the condition.
  10109. * tests/cond40.test: Extend test.
  10110. * NEWS: Update.
  10111. Avoid syntax error if IF-TRUE part of AM_COND_IF expands empty.
  10112. * m4/cond-if.m4 (AM_COND_IF): Ensure IF-TRUE part is never empty
  10113. to avoid shell syntax error if the m4 expansion is empty.
  10114. * tests/cond40.test: Enhance test.
  10115. Coverage: bogus option to AM_INIT_AUTOMAKE.
  10116. * tests/init2.test: New test.
  10117. * tests/Makefile.am: Update.
  10118. 2010-07-21 Stefano Lattarini <stefano.lattarini@gmail.com>
  10119. Modernize and improve test scripts `subdir*.test'.
  10120. * tests/subdir.test: Enable `errexit' shell flag, and related
  10121. changes. Use the `configure.in' stub created by `./defs',
  10122. rather than writing one from scratch.
  10123. * tests/subdir2.test: Likewise.
  10124. * tests/subdir4.test: Likewise.
  10125. * tests/subdir3.test: Enable `errexit' shell flag, and related
  10126. changes. Do not create useless dummy source files.
  10127. * tests/subdir5.test: Make grepping of Makefile.in (in topdir
  10128. and in subdirs) stricter. Some minor changes to keep it more
  10129. in sync with the related test `subdir8.test'.
  10130. * tests/subdir8.test: Likewise (but with the related test being
  10131. `subdir5.test' here).
  10132. * tests/subdir6.test: Cosmetic change in spacing.
  10133. * tests/subdir9.test: Define and use new variable `$distdir'. Add
  10134. trailing `:' command.
  10135. * tests/subdir10.test: Cosmetic consistency-related change.
  10136. * tests/subdirbuiltsources.test: Cosmetic changes in spacings.
  10137. (configure.in): Use stub created by `./defs', rather than writing
  10138. it from scratch. Do not use obsoleted and/or deprecated forms of
  10139. autoconf/automake macros.
  10140. Modernize and improve test scripts `dist*.test'.
  10141. * tests/distcleancheck.test: Do not add useless `-e' option to
  10142. a $MAKE call. Extend test by grepping stderr of make.
  10143. * tests/distcom2.test: Do not run the same test script on the
  10144. Makefile.in twice, but save its output in an intermediate file
  10145. instead. Make grepping of DIST_COMMON definition stricter.
  10146. Display the content of more files, to ease debugging. Add a
  10147. trailing `:' command. Improved heading comments w.r.t. sister
  10148. test(s).
  10149. * tests/distcom6.test: Likewise, and avoid to uselessly run
  10150. autoconf.
  10151. * tests/distcom3.test: Ensure verbose printing of captured stdout
  10152. and stderr. Make grepping of captured stderr stricter. Also,
  10153. add trailing `:' command.
  10154. * tests/distcom4.test: Declare the target `test' in the generated
  10155. Makefile.am as `.PHONY'. Display content of more files, to ease
  10156. debugging. Add trailing `:' command.
  10157. * tests/distcom5.test: Likewise. Also, factor out common sed
  10158. script in subroutine `extract_distcommon'.
  10159. * tests/distcom7.test: Prefer cat + here-doc over echo to write
  10160. test Makefile.am files. Add a trailing `:' command.
  10161. * tests/distname.test: Prefer `gzip -d' over `gunzip'. Move the
  10162. call to `set -e' earlier. Be stricter and more verbose in the
  10163. checking of the generated tarball.
  10164. (configure.in): Use the stub provided by ./defs, instead of
  10165. writing it from scratch. Avoid obsoleted constructs. Remove
  10166. useless call to `AM_PROG_CC_C_O'.
  10167. * tests/distdir.test: Various minor improvements/normalizations.
  10168. * tests/distlinks.test: Likewise.
  10169. 2010-07-18 Stefano Lattarini <stefano.lattarini@gmail.com>
  10170. Improve and extend test cond5.test.
  10171. * tests/cond5.test: Do not blindly sleep 60 seconds before polling
  10172. the background automake process, but poll it every 10 seconds for
  10173. at most 30 times (this makes the test both faster on good machines,
  10174. and more resilient to spurious timeout-due failures when in low
  10175. priority or on heavily-loaded systems).
  10176. Check also that automake writes the expected error messages on the
  10177. standard error.
  10178. Enable `errexit' flag, and related changes.
  10179. Rely on the `configure.in' stub created by `./defs', rather than
  10180. writing one from scratch.
  10181. 2010-06-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10182. Update program --help output to match current GCS.
  10183. * configure.ac: Set and substitute PACKAGE_URL if AC_PACKAGE_URL
  10184. is not defined, for compatibility to Autoconf < 2.64.
  10185. * Makefile.am (do_subst): Substitute PACKAGE_BUGREPORT and
  10186. PACKAGE_URL.
  10187. (sc_diff_automake_in_automake): Update number of diff lines for
  10188. additional substitutions.
  10189. * aclocal.in (usage): Use PACKAGE_BUGREPORT. Point to Automake
  10190. home page and GNU general help page.
  10191. * automake.in (usage): Likewise.
  10192. * doc/automake.texi: New flag PACKAGE_BUGREPORT, to factor email
  10193. address.
  10194. (Introduction, Creating amhello, amhello Explained, Options):
  10195. Use it throughout.
  10196. * lib/Automake/Makefile.am (do_subst): Substitute
  10197. PACKAGE_BUGREPORT.
  10198. * lib/Automake/Config.in ($PACKAGE_BUGREPORT): New global.
  10199. * lib/Automake/ChannelDefs.pm: Use it for footer of fatal
  10200. messages.
  10201. Clean up @var handling in the manual.
  10202. * doc/automake.texi: Throughout the manual, lower-case @var
  10203. names, replace a few one-character names.
  10204. 2010-06-26 Stefano Lattarini <stefano.lattarini@gmail.com>
  10205. Fix typo-related bug in test script silent5.test.
  10206. * tests/silent5.test: Use $EGREP, not $GREP (which is not even
  10207. defined).
  10208. Tests: remove useless repetitions of `foreign' automake option.
  10209. * tests/multlib.test (configure.in): Remove useless use of
  10210. `foreign' option in AM_INIT_AUTOMAKE (the `--foreign' option is
  10211. already in $AUTOMAKE by default, so no point in repeating it).
  10212. * tests/subobj10.test: Likewise.
  10213. * tests/subobj9.test: Likewise.
  10214. * tests/lex3.test (Makefile.am): Similarly, remove useless use
  10215. of `foreign' option in AUTOMAKE_OPTIONS.
  10216. * tests/lex5.test: Likewise.
  10217. * tests/pr279.test: Likewise.
  10218. * tests/pr279-2.test: Likewise.
  10219. * tests/specflg3.test: Likewise.
  10220. * tests/target-cflags.test: Likewise.
  10221. Drop useless requirement "gzip" in lex5.test.
  10222. * tests/lex5.test ($required): Do not list "gzip", as it's
  10223. never used.
  10224. 2010-06-24 Stefano Lattarini <stefano.lattarini@gmail.com>
  10225. Fix bugs in test script silent5.test.
  10226. * tests/silent5.test: Fixed a nasty bug (due to the use of grep
  10227. instead of egrep) that could have led to false negatives.
  10228. 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
  10229. Add a test checking that distributed broken symlinks cause
  10230. `make dist' to fail.
  10231. * tests/distlinksbrk.test: New test.
  10232. * tests/Makefile.am (TESTS): Updated.
  10233. 2010-06-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10234. Fix minor testsuite issues, update docs, for Yacc/Lex changes.
  10235. * doc/automake.texi (Yacc and Lex): Mention AM_YFLAGS, YFLAGS
  10236. and AM_LFLAGS, LFLAGS in the order in which they now appear in
  10237. the rules.
  10238. * NEWS: Update.
  10239. * tests/lflags.test, tests/lflags2.test, tests/yflags.test,
  10240. tests/yflags2.test: Prefer `make -e' over `make VAR=VAL', to
  10241. please maintainer-check. Ensure generated C files contain a
  10242. declaration, to please compilers.
  10243. 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
  10244. Fix bugs in Automake Yacc/Lex support w.r.t. $(AM_FLAGS) and
  10245. $(FLAGS) precedence.
  10246. * automake.in: Fix registration of languages "Lex", "Lex (C++)",
  10247. "Yacc" and "Yacc (C++)", so that $(LFLAGS) has precedence over
  10248. $(AM_LFLAGS) and $(YFLAGS) has precedence over $(AM_YFLAGS).
  10249. * tests/Makefile.am (XFAIL_TESTS): Updated accordingly.
  10250. * NEWS: Updated.
  10251. New tests, exposing bugs in Automake Yacc/Lex support w.r.t.
  10252. $(AM_FLAGS) and $(FLAGS) precedence.
  10253. * tests/lflags.test: New test, check that user $(LFLAGS) takes
  10254. precedence over automake (AM_LFLAGS) and (foo_LFLAGS). Still
  10255. xfailing.
  10256. * tests/lflags2.test: Likewise.
  10257. * tests/yflags.test: New test, check that user $(YFLAGS) takes
  10258. precedence over automake (AM_YFLAGS) and (foo_YFLAGS). Still
  10259. xfailing.
  10260. * tests/yflags2.test: Likewise.
  10261. * tests/Makefile.am (TESTS, XFAIL_TESTS): Extended accordingly.
  10262. 2010-06-20 Stefano Lattarini <stefano.lattarini@gmail.com>
  10263. Modernize, improve and extend tests `suffix*.test'.
  10264. * tests/suffix3.test: Enable `errexit' shell flag, and related
  10265. changes.
  10266. * tests/suffix4.test: Likewise.
  10267. * tests/suffix6.test: Likewise, and do not create a useless dummy
  10268. source file.
  10269. * tests/suffix7.test: Likewise.
  10270. * tests/suffix5.test: Enable `errexit' shell flag, and related
  10271. changes. Make grepping of Makefile.in slightly stricter.
  10272. * tests/suffix.test: Enable `errexit' shell flag, and related
  10273. changes. Also, do not redirect grep output to /dev/null, as this
  10274. might unmotivatedly hide useful information.
  10275. * tests/suffix2.test: Move setting of `errexit' shell flag earlier
  10276. in the script (just after inclusion of ./defs). Use a more
  10277. idiomatic way to count text occurrences in Makefile.in with
  10278. grep. Do not create useless dummy source files.
  10279. * tests/suffix10.test: Ensure verbose printing of captured make
  10280. stdout. Minor cosmetic changes.
  10281. * tests/suffix8.test: Likewise. Also, drop useless call to the
  10282. env(1) utility, and make grepping of make output stricter by using
  10283. $FGREP rather than plain grep.
  10284. * tests/suffix11.test: Likewise.
  10285. * tests/suffix12.test: Likewise.
  10286. * tests/suffix9.test: Prefer cat + here-doc over echo to append to
  10287. the `configure.in' stub. Cosmetic changes.
  10288. * tests/suffix13.test: Cosmetic spacing change.
  10289. 2010-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
  10290. Add useful comment in test script ext.test.
  10291. * tests/ext.test: Add a comment explaining why an apparently
  10292. useless `if' statement is indeed required.
  10293. 2010-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
  10294. Add useful comment in test script obsolete.test.
  10295. * tests/obsolete.test: Add a comment explaining why we need
  10296. an indirection in adding $AUTOUPDATE to $required.
  10297. Normalize whitespaces in 'tests/Makefile.am'.
  10298. * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the
  10299. definition of this variable.
  10300. Parallel tests generation: improve comments (tiny change).
  10301. * tests/Makefile.am ($(parallel_tests)): Added useful comment to
  10302. generated tests.
  10303. Tests defs: truly get rid of `$am_defs_included' (unused variable)
  10304. * tests/defs.in ($am_defs_included): Remove, its now unused. It
  10305. should have been removed in a previous changeset, but the removal
  10306. was done only partially (oversight).
  10307. 2010-06-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10308. Remove a couple of unneeded conditionals from tests.
  10309. * tests/pr243.test, tests/pr266.test, tests/strip.test: No need
  10310. for the FOOTEST conditional.
  10311. 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  10312. Modernize, improve and/or fix various test scripts.
  10313. * tests/symlink3.test: Deleted, separated into two new, more
  10314. complete tests ...
  10315. * tests/forcemiss.test: ... this one ...
  10316. * tests/forcemiss2.test: ... and this one.
  10317. * tests/symlink2.test: Enable `errexit' shell flag, make test
  10318. stricter, and skip it if symlink creation is not supported.
  10319. * tests/postproc.test: Enable `errexit' shell flag, related
  10320. changes, and a couple of unrelated cosmetic changes.
  10321. * tests/recurs.test: Use the `configure.in' stub created by
  10322. `./defs', rather than writing one from scratch. Make grepping
  10323. of Automake stderr slightly stricter.
  10324. * tests/substtarg.test: Likewise.
  10325. * tests/strip.test: Likewise, and move the call to `set -e'
  10326. earlier (just after the inclusion of `./defs'). Also, make sure
  10327. that the script installed by `make install-script' is equal to
  10328. the original one.
  10329. * tests/substref.test: Use the `configure.in' stub created by
  10330. `./defs', rather than writing one from scratch. Move the call
  10331. to `set -e' earlier (just after the inclusion of `./defs').
  10332. Avoid to explicitly export CC for configure (that's already done
  10333. in ./defs). Avoid potential problems with unpredictable make
  10334. output. Finally, make grepping of Makefile.in stricter.
  10335. * tests/substre2.test: Ensure verbose printing of the captured
  10336. make's output, and make its grepping slightly stricter.
  10337. * tests/cygwin32.test: Enable `errexit' shell flag, and related
  10338. changes. Also, do not create useless dummy source/data files.
  10339. * tests/scripts.test: Likewise.
  10340. * tests/recurs2.test: Likewise. Also, use the `configure.in'
  10341. stub created by `./defs'.
  10342. * tests/Makefile.am (TESTS): Updated.
  10343. Modernize, improve and/or fix tests `pluseq*.test.
  10344. * tests/pluseq5.test: Append to configure.in using cat with an
  10345. here-doc, not using echo.
  10346. * tests/pluseq10.test: Make sure that the captured output of
  10347. `make' command is always displayed. Where possible, use $FGREP
  10348. instead of grep (this change makes some checks slightly stricter).
  10349. * tests/pluseq8.test: Enable `errexit' shell flag, with related
  10350. changes.
  10351. * tests/pluseq.test: Likewise. Also, do not create useless dummy
  10352. data files, and use better m4 quoting in generated configure.in.
  10353. * tests/pluseq2.test: Likewise. Also, append to configure.in
  10354. using cat with an here-doc, not using echo.
  10355. * tests/pluseq3.test: Likewise.
  10356. * tests/pluseq4.test: Likewise.
  10357. * tests/pluseq6.test: Likewise.
  10358. * tests/pluseq7.test: Do not create useless dummy source file.
  10359. * tests/pluseq9.test: Slightly extended w.r.t. the grepping of
  10360. Automake stderr. Some unrelated cosmetic changes.
  10361. 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  10362. cscope.test: ensure verbose printing of captured stderr.
  10363. * tests/cscope.test: Print captured stderr before failing.
  10364. 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  10365. Testsuite: ensure verbose printing of captured stderr.
  10366. * tests/acloca18.test: Print captured stderr before either failing
  10367. or grepping it. Be sure to send captured stderr to stderr, not to
  10368. stdout.
  10369. * tests/ansi3b.test: Likewise.
  10370. * tests/cond39.test: Likewise.
  10371. * tests/configure.test: Likewise.
  10372. * tests/missing3.test: Likewise.
  10373. * tests/missing6.test: Likewise.
  10374. * tests/output-order.test: Likewise.
  10375. * tests/pr300-ltlib.test: Likewise.
  10376. * tests/python6.test: Likewise.
  10377. * tests/python7.test: Likewise.
  10378. * tests/python8.test: Likewise.
  10379. * tests/python9.test: Likewise.
  10380. * tests/subobj.test: Likewise.
  10381. * tests/vars3.test: Likewise.
  10382. * tests/missing4.test: Likewise, and fix a call to grep not to use
  10383. the `-c' flag.
  10384. * tests/ansi3.test: Likewise, and rely on the `configure.in' stub
  10385. created by `./defs', rather than writing one from scratch.
  10386. Enable `errexit' shell flag in various tests.
  10387. * tests/backsl.test: Enable the `errexit' shell flag, and
  10388. related changes.
  10389. * tests/backsl2.test: Likewise.
  10390. * tests/block.test: Likewise.
  10391. * tests/canon2.test: Likewise.
  10392. * tests/canon4.test: Likewise.
  10393. * tests/comment2.test: Likewise.
  10394. * tests/condlib.test: Likewise.
  10395. * tests/cond15.test: Likewise, and prefer $FGREP over grep.
  10396. * tests/canon3.test: Likewise. Also, avoid to create an useless
  10397. dummy source file.
  10398. * tests/acoutpt2.test: Enable the `errexit' shell flag, and some
  10399. related changes. Do some cosmetic improvements in the generated
  10400. `configure.in' file.
  10401. * tests/cond4.test: Likewise.
  10402. * tests/cond14.test: Likewise.
  10403. * tests/condinc.test: Likewise.
  10404. * tests/cond7.test: Likewise. Also, remove useless setting of
  10405. AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am.
  10406. * tests/ansi.test: Enable the `errexit' shell flag, and related
  10407. changes. Extended, esp. by running autoconf, ./configure and
  10408. make, and by looking into the distdir.
  10409. 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  10410. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10411. Extend tests/README w.r.t. trailing `:' in test scripts.
  10412. * tests/README (section "Writing test cases" subsection "Do"):
  10413. Explain why apparently redundant trailing `:' and `Exit 0' in
  10414. test scripts can indeed be useful.
  10415. 2010-06-11 Stefano Lattarini <stefano.lattarini@gmail.com>
  10416. Improve determination of PATH separator in bootstrap script.
  10417. * bootstrap: Determine what the PATH separator is the same way
  10418. autoconf does.
  10419. Minor improvements in bootstrap script.
  10420. * bootstrap: Consistently use two-spaces indentation. Cosmetic
  10421. improvement to comments.
  10422. ($me): New variable, containing program basename.
  10423. Prepend it to all error messages.
  10424. Testsuite now works with BSD make in parallel mode.
  10425. * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
  10426. which are exported by BSD make when run in parallel mode, and
  10427. which can confuse make processes spawned by our testsuite.
  10428. This change fixes a lot of spurious failure when the testsuite
  10429. is run with BSD make in parallel mode.
  10430. 2010-06-09 Stefano Lattarini <stefano.lattarini@gmail.com>
  10431. Modernize, improve and/or fix various test scripts.
  10432. * tests/sanity.test: Rely on the `configure.in' stub created by
  10433. `./defs', rather than writing one from scratch.
  10434. * tests/depend2.test: Likewise. Also, call `set -e' just after
  10435. the inclusion of `./defs', instead that later in the script.
  10436. * tests/canon5.test: Avoid a useless `|| Exit 1' after a call to
  10437. $AUTOMAKE, and improve the positioning of an $ACLOCAL call.
  10438. * tests/exeext4.test: Use $FGREP instead of grep, where possible.
  10439. Make auxiliary rules in the generated Makefile more silent.
  10440. These changes make some checks slightly stricter.
  10441. * tests/ext2.test: Call `Exit 1' if inclusion of `./defs' fails.
  10442. * tests/gettext2.test: Place final `:' at the end of the script,
  10443. rather than in the middle.
  10444. * tests/exeext.test: Call `set -e' just after the inclusion of
  10445. `./defs', instead that later in the script.
  10446. * tests/extra5.test: Likewise.
  10447. * tests/confdeps.test: Likewise. Also, prefer `mv -f' over
  10448. plain `mv', just to be sure.
  10449. * tests/depcomp.test: Enable `errexit' shell flag, with related
  10450. changes. Also, modernize the generated configure.in.
  10451. * tests/cond9.test: Likewise. Also, rely on the `configure.in'
  10452. stub created by `./defs', rather than writing one from scratch.
  10453. * tests/cond10.test: Likewise.
  10454. * tests/depcomp2.test: Likewise.
  10455. * tests/depend3.test: Likewise.
  10456. * tests/distcom7.test: Likewise.
  10457. * tests/fortdep.test: Likewise. Also, remove definition of
  10458. AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am,
  10459. since that flag is already provided by $AUTOMAKE.
  10460. * tests/mdate.test: Made stricter, by checking that Automake
  10461. actually failed, and by making a stricter grep on the error
  10462. message. Also, set shell `errexit flag'.
  10463. * tests/python2.test: Improved verbose messages.
  10464. Make test `ammissing.test' stricter.
  10465. * tests/ammissing.test: Fail if $ACLOCAL succeeds unexpectedly.
  10466. Enable `errexit' shell flag.
  10467. 2010-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  10468. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10469. Fix error in generation of parallel tests.
  10470. * tests/defs.in ($am_skip_defs): New variable, to be used when
  10471. ./defs must be sourced multiple times. If set, unset it and
  10472. only define $srcdir; otherwise, also go through the rest of
  10473. the script.
  10474. ($am_defs_included): Remove, no more needed.
  10475. * tests/Makefile.am ($(parallel_tests)): Update accordingly,
  10476. using only $srcdir from defs.
  10477. Fixes potential test failures of tests that use $required.
  10478. 2010-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
  10479. Enable `errexit' shell flag in some test scripts.
  10480. * tests/subcond.test: Enabled `errexit' shell flag, and related
  10481. minor changes.
  10482. * tests/subst.test: Likewise.
  10483. * tests/vars.test: Likewise.
  10484. * tests/version4.test: Likewise.
  10485. * tests/vpath.test: Likewise.
  10486. * tests/vtexi2.test: Likewise.
  10487. * tests/werror.test: Likewise.
  10488. * tests/whoami.test: Likewise.
  10489. * tests/tags.test: Likewise, and avoid to crate an useless dummy
  10490. header file.
  10491. * tests/acsilent.test: Likewise, and don't use an easily-avoided
  10492. command substitution.
  10493. * tests/unused.test: Likewise, and don't use an easily-avoided
  10494. command substitution.
  10495. * tests/version.test: Likewise, and avoid deprecated constructs
  10496. in the generated `configure.in'.
  10497. * tests/version2.test: Likewise, and avoid deprecated constructs
  10498. in the generated `configure.in'.
  10499. 2010-06-07 Stefano Lattarini <stefano.lattarini@gmail.com>
  10500. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10501. Improve declaration of dependencies in the testsuite.
  10502. * tests/Makefile.am (check_SCRIPTS): Remove. Instead, let ...
  10503. ($(TEST_LOGS)): ... all test logs depend on the scripts.
  10504. * test/gen-parallel-tests: For each parallel test foo-p.test,
  10505. let `foo-p.log' also depend on `foo.test', since it is sourced.
  10506. 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10507. Coverage for TAGS_DEPENDENCIES warning.
  10508. * tests/tags2.test: New test.
  10509. * tests/Makefile.am: Update.
  10510. Coverage for use of anachronistic variables.
  10511. * tests/oldvars.test: New test.
  10512. * tests/Makefile.am: Update.
  10513. Testsuite coverage for bogus macro file serial numbers.
  10514. * tests/acloca18.test: Also test ill-formed serial numbers
  10515. and serial numbers after macro definitions.
  10516. Coverage for aclocal diagnosing underquoted macros.
  10517. * tests/acloca23.test: New test.
  10518. * tests/Makefile.am: Update.
  10519. 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10520. Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests.
  10521. * tests/ldadd.test: Enable errexit. Use AUTOMAKE_fails so
  10522. the verbose log contains all output.
  10523. * tests/mdate.test: Likewise.
  10524. Prompted by Stefano Lattarini's change to discover.test.
  10525. 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10526. More minor message fixes.
  10527. * aclocal.in (scan_file): Fix recommended info command line.
  10528. * automake.in (handle_lib_objects): No need to prepend function
  10529. name to prog_error message.
  10530. (handle_tags): Add missing word and missing space in error
  10531. message.
  10532. (handle_dist): Add missing closing single quote in message.
  10533. Line-wrap one long message for readability.
  10534. 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  10535. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10536. Fix distcheck failure with distributed generated parallel tests.
  10537. * tests/Makefile.am ($(parallel_tests)): Cope with $(srcdir)
  10538. being different from the value at developer `make dist' time.
  10539. * tests/defs.in: Protect against multiple inclusion, by using ...
  10540. ($am_defs_included): ... this new variable.
  10541. ($srcdir): Do not compute, but simply define to `@abs_srcdir@'
  10542. as substituted by configure.
  10543. Report, suggestions and first fix by Ralf Wildenhues, final
  10544. patch by Stefano Lattarini.
  10545. 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  10546. Improve tests link*.test (enable `errexit' shell flag).
  10547. * tests/link_c_cxx.test: Enable `errexit shell flag, and related
  10548. changes. Also, do not create useless source files.
  10549. * tests/link_dist.test: Likewise.
  10550. * tests/link_f90_only.test: Likewise.
  10551. * tests/link_f_only.test: Likewise.
  10552. * tests/link_fc.test: Likewise.
  10553. * tests/link_fccxx.test: Likewise.
  10554. * tests/link_fcxx.test: Likewise.
  10555. 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10556. Improve ext.test semantics, avoid OpenBSD sh errexit issue.
  10557. * tests/ext.test: Inside shell compound command, use
  10558. `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
  10559. fix failure with OpenBSD sh introduced with last patch.
  10560. Actually ensure that a rule for .EXT.o is created for each
  10561. known extension EXT.
  10562. 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  10563. Enable `errexit' shell flag in some test scripts.
  10564. * tests/dash.test: Enable `errexit' shell flag, and related
  10565. changes.
  10566. * tests/defun.test: Likewise.
  10567. * tests/defun2.test: Likewise.
  10568. * tests/dejagnu.test: Likewise.
  10569. * tests/double.test: Likewise.
  10570. * tests/distcom2.test: Likewise.
  10571. * tests/empty2.test: Likewise.
  10572. * tests/empty3.test: Likewise.
  10573. * tests/empty4.test: Likewise.
  10574. * tests/exdir.test: Likewise.
  10575. * tests/ext.test: Likewise.
  10576. * tests/extra.test: Likewise.
  10577. * tests/extra2.test: Likewise.
  10578. * tests/extra3.test: Likewise.
  10579. * tests/extra4.test: Likewise.
  10580. * tests/flibs.test: Likewise.
  10581. * tests/fnoc.test: Likewise.
  10582. * tests/fo.test: Likewise.
  10583. * tests/instexec.test: Likewise.
  10584. * tests/ltdeps.test: Likewise.
  10585. * tests/nodep.test: Likewise.
  10586. * tests/nodepcomp.test: Likewise.
  10587. * tests/f90only.test: Likewise, and remove botched/obsoleted
  10588. comments and unnecessary commands.
  10589. * tests/fonly.test: Likewise, and remove botched/obsoleted
  10590. comments and unnecessary commands.
  10591. * tests/discover.test: Likewise, and made stricter.
  10592. Enable `errexit' shell flag in all tests cxx*.test.
  10593. * tests/cxx.test: Enabled `errexit' shell flag, and related
  10594. minor changes.
  10595. * tests/cxxansi.test: Likewise.
  10596. * tests/cxxcpp.test: Likewise.
  10597. * tests/cxxlibobj.test: Likewise.
  10598. * tests/cxxlink.test: Likewise.
  10599. * tests/cxxo.test: Likewise.
  10600. Enable `errexit' shell flag in various tests.
  10601. * tests/acoutnoq.test: Enabled `errexit' shell flag, and related
  10602. minor changes.
  10603. * tests/acoutpt.test: Likewise.
  10604. * tests/acoutqnl.test: Likewise.
  10605. * tests/amassign.test: Likewise.
  10606. * tests/ansi2.test: Likewise.
  10607. * tests/ansi4.test: Likewise.
  10608. * tests/badprog.test: Likewise.
  10609. * tests/checkall.test: Likewise.
  10610. * tests/clean.test: Likewise.
  10611. * tests/colneq2.test: Likewise.
  10612. * tests/colon.test: Likewise.
  10613. * tests/colon5.test: Likewise.
  10614. * tests/colon6.test: Likewise.
  10615. * tests/comment.test: Likewise.
  10616. * tests/compile_f90_c_cxx.test: Likewise.
  10617. * tests/compile_f_c_cxx.test: Likewise.
  10618. * tests/cond3.test: Likewise.
  10619. * tests/cond6.test: Likewise.
  10620. * tests/cond13.test: Likewise.
  10621. * tests/conf2.test: Likewise.
  10622. * tests/confvar.test: Likewise.
  10623. * tests/confvar2.test: Likewise.
  10624. * tests/cond8.test: Likewise, plus a cosmetic change.
  10625. * tests/confh4.test: Likewise. Also, add in the heading comments
  10626. an excerpt from the original bug report which motivated the
  10627. creation of this test, to make its purpose clearer.
  10628. 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10629. Rewrite manual to be gender-neutral.
  10630. * doc/automake.texi (GNU Build System)
  10631. (Standard Directory Variables, General Operation, CVS)
  10632. (Hard-Coded Install Paths, Dependencies As Side Effects):
  10633. Rewrite text to not contain gender-specific pronouns when
  10634. speaking about developers or users, either by avoiding pronouns
  10635. or by addressing them as `you' instead.
  10636. * THANKS: Update.
  10637. Report by Christina Gratorp.
  10638. * AUTHORS: Update.
  10639. 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
  10640. Tiny fix in silent8.test (display output of `make' command).
  10641. * tests/silent8.test: Make sure that the captured output of `make'
  10642. command is always displayed.
  10643. Make tests on user extensibility of silent-rules mode stricter.
  10644. * tests/silent6.test: Made stricter w.r.t. the grepping of the
  10645. output produced by `make'.
  10646. * tests/silent7.test: Likewise.
  10647. Tests on silent-mode for C/Libtool made stricter.
  10648. * tests/silent.test: Made stricter w.r.t. the grepping of the
  10649. output produced by `make'.
  10650. * tests/silent2.test: Likewise.
  10651. * tests/silent4.test: Likewise.
  10652. * tests/silent9.test: Likewise.
  10653. * tests/silent3.test: Likewise, and add a final `make distclean'
  10654. command to keep it better in sync with tests/silent{4,9}.test.
  10655. Improved test silent5.test.
  10656. * tests/silent5.test: Remove by hand all generated C files after
  10657. non-verbose builds, to ensure the following builds are clean.
  10658. Try to clean and rebuild with the same verbosity and without
  10659. removing generated sources in between, to check that this does
  10660. not trigger a different set of rules. Make grepping of make's
  10661. output stricter. Improved/added some comments.
  10662. New tests for Automake silent-mode with Fortran.
  10663. * tests/silentf77.test: New test.
  10664. * tests/silentf90.test: Likewise.
  10665. * tests/Makefile.am (TESTS): Updated accordingly.
  10666. New test `silentcxx.test' (Automake silent-mode with C++).
  10667. * tests/silentcxx.test: New test.
  10668. * tests/Makefile.am (TESTS): Updated accordingly.
  10669. New test `silentyacc.test' (Automake silent-mode with Yacc).
  10670. * tests/silentyacc.test: New test.
  10671. * tests/Makefile.am (TESTS): Updated accordingly.
  10672. New test `silentlex.test' (Automake silent-mode with Lex).
  10673. * tests/silentlex.test: New test.
  10674. * tests/Makefile.am (TESTS): Updated accordingly.
  10675. Relax tests on silent-rules to cater to overly verbose makes.
  10676. * tests/silent.test: When testing silent builds, don't fail if
  10677. make's output simply contains the `mv' substring, but only if
  10678. it contains the `mv ' substring (note the trailing space).
  10679. * tests/silent2.test: Likewise.
  10680. * tests/silent3.test: Likewise.
  10681. * tests/silent4.test: Likewise.
  10682. * tests/silent5.test: Likewise.
  10683. * tests/silent9.test: Likewise.
  10684. 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  10685. Extend test on `nostdinc' automake option.
  10686. * tests/nostdinc.test: Enable `errexit' shell flag. Related and
  10687. unrelated minor changes. Make the grepping of the generated
  10688. Makefile.in slightly stricter. Generate and run configure, so that
  10689. the generated Makefile can be grepped too.
  10690. 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10691. Make gnupload portable to EBCDIC hosts.
  10692. * lib/gnupload: Use literal newline as argument for 'tr' rather
  10693. than \015, for EBCDIC hosts. Also, avoid unportable nested
  10694. double-quotes and backquotes.
  10695. * THANKS: Update.
  10696. Report from Eric Blake and Steve Goetze via gnulib.
  10697. 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  10698. Fix Autoconf version required by Automake's configure.
  10699. Automake configure script used to tell that automake required
  10700. autoconf 2.60 or later, but then it checked for autoconf >= 2.62,
  10701. and if that was not found, it gave an error saying that Automake
  10702. required configure 2.61a-341 or later. This change should
  10703. eliminate such inconsistencies.
  10704. * configure.ac ($required_autoconf_version): New variable.
  10705. Use it throughout.
  10706. 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10707. Fix truncated comment in Makefile.am.
  10708. * Makefile.am (sc_tests_logs_duplicate_prefixes): Fix unfinished
  10709. sentence in comment.
  10710. Report by Stefano Lattarini.
  10711. Relax silent8.test for NetBSD make.
  10712. * tests/silent8.test: Accept ./foo.info in output as well.
  10713. Fix unportable sed script in maintainer-check test.
  10714. * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to
  10715. not contain semicolon after 'b' or brace commands, for NetBSD.
  10716. Wildcards are not portable to NetBSD make.
  10717. * doc/automake.texi (Wildcards): Document portability issue.
  10718. * tests/extra10.test, tests/extra11.test, tests/extra12.test:
  10719. Require GNU make.
  10720. 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
  10721. Make test for configure.in vs. configure.ac stricter.
  10722. * tests/configure.test: Use a configure.in file that provokes
  10723. an automake error, to ensure configure.ac is preferred.
  10724. Avoid possible false negatives in dejagnu7.test.
  10725. * tests/dejagnu7.test: Enable shell `errexit' flag. Also, avoid
  10726. unportable use of fgrep option `-e'.
  10727. Fix conflnk3.test to work with Solaris/Heirloom Sh.
  10728. * tests/conflnk3.test: Use `test -r FILE' and `test ! -r FILE'
  10729. instead of respectively `test -e FILE' and `test ! -e FILE',
  10730. since Solaris Sh doesn't grok the latter. Do not SKIP the test
  10731. if the shell doesn't support `test -e'.
  10732. 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10733. Warning and error message formatting cleanups.
  10734. * aclocal.in (parse_arguments, main): Remove trailing period or
  10735. newline in error or warning messages, avoid capitalization of
  10736. the first word of a message.
  10737. * automake.in (check_user_variables, handle_languages)
  10738. (handle_ltlibraries, scan_aclocal_m4, scan_autoconf_config_files)
  10739. (scan_autoconf_files, cond_stack_if, require_file_internal)
  10740. (usage, generate_makefile, parse_arguments): Likewise.
  10741. * lib/Automake/ChannelDefs.pm (set_strictness): Likewise.
  10742. * lib/Automake/Configure_ac.pm (find_configure_ac): Likewise.
  10743. * lib/Automake/Options.pm (set_strictness): Likewise.
  10744. * lib/Automake/Rule.pm (define): Likewise.
  10745. * lib/Automake/Variable.pm (define, variables_dump): Likewise.
  10746. * tests/ltinstloc.test, tests/suffix11.test: Adjust expected
  10747. error message.
  10748. * lib/Automake/Channels.pm (setup_channel): Reword error message
  10749. to be the same as in msg.
  10750. Fix placing of ellipses in English text and synopses.
  10751. * Makefile.am: Be sure to add a space before `...' in natural
  10752. language text.
  10753. * automake.in (scan_autoconf_traces): Likewise.
  10754. * lib/Automake/Rule.pm (define): Likewise.
  10755. * lib/Automake/Variable.pm (define): Likewise.
  10756. * lib/am/dejagnu.am: Likewise.
  10757. * lib/am/progs.am: Likewise.
  10758. * lib/gnupload (dprint, upload): Likewise.
  10759. * tests/confdeps.test: Likewise.
  10760. * tests/location.test: Adjust expected output.
  10761. * automake.in (usage): In synopsis, use singular for OPTION,
  10762. * remove space before ellipsis.
  10763. * aclocal.in (usage): Likewise. Also, fix indentation.
  10764. Fix more duplicate message prefixes.
  10765. * lib/Automake/XFile.pm (seek): Do not prepend $me.
  10766. ($me): Remove now-unused package-global.
  10767. * aclocal.in (check_acinclude): Remove duplicate 'warning: '
  10768. prefix.
  10769. Fix typo in manual.
  10770. * doc/automake.texi (Simple Tests using parallel-tests): Add
  10771. missing closing parenthesis.
  10772. Fix leftover call to removed function macros_dump.
  10773. * automake.in (read_main_am_file): Call variables_dump, not
  10774. macros_dump. Print actual error before list of variables.
  10775. 2010-04-22 Stefano Lattarini <stefano.lattarini@gmail.com>
  10776. Minor improvements in comments of test `silent3.test'.
  10777. * tests/silent3.test: Tell to keep it in sync with `silent9.test'
  10778. too.
  10779. 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10780. testsuite: ensure verbose printing of captured output.
  10781. * tests/acloca14.test, tests/acloca18.test, tests/aclocal.test,
  10782. tests/fort2.test, tests/help.test, tests/missing3.test,
  10783. tests/missing6.test: Print captured stdout or stderr before
  10784. grepping it.
  10785. 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
  10786. Make test badopt.test stricter (by enabling `set -e').
  10787. * tests/badopt.test: Add call to `set -e'. Due to this change,
  10788. an unexpected failure in the call to `$ACLOCAL' (whose outcome
  10789. was previously unchecked) would cause the whole test to fail.
  10790. Also, bumped the copyright years.
  10791. Make test for configure.in vs. configure.ac stricter.
  10792. * tests/configure.test: Use a configure.in file that provokes
  10793. an automake error, to ensure configure.ac is preferred.
  10794. Use `set -e' in confsub.test (avoids possible false negatives).
  10795. * tests/confsub.test: Enable shell `errexit' flag, and related
  10796. changes (this helps avoiding some possible minor false negatives).
  10797. Also, bumped copyright years.
  10798. 2010-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10799. Fix -Werror handling for presence of configure.in and configure.ac.
  10800. * lib/Automake/Variable.pm (Automake::Variable): Do not initialize
  10801. $configure_ac at the global level, before command-line arguments
  10802. have been parsed.
  10803. (require_variables): Initialize it here.
  10804. * tests/configure.test: New test.
  10805. * tests/Makefile.am: Update.
  10806. Report by Stefano Lattarini.
  10807. 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
  10808. Avoid possible false negatives in confh5.test.
  10809. * tests/confh5.test: Enable shell `errexit' flag, and bumped
  10810. copyright years. Due to this change, any unexpected failure
  10811. in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or
  10812. a failure in grepping expected text in output files should now
  10813. cause the whole test to fail.
  10814. 2010-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
  10815. Fixed typo in POD documentation of Automake::Channels.
  10816. * lib/Automake/Channels.pm: Fixed typo in POD documentation:
  10817. @<...> was used instead of C<...>.
  10818. 2010-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
  10819. Refactor tests on Automake TESTS color output.
  10820. * tests/color.test: Tests using the expect program moved out to...
  10821. * tests/color2.test: ... this new file.
  10822. * tests/Makefile.am (TESTS): Extended accordingly.
  10823. 2010-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
  10824. Fix typos in comments in test confh5.test
  10825. * tests/confh5.test: Fix a couple of typos in comments.
  10826. Avoid possible false negatives in canon-name.test.
  10827. * tests/canon-name.test: Enable shell `errexit' flag. Improve
  10828. test description.
  10829. 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10830. Print 'warnings are treated as errors' note if needed.
  10831. * lib/Automake/Channels.pm: Fix typo in comment.
  10832. (_print_message): If -Werror is enabled, print a 'warnings are
  10833. treated as errors' note before the first such warning.
  10834. * tests/warnopts.test: Adjust comment to mention expected warning.
  10835. Adjust code to ignore 'warnings are treated as errors' note.
  10836. * tests/location.test: Adjust expected output with -Werror.
  10837. * tests/werror4.test: New test.
  10838. * tests/Makefile.am: Update.
  10839. * NEWS: Update.
  10840. Ensure we don't print 'warning:' or 'error:' twice.
  10841. * Makefile.am (sc_ensure_testsuite_has_run): New helper rule.
  10842. (sc_tests_logs_duplicate_prefixes): New rule, to check for
  10843. wrong-looking warning and error messages in the test suite logs.
  10844. * aclocal.in (scan_configure_dep, scan_file): Remove duplicate
  10845. `warning: ' prefix.
  10846. * tests/vars3.test: Rename variable to avoid false positive.
  10847. Prepend type to warning, error, and fatal messages.
  10848. For the first part of messages of types `error' or `fatal',
  10849. prepend `error: ' to the message. Prepend `warning: ' to
  10850. warning messages, whatever the setting of -Werror.
  10851. * lib/Automake/Channels.pm (partial): Move up definition.
  10852. (_format_message): Emit `header' and `footer' strings only with
  10853. the first resp. last part of a set of partial messages.
  10854. * lib/Automake/ChannelDefs.pm: Add missing '1;' statement at the
  10855. end of the module.
  10856. (Automake::ChannelDefs): Setup warning channels with header
  10857. `warning: ', error and fatal messages with header `error: '.
  10858. * tests/condinc2.test, tests/ltinstloc.test: Adjust expected
  10859. error messages.
  10860. * tests/comment5.test: Likewise. Also, include stack notes
  10861. should not start with `error:'.
  10862. * tests/location.test: Likewise. Also, try both -Werror and
  10863. -Wno-error.
  10864. * NEWS: Update.
  10865. Report by Bruno Haible.
  10866. Fix capitalization of error messages, reword one message.
  10867. * lib/Automake/Variable.pm (define): Do not capitalize the first
  10868. word in the error message.
  10869. * automake.in (require_file_internal): Likewise. Also, reword
  10870. and line-wrap for better readability.
  10871. * tests/distcom7.test, tests/pluseq5.test, tests/pluseq9.test:
  10872. Adjust tests.
  10873. Fix connected warnings about obsolete exeext override.
  10874. * lib/Automake/Rule.pm (define): Merge two warnings that belong
  10875. together, by setting the 'partial' flag for the first one.
  10876. Fix per-Makefile.am setting of -Werror.
  10877. Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one
  10878. Makefile.am would carry over to other Makefile.am files
  10879. treated afterwards by the same thread, causing inconsistent
  10880. and unstable exit status values.
  10881. * lib/Automake/Channels.pm (dup_channel_setup)
  10882. (drop_channel_setup): Save and restore the setting of
  10883. $warnings_are_errors.
  10884. * tests/werror3.test: New test.
  10885. * tests/Makefile.am: Adjust.
  10886. * NEWS: Update.
  10887. 2010-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
  10888. Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh.
  10889. * tests/confh5.test: In the generated Makefile.am: do not use
  10890. `test ! -e FILE' to check for the non-existence of a file, since
  10891. that is not supported by Solaris/Heirloom Sh.
  10892. Make test `aclocal3.test' stricter.
  10893. * tests/aclocal3.test: Add call to `set -e'. Fail if $ACLOCAL
  10894. succeeds unexpectedly.
  10895. Add tests checking that symlinks are resolved by `make dist'.
  10896. * tests/distlinks.test: New test.
  10897. * tests/Makefile.am (TESTS): Updated accordingly.
  10898. Suggested by observations from Ralf Wildenhues.
  10899. 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10900. Use -9 for maximum xz compression with dist-xz.
  10901. * lib/am/distdir.am (dist-xz, dist, dist-all): Pass -9 to xz.
  10902. * NEWS, THANKS: Update.
  10903. Report by Pavel Sanda.
  10904. 2010-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
  10905. Avoid possible false negatives in cond46.test.
  10906. * tests/cond46.test: Enable shell `errexit' flag (and bumped
  10907. copyright years). Due to this change, the testcase should now
  10908. fail on unexpected failures in calls to $ACLOCAL/$AUTOMAKE (whose
  10909. outcomes were previously unchecked), and on failures in grepping
  10910. the expected diagnostic in Automake stderr.
  10911. 2010-04-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  10912. Generated tests are now just a thin layer around other tests.
  10913. * tests/Makefile.am: Rewrite the rule to generate the `*-p.test'
  10914. test scripts so that any of them simply includes the corresponding
  10915. `*.test' script (after setting `$parallel_tests' to `yes').
  10916. * tests/.gitignore: Add wildcard for temporary files used in the
  10917. generation of `*-p.test' tests.
  10918. 2010-03-30 Stefano Lattarini <stefano.lattarini@gmail.com>
  10919. Avoid an unportable use of `$status' shell variable.
  10920. * Makefile.am (path-check): Don't use the `$status' shell variable
  10921. in the target's rules, as it's special in Zsh (equivalent to `$?',
  10922. and readonly).
  10923. Avoid another use of `chmod -R'.
  10924. * Makefile.am (path-check): To be safe, do not use `chmod -R' on
  10925. $(distdir) before removing it (as Solaris `chmod -R' touches
  10926. symlink targets). Instead, use the cleanup strategy used in
  10927. distdir.am.
  10928. 2010-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10929. Remove uses of @acronym and @sc.
  10930. * doc/automake.texi (Public Macros, Limitations on File Names):
  10931. Remove all usage of @acronym and @sc in the manual.
  10932. Suggested by Karl Berry.
  10933. 2010-03-13 Karl Berry <karl@freefriends.org>
  10934. GNU hello uses fdl.texi, not gpl.texi.
  10935. * doc/automake.texi (Texinfo): Adjust example to upstream
  10936. change.
  10937. 2010-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10938. Formatting cleanups in macro comments.
  10939. * automake.in, lib/Automake/Channels.pm,
  10940. lib/Automake/FileUtils.pm, lib/Automake/Options.pm,
  10941. lib/Automake/Variable.pm, lib/Automake/XFile.pm,
  10942. m4/options.m4, m4/substnot.m4: Fix macro comment format.
  10943. 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  10944. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10945. Avoid generation of `tests/defs-p' file.
  10946. * tests/defs.in: In the generated `configure.in' snippet: call
  10947. `AM_INIT_AUTOMAKE' with the `parallel-tests' option if the shell
  10948. variable `parallel_tests' is set to `yes'.
  10949. * tests/Makefile.am (defs-p): Target removed.
  10950. (check_SCRIPTS): Removed `defs-p'.
  10951. (clean-local-check): Do not unlink `defs-p' anymore.
  10952. ($(parallel_tests)): Transformation rules for the test scripts
  10953. adjusted.
  10954. * tests/gen-parallel-tests: Selection rules for the test
  10955. scripts adjusted.
  10956. * tests/parallel-tests.test: Set `$parallel_tests' to `yes'
  10957. then include `./defs' (rather than simply including `./defs-p').
  10958. * tests/parallel-tests2.test: Likewise.
  10959. * tests/parallel-tests3.test: Likewise.
  10960. * tests/parallel-tests4.test: Likewise.
  10961. * tests/parallel-tests5.test: Likewise.
  10962. * tests/parallel-tests6.test: Likewise.
  10963. * tests/parallel-tests7.test: Likewise.
  10964. * tests/parallel-tests8.test: Likewise.
  10965. * tests/parallel-tests9.test: Likewise.
  10966. * tests/parallel-tests10.test: Likewise.
  10967. * tests/README (Section "Writing Test Cases" subsection "Do"):
  10968. Adjusted the parts referring to tests checking `parallel-tests'
  10969. behaviour. Some other minor related improvements.
  10970. * tests/.gitignore (defs-p): Removed.
  10971. 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
  10972. Remove redundant unset of variable TESTS from some test scripts.
  10973. * tests/color.test: Do not unset the `TESTS' variable, as it's
  10974. already unset in the `defs' file.
  10975. * tests/check5.test: Likewise.
  10976. * tests/check8.test: Likewise.
  10977. * tests/check9.test: Likewise.
  10978. * tests/check10.test: Likewise.
  10979. * tests/check11.test: Likewise.
  10980. * tests/parallel-tests.test: Likewise.
  10981. * tests/parallel-tests3.test: Likewise.
  10982. * tests/parallel-tests4.test: Likewise.
  10983. * tests/parallel-tests5.test: Likewise.
  10984. * tests/parallel-tests6.test: Likewise.
  10985. * tests/parallel-tests7.test: Likewise.
  10986. 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10987. Fix cscope test on systems without working Fortran compiler.
  10988. * tests/cscope.test: Skip remainder of test if `$MAKE all' fails.
  10989. * THANKS: Update.
  10990. Report by Peter Johansson.
  10991. 2010-02-24 Antonio Diaz Diaz <ant_diaz@teleline.es> (tiny change)
  10992. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  10993. Add lzip compression support.
  10994. * automake.in (handle_dist): Recognize dist-lzip.
  10995. (make_paragraphs): Map LZIP to dist-lzip.
  10996. * doc/automake.texi (Dist): Add dist-lzip.
  10997. (Options): Likewise.
  10998. * lib/Automake/Options.pm (_process_option_list): Add dist-lzip.
  10999. * lib/am/distdir.am
  11000. (dist dist-all): Add command to create an lzip-compressed tarball.
  11001. (distcheck): Handle lzip-compressed tarballs just like the others.
  11002. * tests/defs.in: Test for lzip, too.
  11003. * tests/lzip.test: New file, based on nogzip.test.
  11004. * tests/Makefile.am (TESTS): Add lzip.test.
  11005. * NEWS: Update.
  11006. 2010-02-22 Karl Berry <karl@gnu.org>
  11007. Improve help message of mdate-sh.
  11008. * mdate-sh: mention actual output format in help message.
  11009. 2010-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  11010. Deprecate dist-lzma in favor of dist-xz.
  11011. * doc/automake.texi (The Types of Distributions, Options):
  11012. Adjust text to reflect renaming of lzma to xz.
  11013. * NEWS: Update.
  11014. Missing deprecation noted by Antonio Diaz Diaz.
  11015. 2010-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
  11016. Add tests about support of wildcards in EXTRA_DIST.
  11017. * tests/extra10.test: New test, check basic support of wildcards
  11018. in EXTRA_DIST.
  11019. * tests/extra11.test: New test, check more complex usage of
  11020. wildcards in EXTRA_DIST.
  11021. * tests/extra12.test: New test, check usage of wildcards in
  11022. EXTRA_DIST when $builddir != $srcdir.
  11023. * tests/Makefile.am (TESTS): Updated accordingly.
  11024. Necessity of these new tests suggested by Braden McDaniel
  11025. and Ralf Wildenhues.
  11026. 2010-02-08 Simon Josefsson <simon@josefsson.org>
  11027. Fix copyright statement in gnupload script.
  11028. * lib/gnupload: Fix copyright statement.
  11029. 2010-02-06 Dmitry V. Levin <ldv@altlinux.org> (tiny change)
  11030. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  11031. Fix exit status of signal handlers in shell scripts.
  11032. The value of `$?' on entrance to signal handlers in shell scripts
  11033. cannot be relied upon, so set the exit code explicitly to
  11034. 128 + SIG<SIGNAL>.
  11035. * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler.
  11036. * lib/elisp-comp: Likewise.
  11037. * lib/install-sh: Likewise.
  11038. * lib/ylwrap: Likewise. Also, fix script to trap signal 13, not 3.
  11039. * NEWS, THANKS: Update.
  11040. Bug report, analysis, and initial patch by Dmitry V. Levin.
  11041. 2010-02-06 Karl Berry <karl@gnu.org>
  11042. Improve gnupload usage text.
  11043. * gnupload (usage): Shorten to make more likely to fit on a tty
  11044. line. Mention CMD in the synopsis. With ..., plural is implied.
  11045. 2010-01-28 Christos Kontas <xakon@yahoo.com> (tiny change)
  11046. Fix some typos in the manual
  11047. * doc/automake.texi (Nested Packages, Rebuilding): Fix typos.
  11048. 2010-01-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  11049. Fix silent-rules output for disabled dependency tracking.
  11050. * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable
  11051. expansion code to also work in the case where %AMDEP% expands
  11052. to FALSE at config.status time, using new substitution string
  11053. %VERBOSE-NODEP%.
  11054. * automake.in (verbose_nodep_flag): New function, appending
  11055. `@am__nodep@' to the verbose-variable name.
  11056. (handle_languages): If dependencies are not disabled, use it to
  11057. set %VERBOSE-NODEP%.
  11058. * m4/depend.m4: Substitute am__nodep as '_no', so the second
  11059. verbose-variable will always expand to an empty string, if
  11060. dependencies are enabled.
  11061. * tests/silent5.test: Also test --disable-dependency-tracking;
  11062. also test per-target flags for non-C language files.
  11063. * tests/silent9.test: New test, like silent4.test but disable
  11064. dependency tracking.
  11065. * tests/Makefile.am: Adjust.
  11066. * NEWS, THANKS: Update.
  11067. Report by Dmitry V. Levin <ldv@altlinux.org>.
  11068. 2010-01-17 Stefano Lattarini <stefano.lattarini@gmail.com>
  11069. Slighty improve tests acoutbs.test and acoutbs2.test.
  11070. * tests/acoutbs2.test: Enable `errexit' shell flag. Check that
  11071. autoconf and configure work, that the file `zot' is created by
  11072. configure, and that no file containing a backslash in its name is
  11073. created.
  11074. * tests/acoutbs.test: Likewise, plus updated copyright years.
  11075. Fix test acoutbs2.test.
  11076. * tests/acoutbs2: In the generated configure.in: add proper calls
  11077. to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of
  11078. PACKAGE and VERSION. Add a call to aclocal before calling automake.
  11079. Updated copyright years.
  11080. * tests/Makefile.am (XFAIL_TESTS): Removed acoutbs2.test.
  11081. Add forgotten test scripts to $(TESTS).
  11082. * tests/Makefile.am (TESTS): Added test scripts present on the
  11083. filesystem, which were erroneously left out from $(TESTS):
  11084. acoutbs2.test, badopt.test, extra2.test.
  11085. (XFAIL_TESTS): Added acoutbs2.test.
  11086. 2010-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  11087. Sync auxiliary files from upstream.
  11088. * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub:
  11089. Sync from upstream.
  11090. Bump copyright years.
  11091. * aclocal.in (write_aclocal, version): Bump copyright years.
  11092. * automake.in (gen_copyright, version): Likewise.
  11093. * doc/automake.texi: Likewise.
  11094. Rotate ChangeLog.
  11095. * ChangeLog.09: New file, rotated from ...
  11096. * ChangeLog: ... here.
  11097. * Makefile.am (EXTRA_DIST): Distribute ChangeLog.09.
  11098. -----
  11099. Copyright (C) 2010-2017 Free Software Foundation, Inc.
  11100. Copying and distribution of this file, with or without modification, are
  11101. permitted provided the copyright notice and this notice are preserved.
  11102. ;; Variables:
  11103. ;; coding: utf-8
  11104. ;; End: