Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gnome-calendar gnome-calendar
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 540
    • Issues 540
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 43
    • Merge requests 43
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • gnome-calendargnome-calendar
  • Merge requests
  • !26

Fix GCalManager test

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Iñigo Martínez requested to merge inigomartinez/gnome-calendar:fix-tests into master Jan 31, 2018
  • Overview 6
  • Commits 2
  • Pipelines 1
  • Changes 6

These patches sets the proper environment to rn GCalManager test. The first one takes advantage of the configurable tags which can be used along meson's configure_file and creates the schema in the build directory.

The second one, compiles the schema to be ready for the GCalManager test and sets the environment variables necessary for the test to find them.

However, although this all must be done, the test still doesn't work due to an error:

--- command ---
G_TEST_SRCDIR='/gnome-calendar/tests' G_TEST_BUILDDIR='/gnome-calendar/_build/tests' GSETTINGS_SCHEMA_DIR='/gnome-calendar/_build/data' GSETTINGS_BACKEND='memory' MALLOC_CHECK_='2' /gnome-calendar/_build/tests/test-manager
--- stdout ---
/manager/new: 
--- stderr ---

(/gnome-calendar/_build/tests/test-manager:30472): GLib-CRITICAL **: 10:09:35.324: g_hash_table_destroy: assertion 'hash_table != NULL' failed
-------

The original duplicated issue is at #189 (closed).

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix-tests