This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


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

Re: new libdwfl/core-file test


That doesn't do much to test correctness, though certainly testing that it
doesn't crash is a start.  I'm not sure it's really worthwhile to have a
separate program for this.  You can drive that code by running
"eu-unstrip -n --core=FILE" and also check the output for the expected
results.  

You won't really be testing much unless you try it with a wide variety of
different core file contents.  Unfortunately, I didn't really keep track
when hacking on that code of all the cases that ought to be tested.
Looking at comments in the uncovered code may give you some clues.


Thanks,
Roland


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