From bfdb57ba4dfa6a5a8b199c19a1c0de027c5e3937 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 21 Nov 2019 21:04:17 +0100 Subject: keep not modified artifact data in cache --- src/benchmarks/fd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/benchmarks/fd.py') diff --git a/src/benchmarks/fd.py b/src/benchmarks/fd.py index 29cac09..6b9c316 100644 --- a/src/benchmarks/fd.py +++ b/src/benchmarks/fd.py @@ -36,7 +36,7 @@ class BenchmarkFd(Benchmark): name = "fd" super().__init__(name) - self.cmd = "fd -HI -e c '.*[0-9].*' {build_dir}/linux" + self.cmd = "fd -HI -e c '.*[0-9].*' {linux_files}" def prepare(self): super().prepare() @@ -63,7 +63,7 @@ class BenchmarkFd(Benchmark): linux = GitArtifact("linux", "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git") linux_version = "v5.3" - linux.provide(linux_version, os.path.join(self.build_dir, "linux")) + self.linux_files = linux.provide(linux_version) def summary(self): self.barplot_single_arg("{task-clock}", -- cgit v1.2.3