From 6f6801754d1655c51f5ed818ffeff57b11188a72 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Sat, 9 Mar 2024 17:59:17 +0100 Subject: [PATCH] DO_NOT_SUBMIT Run only the ui test with increased log levels to debug test infra issues on CI. See #153 --- .github/workflows/build.yml | 14 +++++++------- tests/m-bt-edit.c | 7 +------ 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 12ee185b3..033021832 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,14 +40,14 @@ jobs: - name: make check id: check run: | - make -k check BT_ARCHIVE_LOGS=1 + make -k bt_edit.check BT_ARCHIVE_LOGS=1 GST_DEBUG="*:4" - - name: Rerun failed tests under gdb and get backtraces - id: rerun_tests - if: always() && steps.check.outcome == 'failure' - run: | - cat ./bt_edit.log ./test-suite.log - scripts/gdbtests.sh ./test-suite.log + #- name: Rerun failed tests under gdb and get backtraces + # id: rerun_tests + # if: always() && steps.check.outcome == 'failure' + # run: | + # cat ./bt_edit.log ./test-suite.log + # scripts/gdbtests.sh ./test-suite.log # File not found: '/home/runner/work/_actions/test-summary/action/<...>/index.js' #- name: Test Summary diff --git a/tests/m-bt-edit.c b/tests/m-bt-edit.c index d8325d892..0425808f7 100644 --- a/tests/m-bt-edit.c +++ b/tests/m-bt-edit.c @@ -164,16 +164,11 @@ bt_edit_teardown (void) /* start the test run */ gint -main (gint argc, gchar ** argv) +main (gint argc, gchar **argv) { gint nf; SRunner *sr; - // TODO(153) - this test does not work on github actions yet (the xvfb setup - // fails), lets skip for now - if (g_getenv ("CI")) - return EXIT_SUCCESS; - g_set_application_name (PACKAGE_NAME); setup_log_base (argc, argv); setup_log_capture ();