https://sourceware.org/bugzilla/show_bug.cgi?id=22737
Nick Clifton <nickc at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #4 from Nick Clifton <nickc at redhat dot com> --- Hi Oleg, > > * A testcase (to gas/testsuite/gas/rx/) to check that the > > patch continues to work. > > I have no idea about the gas testsuite. I need to feed it an .s file and > then match the data in the resulting .o file. Any examples how to do that? Yes - just copy one from the same directory. So for example have a look at gas/testsuite/gas/rx/pr19665.s. Create a similar file called pr22737.s containing the .ascii directive mentioned in comment #1. The look at pr19665.d (in the same directory) and use it as a template to create pr22737.d. Use the output from disassembling the assembled version of pr22737.s as the body of pr22737.d, but remember that you are dealing with regular expressions, so you may need to escape some of the characters. Next edit rx.exp (also in the same direcctory) and add this line at the bottom: run_dump_test "pr22737" Now the gas testsuite with your patched toolchain and make sure that the new test runs and passes. (ie: "cd gas ; make check"). That should be it. Cheers Nick -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils