Skip to content

Commit

Permalink
Merge pull request redhat-performance#211 from yarda/beakerlib-tests
Browse files Browse the repository at this point in the history
Beakerlib tests
  • Loading branch information
yarda authored Nov 18, 2019
2 parents 98ada2b + 55d382b commit 4fc4610
Show file tree
Hide file tree
Showing 38 changed files with 17 additions and 9 deletions.
7 changes: 7 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ jobs:
- fedora-31-x86_64
- fedora-rawhide-x86_64
trigger: pull_request
- job: tests
trigger: pull_request
metadata:
targets:
- fedora-30-x86_64
- fedora-31-x86_64
- fedora-rawhide-x86_64
specfile_path: tuned.spec
synced_files:
- tuned.spec
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ release-cp: release-dir
tuned-gui.py tuned-gui.glade \
tuned-gui.desktop $(VERSIONED_NAME)
cp -a doc experiments libexec man profiles systemtap tuned contrib icons \
$(VERSIONED_NAME)
tests $(VERSIONED_NAME)

archive: clean release-cp
tar czf $(VERSIONED_NAME).tar.gz $(VERSIONED_NAME)
Expand Down Expand Up @@ -223,9 +223,9 @@ clean: clean-html
rm -rf $(VERSIONED_NAME) rpm-build-dir

test:
$(PYTHON) -m unittest discover tests
$(PYTHON) -m unittest discover tests/unit

lint:
$(PYLINT) -E -f parseable tuned *.py tests
$(PYLINT) -E -f parseable tuned *.py tests/unit

.PHONY: clean archive srpm tag test lint
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
component: tuned
contact: None <[email protected]>
contact: Robin Hack <[email protected]>
description: |
Bug summary: Program tuned tried to access /dev/mem between f0000->100000.
Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1688371
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
component: tuned
contact: None <[email protected]>
contact: Robin Hack <[email protected]>
description: |
Bug summary: Tuned takes too long to reload/start when "ulimit -n" is high.
Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1663412
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
component: tuned
contact: None <[email protected]>
contact: Robin Hack <[email protected]>
description: |
Bug summary: Tuned logs error message if '/sys/class/scsi_host/host*/link_power_management_policy' file does not exists.
Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1416712
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
component: tuned
contact: None <[email protected]>
description: ''
contact: Robin Hack <[email protected]>
description: |
Basic tuned-adm functionality check.
duration: 5m
relevancy: |
distro = rhel-6: False
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import unittest2
import tests.globals
import tests.unit.globals
import tuned.monitors.base

class MockMonitor(tuned.monitors.base.Monitor):
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 4fc4610

Please sign in to comment.