Skip to content

Fix CI#430

Open
Gliese852 wants to merge 4 commits into
ubuntu:mainfrom
Gliese852:fix-tests
Open

Fix CI#430
Gliese852 wants to merge 4 commits into
ubuntu:mainfrom
Gliese852:fix-tests

Conversation

@Gliese852

Copy link
Copy Markdown
Contributor

As far as I understand, after #315 a significant number of tests broke. This was mostly due to the fact that the CanTTY property introduced in the PR was not added to the test dbus interface. Also, recently the actions stopped running completely because actions/upload-artifact@v3 was deprecated.

Updated to actions/upload-artifact@v4 and fixed the problem with can_tty.

Comment thread tests/src/test-runner.c
seat->path = g_strdup_printf ("/org/freedesktop/login1/seat/%s", seat->id);
seat->can_graphical = TRUE;
seat->can_multi_session = TRUE;
seat->can_tty = TRUE;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

So the tests do pass when this is set to true, but other than that, is there a reason this should be set to true by default?

Comment thread src/lightdm.c
seat_set_property (seat, "exit-on-failure", "true");

/* in the absence of login1 we find out this using our own heuristics */
seat_set_can_tty (seat, vt_can_multi_seat ());

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Could this lead to false results (where CanTTY is set to false?)

I don't think not being multiseat implies not being able to TTY a single seat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants