Skip to content

Commit

Permalink
Merge pull request avocado-framework-tests#2798 from sacsant/ubuntu
Browse files Browse the repository at this point in the history
perf/perf_mem: Add support for ubuntu
  • Loading branch information
Naresh-ibm authored Apr 18, 2024
2 parents 509bbe3 + f055dcf commit cbdd546
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions perf/perf_mem.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ def setUp(self):
deps = ['gcc', 'make']
if self.distro_name in ['rhel', 'SuSE', 'fedora', 'centos']:
deps.extend(['perf'])
elif self.distro_name in ['Ubuntu', 'debian']:
deps.extend(['linux-tools-common'])
else:
self.cancel("Install the package for perf supported \
by %s" % detected_distro.name)
Expand Down

0 comments on commit cbdd546

Please sign in to comment.