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

Make tests compatible with new libwayland format #188

Merged
merged 1 commit into from
Sep 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/integration-tests/test-set-monitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ static GtkWindow* window;

static void callback_0()
{
EXPECT_MESSAGE(zwlr_layer_shell_v1 .get_layer_surface wl_output@);
EXPECT_MESSAGE(zwlr_layer_shell_v1 .get_layer_surface wl_output);
window = create_default_window();
gtk_layer_init_for_window(window);
ASSERT_EQ(gdk_display_get_n_monitors(gdk_display_get_default()), 1, "%d");
Expand Down
2 changes: 1 addition & 1 deletion test/run-integration-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def verify_result(lines: List[str]):
for i, line in enumerate(lines):
if line.startswith('EXPECT: '):
assertions.append(line.split()[1:])
elif line.startswith('[') and line.endswith(')') and '@' in line:
elif line.startswith('[') and line.endswith(')') and ('@' in line or '#' in line):
if assertions and line_contains(line, assertions[0]):
assertions = assertions[1:]
elif line == 'CHECK EXPECTATIONS COMPLETED' or i == len(lines) - 1:
Expand Down
Loading