]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
regtest: try to make cachegrind/tests/ann-merge2.vgtest deterministic
authorPaul Floyd <pjfloyd@wanadoo.fr>
Thu, 28 Dec 2023 20:50:06 +0000 (21:50 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Thu, 28 Dec 2023 20:50:06 +0000 (21:50 +0100)
Add a touch of the cgout files so that they are more recent than the
source file. git clone seems to sometimes timestamp the source
after the cgout files which generates a warning and a post failure.
At least with FreeBSD on ZFS.

cachegrind/tests/ann-merge2.vgtest

index adbdcde2c4f053ca75a9ccc64dbf39fe06fff7e0..e8223247eb17407967f4d6646eaec382deba3b40 100644 (file)
@@ -1,5 +1,8 @@
 # The `prog` doesn't matter because we don't use its output. Instead we test
 # the post-processing of the cgout files.
+# The touch is because git clone might give the cgout files a timestamp
+# in the future wrt the source file which generates a warning and post failure
+prereq: touch ann-merge1a.cgout ann-merge1b.cgout
 prog: ../../tests/true
 vgopts: --cachegrind-out-file=cachegrind.out