-
Couldn't load subscription status.
- Fork 20
Integrate revng-distributable tests with orchestra #54
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
Draft
fcremo
wants to merge
5
commits into
revng:master
Choose a base branch
from
fcremo:feature/test-revng-distributable
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -61,6 +61,7 @@ | |
| -no-glib \ | ||
| -no-cups \ | ||
| -no-gtk \ | ||
| -qt-libmd4c \ | ||
| -qt-harfbuzz \ | ||
| -fontconfig \ | ||
| -system-freetype \ | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| # Status of revng-distributable tests | ||
|
|
||
| ## How to run the tests | ||
|
|
||
| To run revng-distributable tests, use `orc install --test revng-distributable`. | ||
| By default, tests are run on all supported distros using podman and xvfb. | ||
| The test mode can be changed by adding the following to `user_options.yml`: | ||
|
|
||
| ```yml | ||
| #@overlay/replace | ||
| cold_revng_test_method: podman-xvfb | ||
| ``` | ||
|
|
||
| See the supported test modes in `revng_distributable.yml`. | ||
|
|
||
| ## Known-working test modes | ||
|
|
||
| The tests work on the following distros (podman+xvfb): | ||
|
|
||
| - Archlinux | ||
| - Centos {7,8} | ||
| - Debian {7,8,9,10} | ||
| - Fedora {29,30,31,32} | ||
| - Opensuse 15.2 | ||
| - Ubuntu {16,18,20}.04 | ||
| - Voidlinux | ||
|
|
||
| The tests also work running revng-ui directly on the host, using the running X11 server (`host-x11` test mode) | ||
|
|
||
| ## Broken distros | ||
|
|
||
| - gentoo: need to revise the scripts which install dependencies | ||
| - opensuse 15.{0,1}: zypper segfaults | ||
2 changes: 1 addition & 1 deletion
2
.orchestra/support/revng-distributable/dockers/archlinux.docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| FROM archlinux | ||
|
|
||
| COPY install-revng-dependencies / | ||
| RUN /install-revng-dependencies | ||
| RUN /install-revng-dependencies --include-test-dependencies | ||
|
|
||
| ENV DISPLAY=:0 | ||
| ENV QT_DEBUG_PLUGINS=1 |
12 changes: 12 additions & 0 deletions
12
.orchestra/support/revng-distributable/dockers/broken/gentoo.docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| FROM gentoo/stage3-amd64 AS base-gentoo | ||
|
|
||
| COPY install-revng-dependencies / | ||
| RUN echo 'FEATURES="$FEATURES -sandbox -usersandbox -ipc-sandbox -network-sandbox -pid-sandbox"' >> /etc/portage/make.conf | ||
| RUN emerge-webrsync | ||
|
|
||
| FROM base-gentoo | ||
| RUN echo "sys-auth/elogind" >> "/etc/portage/package.mask" | ||
| RUN /install-revng-dependencies --include-test-dependencies | ||
|
|
||
| ENV DISPLAY=:0 | ||
| ENV QT_DEBUG_PLUGINS=1 |
2 changes: 1 addition & 1 deletion
2
...istributable/dockers/opensuse-15.0.docker → ...table/dockers/broken/opensuse-15.0.docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| FROM opensuse/leap:15.0 | ||
|
|
||
| COPY install-revng-dependencies / | ||
| RUN /install-revng-dependencies | ||
| RUN /install-revng-dependencies --include-test-dependencies | ||
|
|
||
| ENV DISPLAY=:0 | ||
| ENV QT_DEBUG_PLUGINS=1 |
2 changes: 1 addition & 1 deletion
2
...istributable/dockers/opensuse-15.1.docker → ...table/dockers/broken/opensuse-15.1.docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| FROM opensuse/leap:15.1 | ||
|
|
||
| COPY install-revng-dependencies / | ||
| RUN /install-revng-dependencies | ||
| RUN /install-revng-dependencies --include-test-dependencies | ||
|
|
||
| ENV DISPLAY=:0 | ||
| ENV QT_DEBUG_PLUGINS=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.orchestra/support/revng-distributable/dockers/debian-10.docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 5 additions & 3 deletions
8
.orchestra/support/revng-distributable/dockers/debian-8.docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| FROM debian:9 | ||
|
|
||
| COPY install-revng-dependencies / | ||
| RUN /install-revng-dependencies | ||
| RUN /install-revng-dependencies --include-test-dependencies | ||
|
|
||
| ENV DISPLAY=:0 | ||
| ENV QT_DEBUG_PLUGINS=1 |
2 changes: 1 addition & 1 deletion
2
.orchestra/support/revng-distributable/dockers/fedora-29.docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| FROM fedora:29 | ||
|
|
||
| COPY install-revng-dependencies / | ||
| RUN /install-revng-dependencies | ||
| RUN /install-revng-dependencies --include-test-dependencies | ||
|
|
||
| ENV DISPLAY=:0 | ||
| ENV QT_DEBUG_PLUGINS=1 |
2 changes: 1 addition & 1 deletion
2
.orchestra/support/revng-distributable/dockers/fedora-30.docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| FROM fedora:30 | ||
|
|
||
| COPY install-revng-dependencies / | ||
| RUN /install-revng-dependencies | ||
| RUN /install-revng-dependencies --include-test-dependencies | ||
|
|
||
| ENV DISPLAY=:0 | ||
| ENV QT_DEBUG_PLUGINS=1 |
2 changes: 1 addition & 1 deletion
2
.orchestra/support/revng-distributable/dockers/fedora-31.docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| FROM fedora:31 | ||
|
|
||
| COPY install-revng-dependencies / | ||
| RUN /install-revng-dependencies | ||
| RUN /install-revng-dependencies --include-test-dependencies | ||
|
|
||
| ENV DISPLAY=:0 | ||
| ENV QT_DEBUG_PLUGINS=1 |
2 changes: 1 addition & 1 deletion
2
.orchestra/support/revng-distributable/dockers/fedora-32.docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| FROM fedora:32 | ||
|
|
||
| COPY install-revng-dependencies / | ||
| RUN /install-revng-dependencies | ||
| RUN /install-revng-dependencies --include-test-dependencies | ||
|
|
||
| ENV DISPLAY=:0 | ||
| ENV QT_DEBUG_PLUGINS=1 |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.