This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
> > I would also like to know how to run a single file from gas test suite? > > I am able to run gas test suite in a one shot and got 72 PASSES without > > any error or failure. But when I am trying to run a single file (e.g. > > gas/cfi/cfi.exp) as: > > > > $runtest gas/cfi/cfi.exp > > Use the following (in the gas build directory): > > make check RUNTESTFLAGS="gas/cfi/cfi.exp" Hi Nick, Thanks again. The ERROR was: ------------ send: spawn id exp0 not open while executing "send_user "$message\n"" ("default" arm line 2) ------------ I have further investigated this problem. I found that while running single gas test (e.g.gas/cfi/cfi.exp ) at the end dejegnu calls gas_finish procedure. But since there was not any call for gas_start procedure in cfi.exp file dejegnu does not get opened exp0 spawn id. Thus this error comes. To remove this error I have tried following solutions: 1. I put exit at the end of cfi.exp file then this error not occur. But in this case dejagnu will not display the test result summary. So it is not good way. 2. To remove this error there is modification need in gas/lib/gas-defs.exp file. here I have attached modified file. one can get changes by grep on 'gas_spawned'. can you please add this change in nest release? Thanks. Jitendra
Attachment:
gas-defs.exp
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |