Commit Graph

11 Commits

Author SHA1 Message Date
Arnaldo Carvalho de Melo 172d4683a3 regtest: Accept --diff instad of plain 'diff' as long option
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2012-05-14 19:36:58 -03:00
Arnaldo Carvalho de Melo b4977b20e0 dwarves: __tag__has_type_loop has to handle a NULL type (void)
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2009-09-14 17:39:52 -03:00
Arnaldo Carvalho de Melo 3049d6962f regtest: Use getopt
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2009-09-14 17:09:44 -03:00
Arnaldo Carvalho de Melo 7039a6fc2e regtest: Ask if the changes are ok
If they are, the 'after' file is moved to the 'before' directory.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2009-09-12 18:12:44 -03:00
Arnaldo Carvalho de Melo fc1269af2f pahole: Introduce --classes_as_structs
That asks dwarf_fprintf to always use "struct" in places where it would
use "class", because CTF doesn't have the "class" concept, so for
'regtest diffctf' sake, we use this.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2009-08-24 17:22:43 -03:00
Arnaldo Carvalho de Melo 8ad6fa6658 regtest: Allow specifying just a directory
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2009-08-24 16:55:32 -03:00
Arnaldo Carvalho de Melo 7455b9b884 regtest: Introduce diffctf option
To compare DWARF and CTF encodings for the same file.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2009-08-24 15:45:32 -03:00
Arnaldo Carvalho de Melo d9b4badca2 ctf: Handle dwfl_module_getsymtab errors
That can happen, for instance, when the symtabs are NOBITS. When that
happened we ended up in an infinite loop. Call it earlier and check the
result.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2009-08-23 11:47:03 -03:00
Arnaldo Carvalho de Melo cd03ae0eb1 regtest: Add a 'ctf' mode
To encode CTF information from the DWARF one. Next patches will add
support for comparing the CTF and DWARF info.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2009-08-22 09:34:12 -03:00
Arnaldo Carvalho de Melo ab554628a1 regtest: Don't run the tools on symlinks
Its redundant and thus slows down the whole regression testing.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2009-08-22 09:14:28 -03:00
Arnaldo Carvalho de Melo 641daf5191 regtest: remove the .py extension
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2009-08-21 23:03:34 -03:00