Skip to content

Commit

Permalink
DO_NOT_SUBMIT
Browse files Browse the repository at this point in the history
Run only the ui test with increased log levels to debug test infra
issues on CI.

See #153
  • Loading branch information
ensonic committed Mar 9, 2024
1 parent 4bb66d9 commit 6f68017
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 1 addition & 6 deletions tests/m-bt-edit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ();
Expand Down

0 comments on commit 6f68017

Please sign in to comment.