mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 23:16:14 +01:00
Run some tests with errorcheck mutexes too
All in the name of better test coverage.
This commit is contained in:
parent
d8d25d8c96
commit
6dfd21caef
@ -85,7 +85,11 @@ main (int argc,
|
||||
g_test_init (&argc, &argv, NULL);
|
||||
g_test_bug_base ("https://bugzilla.gnome.org/show_bug.cgi?id=");
|
||||
|
||||
#ifdef G_ERRORCHECK_MUTEXES
|
||||
g_test_add_func ("/glib/642026-ec", testcase);
|
||||
#else
|
||||
g_test_add_func ("/glib/642026", testcase);
|
||||
#endif
|
||||
|
||||
return g_test_run ();
|
||||
}
|
||||
|
@ -15,6 +15,11 @@ TEST_PROGS += 1bit-mutex
|
||||
TEST_PROGS += 642026
|
||||
642026_LDADD = $(progs_ldadd)
|
||||
|
||||
TEST_PROGS += 642026-ec
|
||||
642026_ec_SOURCES = 642026.c
|
||||
642026_ec_LDADD = $(progs_ldadd)
|
||||
642026_ec_CFLAGS = -DG_ERRORCHECK_MUTEXES
|
||||
|
||||
TEST_PROGS += 1bit-emufutex
|
||||
1bit_emufutex_SOURCES = 1bit-mutex.c
|
||||
1bit_emufutex_CFLAGS = -DTEST_EMULATED_FUTEX
|
||||
|
Loading…
Reference in New Issue
Block a user