1. 15 Jan, 2019 1 commit
  2. 26 Apr, 2018 1 commit
  3. 11 Oct, 2017 2 commits
  4. 03 Aug, 2017 1 commit
  5. 13 Jul, 2017 1 commit
    • Tim-Philipp Müller's avatar
      meson: gio/tests: add more gio tests · 613e0082
      Tim-Philipp Müller authored
      Need to fix up some of the tests a little, because the
      test binary will not necessarily be run from the current
      build sub-directory, and the build directory structure
      might not always be a mirror of the source directory
      structure, so pass location of glib-mkenums and
      glib-compile-scheme and such directly.
      613e0082
  6. 09 Apr, 2015 1 commit
  7. 01 Apr, 2015 1 commit
  8. 01 Jun, 2013 2 commits
    • Allison Karlitskaya's avatar
      GSettings tests: reverse installed test complexity · e042db0f
      Allison Karlitskaya authored
      Remove the complications that were introduced in an attempt to make the
      gsettings and gschema-compile tests function as installed tests.  These
      tests are designed (in large part for gsettings and entirely for
      gschema-compile) to test the in-tree tools and should not be testing the
      system versions.
      
      In the future we may want to move the use of the in-tree tools from the
      gsettings testcase into the Makefile and install the resulting files,
      allowing this testcase to run against those files, installed.
      e042db0f
    • Allison Karlitskaya's avatar
      Rework the build system for a new tests approach · f9eb9eed
      Allison Karlitskaya authored
      Perform a substantial cleanup of the build system with respect to
      building and installing testcases.
      
      First, Makefile.decl has been renamed glib.mk and substantially
      expanded.  We intend to add more stuff here in the future, like canned
      rules for mkenums, marshallers, resources, etc.
      
      By default, tests are no longer compiled as part of 'make'.  They will
      be built when 'make check' is run.  The old behaviour can be obtained
      with --enable-always-build-tests.
      
      --disable-modular-tests is gone (because tests are no longer built by
      default).  There is no longer any way to cause 'make check' to be a
      no-op, but that's not very useful anyway.
      
      A new glibtests.m4 file is introduced.  Along with glib.mk, this
      provides for consistent handling of --enable-installed-tests and
      --enable-always-build-tests (mentioned above).
      
      Port our various test-installing Makefiles to the new framework.
      
      This patch substantially improves the situation in the toplevel tests/
      directory.  Things are now somewhat under control there.  There were
      some tests being built that weren't even being run and we run those now.
      The long-running GObject performance tests in this directory have been
      removed from 'make check' because they take too long.
      
      As an experiment, 'make check' now runs the testcases on win32 builds,
      by default.  We can't run them under gtester (since it uses a pipe to
      communicate with the subprocess) so just toss them in TESTS.  Most of
      them are passing on win32.
      
      Things are not quite done here, but this patch is already a substantial
      improvement.  More to come.
      f9eb9eed
  9. 29 May, 2013 2 commits
  10. 20 May, 2013 1 commit
  11. 13 May, 2013 1 commit
  12. 19 Dec, 2012 2 commits
  13. 16 Oct, 2012 1 commit
  14. 17 Aug, 2012 1 commit
  15. 07 Nov, 2011 1 commit
  16. 12 Sep, 2011 1 commit
  17. 31 Mar, 2011 2 commits
  18. 25 Mar, 2011 1 commit
  19. 24 Mar, 2011 1 commit
  20. 28 Nov, 2010 2 commits
  21. 01 Oct, 2010 1 commit
    • Allison Karlitskaya's avatar
      Bug 628937 - gracefully handle broken schemas · e40f3932
      Allison Karlitskaya authored
      Implement the first of two features requested in the bug: when
      encountering a broken .xml schema file, back out the changes in that
      file and continue to parse other files.
      
      This prevents a single broken .xml file from messing up GSettings for
      everyone else.
      
      Add a --strict option to get the old behaviour.  Use this from the test
      cases.
      e40f3932
  22. 06 Aug, 2010 1 commit
  23. 30 Jul, 2010 1 commit
  24. 01 Jul, 2010 1 commit
    • Allison Karlitskaya's avatar
      Bug 622124 - implement flags for GSettings · 5383c711
      Allison Karlitskaya authored
      Add a <flags> tag to the schema file format and a flags='' attribute to
      go along with.  Add some extra test cases for those.
      
      Add new g_settings_{get,set}_flags() calls and support binding to
      GParamSpecFlags properties.  Add test cases.
      5383c711
  25. 30 Jun, 2010 1 commit
  26. 29 Jun, 2010 1 commit
  27. 19 Jun, 2010 1 commit
    • Allison Karlitskaya's avatar
      Fix bug in strinfo · a7689537
      Allison Karlitskaya authored
      We can't search for a larger needle inside of a smaller haystack, and
      unsigned integer subtraction tends to result in very large numbers
      rather than small ones.
      
      Add a check for this case and abort out immediately.
      
      Also add a test case (lifted directly from the docs) that demonstrates
      the problem.
      
      Issue discovered and tracked down by Milan Bouchet-Valat
      a7689537
  28. 17 Jun, 2010 1 commit
  29. 07 Jun, 2010 1 commit
    • Allison Karlitskaya's avatar
      Bug 620496 - schema compiler: reject invalid paths · 71c5e3f8
      Allison Karlitskaya authored
      The GSettings schema compiler was accepting any string as a path.  It is
      probably quite a common mistake to suspect that '/apps/foo' is a valid
      path name when this will cause all sorts of trouble later.  Check for
      this case and report the error.
      71c5e3f8
  30. 15 May, 2010 1 commit
    • Matthias Clasen's avatar
      Fix issues with GSETTINGS_CHECK_RULE · 2ed13de1
      Matthias Clasen authored
      Rename the --schema-files option to --schema-file, since it only
      accepts one file at a time. Change the GSETTINGS_CHECK_RULE to
      use it that way, too. And also make it work better with !srcdir
      builds.
      
      Bugs #616731 and #616864
      2ed13de1
  31. 26 Apr, 2010 1 commit
  32. 25 Apr, 2010 1 commit
  33. 23 Apr, 2010 1 commit
  34. 21 Apr, 2010 1 commit