mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-07 12:44:45 +00:00
And deprecate the use of `cg_diff` and `cg_merge`. Because `cg_annotate` can do a better job, even annotating source files when doing diffs in some cases. The user requests merging by passing multiple cgout files to `cg_annotate`, and diffing by passing two cgout files to `cg_annotate` along with `--diff`.
9 lines
362 B
Plaintext
9 lines
362 B
Plaintext
# The `prog` doesn't matter because we don't use its output. Instead we test
|
|
# the post-processing of the cgout files.
|
|
prog: ../../tests/true
|
|
vgopts: --cachegrind-out-file=cachegrind.out
|
|
|
|
post: python3 ../cg_annotate --diff --mod-filename="s/.*aux\//aux\//i" --mod-funcname="s/(f[a-z]*)[0-9]/\1N/g" ann-diff2a.cgout ann-diff2b.cgout
|
|
|
|
cleanup: rm cachegrind.out
|