File: ann-diff4.vgtest

package info (click to toggle)
valgrind 1%3A3.24.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 176,332 kB
  • sloc: ansic: 795,029; exp: 26,134; xml: 23,472; asm: 14,393; cpp: 9,397; makefile: 7,464; sh: 6,122; perl: 5,446; python: 1,498; javascript: 981; awk: 166; csh: 1
file content (15 lines) | stat: -rw-r--r-- 814 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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
prereq: ../../tests/python_test.sh
vgopts: --cachegrind-out-file=cachegrind.out

# The `sleep` is to ensure the mtime of the second touched file is greater than
# the mtime of the first touched file.
#
# Because only one of the two x.rs files is newer than the cgout files, we don't
# get an mtime warning on x.rs. But both w.rs files are new than the cgout
# files, so we do get an mtime warning on w.rs.
post: touch ann-diff4a.cgout ann-diff4b.cgout && sleep 0.1 && touch ann-diff4a-aux/x.rs ann-diff4a-aux/w.rs ann-diff4b-aux/w.rs && python3 ../cg_annotate ann-diff4a.cgout ann-diff4b.cgout --mod-filename=s/ann-diff4[ab]/ann-diff4N/ --diff

cleanup: rm cachegrind.out