| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
Just code cleanup.
https://bugzilla.gnome.org/699959
|
|
|
|
|
|
|
| |
Lots of copy/paste of the error handling path, let's deduplicate
so I can sanely patch this code later.
https://bugzilla.gnome.org/699959
|
|
|
|
|
|
|
|
| |
It's a recipe for race conditions and error; on some hardware
architectures one thread isn't guaranteed to see the results
of writes from another thread without a cache flush.
https://bugzilla.gnome.org/show_bug.cgi?id=700855
|
|
|
|
|
|
| |
The producer could push two values with the first one being
lost. Fix this by blocking the producer until a consumer
reads.
|
|
|
|
|
|
| |
Windows doesn't define STDOUT_FILENO and STDERR_FILENO, and they're
not even guaranteed to be 1 and 2. So just use stdio instead. Also fix
a counting error. Pointed out on gtk-devel-list.
|
|
|
|
|
|
|
|
|
|
| |
The test /gdbus/connection/large_message waits for a dbus name to appear.
The dbus name is created by a another process executed in the background.
If for some reason this fails, the test will likely wait forever.
This will avoid this situation by making the test fail if the dbus service
has not appeared after 10 seconds.
https://bugzilla.gnome.org/show_bug.cgi?id=698981
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=700746
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Back in the far-off twentieth century, it was normal on unix
workstations for U+0060 GRAVE ACCENT to be drawn as "‛" and for U+0027
APOSTROPHE to be drawn as "’". This led to the convention of using
them as poor-man's ‛smart quotes’ in ASCII-only text.
However, "'" is now universally drawn as a vertical line, and "`" at a
45-degree angle, making them an `odd couple' when used together.
Unfortunately, there are lots of very old strings in glib, and also
lots of new strings in which people have kept up the old tradition,
perhaps entirely unaware that it used to not look stupid.
Fix this by just using 'dumb quotes' everywhere.
https://bugzilla.gnome.org/show_bug.cgi?id=700746
|
| |
|
| |
|
|
|
|
|
| |
This makes the tests in tests installed, except for
the performance tests.
|
| |
|
|
|
|
|
|
|
|
|
| |
It tries to run glib-compile-schemas and glib-mkenums, which
we won't have in the runtime tree.
Anyways it's kind of a dumb test since the best test for
compilation tools is...compiling things, which we already
do frequently.
|
|
|
|
| |
This makes glib/tests/testing pass again.
|
|
|
|
|
|
| |
It wants a writable copy of the applications, and appears to
depend on a prior execution of "mimeapps". This will take
a bit of work to untangle.
|
|
|
|
| |
There's no /etc/hosts in gnome-ostree...
|
| |
|
|
|
|
|
| |
file passes now, appinfo needs a bit more work, but is getting
there.
|
|
|
|
| |
We can just add all the static test data to EXTRA_DIST.
|
|
|
|
|
|
|
|
|
|
|
| |
Since we expect them to crash, let's not spam the system
core dump collection (systemd, abrt). At the moment
systemd is not very robust against programs crashing
in loops.
Instead of aborting, we exit(1).
https://bugzilla.gnome.org/show_bug.cgi?id=700714
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This makes the gobject tests run as part of the ostree integration
tests.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
See https://live.gnome.org/GnomeGoals/InstalledTests for more
information.
The tests now support being run both uninstalled and installed, so
'make check' works for those who want it. For tests which need data
files, the way this works is they look in the compiled in value of
SRCDIR by default, and the generated tests use "env G_TEST_DATA=" to
override that.
This patch only converts glib/tests for now; if this patch looks good,
I'll do the rest of the tests.
https://bugzilla.gnome.org/show_bug.cgi?id=699079
|
|
|
|
|
|
|
|
| |
It's always going to be defined, we don't support compiling these
tests "by hand". This is a cleanup commit for the installed tests
work.
https://bugzilla.gnome.org/show_bug.cgi?id=699079
|
|
|
|
|
|
|
| |
This is a preparatory commit for installed tests work; having things
cleanly categorized helps.
https://bugzilla.gnome.org/show_bug.cgi?id=699079
|
|
|
|
|
|
|
| |
This way we're *always* testing writability rather than only sometimes
doing it in the source directory.
https://bugzilla.gnome.org/show_bug.cgi?id=699079
|
| |
|
|
|
|
|
|
|
| |
AC_HEADER_STDC is obsolete (pre-C89 headers are no longer an issue),
and the resulting STDC_HEADERS define is anyway not used.
https://bugzilla.gnome.org/show_bug.cgi?id=700263
|
| |
|
|
|
|
| |
rather than implementing it by hand
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=679683
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=679683
|
|
|
|
|
|
|
|
| |
Rather than overloading --verbose, just skip the tests that aren't
supposed to be run in the parent process (so that if you do run the
toplevel test with --verbose, it doesn't immediately error out).
https://bugzilla.gnome.org/show_bug.cgi?id=679683
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
g_test_trap_fork() doesn't work on Windows and is potentially flaky on
unix anyway given the fork-but-don't-exec. Replace it with
g_test_trap_subprocess(), which re-spawns the same program with
arguments telling it to run a specific (otherwise-ignored) test case.
Make the existing g_test_trap_fork() unit tests be unix-only (they
never passed on Windows anyway), and add a parallel set of
g_test_trap_subprocess() tests.
Also fix the logic of gtestutils's "-p" argument (which is used by the
subprocess tests); previously if you had tests "/foo/bar" and
"/foo/bar/baz", and ran the test program with "-p /foo/bar/baz", it
would run "/foo/bar" too. Fix that and add tests.
https://bugzilla.gnome.org/show_bug.cgi?id=679683
|
|
|
|
|
|
|
|
| |
Not sure why it was doing this, but it's not necessary (all of glib's
tests pass fine without it), and it breaks tests that try to use
g_spawn_sync() or GChildWatchSource after doing a g_test_trap_fork().
https://bugzilla.gnome.org/show_bug.cgi?id=679683
|
|
|
|
|
|
| |
Need to append ".exe" to the spawned binary name on Windows
https://bugzilla.gnome.org/show_bug.cgi?id=679683
|
|
|
|
| |
Bug #700203.
|
| |
|
|
|
|
|
| |
Don't refer to Quicksort in the documentation of
g_value_array_sort, but just to qsort().
|
| |
|
| |
|
|
|
|
|
| |
res_init() exists in the C library here and as such is detected
by configure, but it is not declared in any header.
|
|
|
|
|
|
|
|
|
| |
Although none of the in-tree GSocketConnectable types need it, other
types (like SoupAddress) may find it useful to be able to pass a URI
and a default-port to GProxyAddressEnumerator separately (the same way
you can with GNetworkAddress). So add a default-port property.
https://bugzilla.gnome.org/show_bug.cgi?id=698877
|
|
|
|
| |
The --subunit option was missing from the man page.
|
|
|
|
| |
The @ENUMPREFIX@ placeholder was missing in the man page.
|
|
|
|
| |
The --stdinc option was missing from the man page.
|