Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools: Skip slow tests on hppa in Debian #15223

Merged
merged 2 commits into from
Jan 27, 2021

Conversation

martinpitt
Copy link
Member

hppa needs almost an hour to run the test-tls-certfile unit test. Skip
slow tests on this architecture to avoid a build timeout.

https://bugs.debian.org/981127

hppa needs almost an hour to run the test-tls-certfile unit test. Skip
slow tests on this architecture to avoid a build timeout.

https://bugs.debian.org/981127
@martinpitt martinpitt added the release-blocker Targetted for next release label Jan 27, 2021
ifeq ($(shell dpkg-architecture -qDEB_BUILD_ARCH),riscv64)
# riscv is an emulated architecture for now, and too slow to run expensive unit tests
# hppa's threading is absurdly slow (#981127)
SLOW_ARCHES = $(filter $(shell dpkg-architecture -qDEB_BUILD_ARCH),riscv64 hppa)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

squint

Fine with this change in theory, but I wonder if you could find a more readable way to express it...

I guess we don't have any kind of in verb here unfortunately :/

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heh, yeah.. I modelled it after the other ifneq() bits we have (and previously had) in rules. Makefile syntax is so arcane that I usually resort to copy&paste of proven snippets than trying to invent something new :-/

@martinpitt martinpitt merged commit bd033c7 into cockpit-project:master Jan 27, 2021
@martinpitt martinpitt deleted the debian branch January 27, 2021 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-blocker Targetted for next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants