Don't use $RANDOM if the shell doesn't have it. (#346373, Thomas Klausner)

* tests/Makefile.am: Don't use $RANDOM if the shell doesn't
        have it.  (#346373, Thomas Klausner)
This commit is contained in:
Matthias Clasen 2006-12-18 05:02:37 +00:00
parent 5e287750f7
commit 81aee2e13e
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-12-18 Matthias Clasen <mclasen@redhat.com>
* tests/Makefile.am: Don't use $RANDOM if the shell doesn't
have it. (#346373, Thomas Klausner)
2006-12-17 Behdad Esfahbod <behdad@gnome.org>
* glib/gstring.c: Improve docs about string functions taking a
@ -5,6 +10,13 @@
2006-12-17 Matthias Clasen <mclasen@redhat.com>
* glib/gconvert.c:
* glib/gutf8.c (_g_charset_get_aliases): Put the G_GNUC_INTERNAL
where gcc doesn't complain about it.
* glib/ghash.c: Make ref_count an int to avoid compiler
warnings.
* configure.in: Use AC_LANG_SOURCE for the clock test.
* glib/gthreadpool.h:

View File

@ -121,7 +121,7 @@ TESTS = $(test_programs) $(test_scripts)
TESTS_ENVIRONMENT = srcdir=$(srcdir) \
LIBCHARSET_ALIAS_DIR=$(top_builddir)/glib/libcharset \
MALLOC_CHECK_=2 \
MALLOC_PERTURB_=$$(($$RANDOM % 256))
if test "$$RANDOM" != "" ; then MALLOC_PERTURB_=$$(($$RANDOM % 256)); fi
progs_ldadd = $(EFENCE) $(libglib) $(EFENCE)
thread_ldadd = $(libgthread) $(G_THREAD_LIBS) $(progs_ldadd)