You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(122) |
Nov
(152) |
Dec
(69) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(6) |
Feb
(25) |
Mar
(73) |
Apr
(82) |
May
(24) |
Jun
(25) |
Jul
(10) |
Aug
(11) |
Sep
(10) |
Oct
(54) |
Nov
(203) |
Dec
(182) |
| 2004 |
Jan
(307) |
Feb
(305) |
Mar
(430) |
Apr
(312) |
May
(187) |
Jun
(342) |
Jul
(487) |
Aug
(637) |
Sep
(336) |
Oct
(373) |
Nov
(441) |
Dec
(210) |
| 2005 |
Jan
(385) |
Feb
(480) |
Mar
(636) |
Apr
(544) |
May
(679) |
Jun
(625) |
Jul
(810) |
Aug
(838) |
Sep
(634) |
Oct
(521) |
Nov
(965) |
Dec
(543) |
| 2006 |
Jan
(494) |
Feb
(431) |
Mar
(546) |
Apr
(411) |
May
(406) |
Jun
(322) |
Jul
(256) |
Aug
(401) |
Sep
(345) |
Oct
(542) |
Nov
(308) |
Dec
(481) |
| 2007 |
Jan
(427) |
Feb
(326) |
Mar
(367) |
Apr
(255) |
May
(244) |
Jun
(204) |
Jul
(223) |
Aug
(231) |
Sep
(354) |
Oct
(374) |
Nov
(497) |
Dec
(362) |
| 2008 |
Jan
(322) |
Feb
(482) |
Mar
(658) |
Apr
(422) |
May
(476) |
Jun
(396) |
Jul
(455) |
Aug
(267) |
Sep
(280) |
Oct
(253) |
Nov
(232) |
Dec
(304) |
| 2009 |
Jan
(486) |
Feb
(470) |
Mar
(458) |
Apr
(423) |
May
(696) |
Jun
(461) |
Jul
(551) |
Aug
(575) |
Sep
(134) |
Oct
(110) |
Nov
(157) |
Dec
(102) |
| 2010 |
Jan
(226) |
Feb
(86) |
Mar
(147) |
Apr
(117) |
May
(107) |
Jun
(203) |
Jul
(193) |
Aug
(238) |
Sep
(300) |
Oct
(246) |
Nov
(23) |
Dec
(75) |
| 2011 |
Jan
(133) |
Feb
(195) |
Mar
(315) |
Apr
(200) |
May
(267) |
Jun
(293) |
Jul
(353) |
Aug
(237) |
Sep
(278) |
Oct
(611) |
Nov
(274) |
Dec
(260) |
| 2012 |
Jan
(303) |
Feb
(391) |
Mar
(417) |
Apr
(441) |
May
(488) |
Jun
(655) |
Jul
(590) |
Aug
(610) |
Sep
(526) |
Oct
(478) |
Nov
(359) |
Dec
(372) |
| 2013 |
Jan
(467) |
Feb
(226) |
Mar
(391) |
Apr
(281) |
May
(299) |
Jun
(252) |
Jul
(311) |
Aug
(352) |
Sep
(481) |
Oct
(571) |
Nov
(222) |
Dec
(231) |
| 2014 |
Jan
(185) |
Feb
(329) |
Mar
(245) |
Apr
(238) |
May
(281) |
Jun
(399) |
Jul
(382) |
Aug
(500) |
Sep
(579) |
Oct
(435) |
Nov
(487) |
Dec
(256) |
| 2015 |
Jan
(338) |
Feb
(357) |
Mar
(330) |
Apr
(294) |
May
(191) |
Jun
(108) |
Jul
(142) |
Aug
(261) |
Sep
(190) |
Oct
(54) |
Nov
(83) |
Dec
(22) |
| 2016 |
Jan
(49) |
Feb
(89) |
Mar
(33) |
Apr
(50) |
May
(27) |
Jun
(34) |
Jul
(53) |
Aug
(53) |
Sep
(98) |
Oct
(206) |
Nov
(93) |
Dec
(53) |
| 2017 |
Jan
(65) |
Feb
(82) |
Mar
(102) |
Apr
(86) |
May
(187) |
Jun
(67) |
Jul
(23) |
Aug
(93) |
Sep
(65) |
Oct
(45) |
Nov
(35) |
Dec
(17) |
| 2018 |
Jan
(26) |
Feb
(35) |
Mar
(38) |
Apr
(32) |
May
(8) |
Jun
(43) |
Jul
(27) |
Aug
(30) |
Sep
(43) |
Oct
(42) |
Nov
(38) |
Dec
(67) |
| 2019 |
Jan
(32) |
Feb
(37) |
Mar
(53) |
Apr
(64) |
May
(49) |
Jun
(18) |
Jul
(14) |
Aug
(53) |
Sep
(25) |
Oct
(30) |
Nov
(49) |
Dec
(31) |
| 2020 |
Jan
(87) |
Feb
(45) |
Mar
(37) |
Apr
(51) |
May
(99) |
Jun
(36) |
Jul
(11) |
Aug
(14) |
Sep
(20) |
Oct
(24) |
Nov
(40) |
Dec
(23) |
| 2021 |
Jan
(14) |
Feb
(53) |
Mar
(85) |
Apr
(15) |
May
(19) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
(57) |
Oct
(73) |
Nov
(56) |
Dec
(22) |
| 2022 |
Jan
(3) |
Feb
(22) |
Mar
(6) |
Apr
(55) |
May
(46) |
Jun
(39) |
Jul
(15) |
Aug
(9) |
Sep
(11) |
Oct
(34) |
Nov
(20) |
Dec
(36) |
| 2023 |
Jan
(79) |
Feb
(41) |
Mar
(99) |
Apr
(169) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(57) |
Sep
(19) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
1
|
2
(3) |
3
(2) |
4
|
|
5
(1) |
6
(2) |
7
|
8
|
9
(2) |
10
|
11
|
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
|
19
|
20
(1) |
21
|
22
|
23
|
24
|
25
|
|
26
|
27
|
28
|
29
|
30
|
31
|
|
|
From: Rhys K. <rhy...@so...> - 2020-07-03 00:46:17
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=efbc655366e36cf6a747341cdec85e52cac83be4 commit efbc655366e36cf6a747341cdec85e52cac83be4 Author: Rhys Kidd <rhy...@gm...> Date: Fri Jul 3 10:29:42 2020 +1000 Small fixes for new auxchecks target that runs GNU Scientific Library tests Fixes: - Ensure proper slash is present in default folder path: auxprogs/auxchecks. - Ensure intermediate build artifacts aren't accidentally committed to git. Fixes: 5efd866df ("Add new auxchecks target that runs GNU Scientific Library tests.") Diff: --- .gitignore | 3 +++ auxprogs/Makefile.am | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 58d88f38a2..1080728e69 100644 --- a/.gitignore +++ b/.gitignore @@ -61,6 +61,9 @@ /auxprogs/valgrind-di-server /auxprogs/valgrind-listener +# /auxprogs/auxchecks/ +/auxprogs/auxchecks/* + # /cachegrind/ /cachegrind/*.so /cachegrind/.deps diff --git a/auxprogs/Makefile.am b/auxprogs/Makefile.am index 83c887217b..c05f82825e 100644 --- a/auxprogs/Makefile.am +++ b/auxprogs/Makefile.am @@ -127,7 +127,7 @@ auxclean: gsl-clean # You can override AUX_CHECK_DIR to use a previous download/build. # Must be an absolute path. # e.g. make auxchecks AUX_CHECK_DIR=$HOME/valgrind-auxtests -AUX_CHECK_DIR=$(abs_builddir)auxchecks +AUX_CHECK_DIR=$(abs_builddir)/auxchecks # GNU Scientific Library 1.6 GSL_DIR_NAME=gsl-1.6 |
|
From: Rhys K. <rhy...@gm...> - 2020-07-03 00:28:02
|
This is a really neat test suite to run through valgrind. Impressed with how clean it was. Do you happen to know how a more recent gsl, like 2.x, goes? I've noticed two little things (in line below), which I'll commit a patch to git master branch for. Regards, Rhys On Fri, 3 Jul 2020 at 02:46, Mark Wielaard <ma...@so...> wrote: > > https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=5efd866df21ab1f13402b280bcbe021b3b50a032 > > commit 5efd866df21ab1f13402b280bcbe021b3b50a032 > Author: Mark Wielaard <ma...@kl...> > Date: Tue Jun 30 17:51:49 2020 +0200 > > Add new auxchecks target that runs GNU Scientific Library tests. > > Replace the gsl16test script under auxprogs that you run by hand > with a new make target auxchecks which fetches the source code, > patches, reconfigures and builds all tests. Then run all tests > under valgrind. > > Diff: > --- > Makefile.am | 4 ++ > auxprogs/Makefile.am | 99 ++++++++++++++++++++++++++++++++++-- > auxprogs/gsl-1.6.out.x86.exp | 40 +++++++++++++++ > auxprogs/gsl-1.6.patch | 36 +++++++++++++ > auxprogs/gsl-1.6.supp | 14 +++++ > auxprogs/gsl16-badfree.patch | 32 ------------ > auxprogs/gsl16-wavelet.patch | 11 ---- > auxprogs/gsl16test | 118 > ------------------------------------------- > 8 files changed, 189 insertions(+), 165 deletions(-) > > diff --git a/Makefile.am b/Makefile.am > index 08db834019..f10517edca 100644 > --- a/Makefile.am > +++ b/Makefile.am > @@ -94,6 +94,10 @@ exp-regtest: check > perf: check > @PERL@ perf/vg_perf perf > > +# Auxiliary test suites run under valgrind > +auxchecks: all > + $(MAKE) -C auxprogs auxchecks > + > # Nb: no need to include any Makefile.am files here, or files included > from > # them, as automake includes them automatically. Also not COPYING, README > # or NEWS. > diff --git a/auxprogs/Makefile.am b/auxprogs/Makefile.am > index 56cc5efc70..83c887217b 100644 > --- a/auxprogs/Makefile.am > +++ b/auxprogs/Makefile.am > @@ -4,7 +4,6 @@ dist_noinst_SCRIPTS = \ > change-copyright-year \ > dump_insn_ppc.sh \ > gen-mdg \ > - gsl16test \ > gsl19test \ > make_or_upd_vgversion_h \ > nightly-build-summary \ > @@ -14,8 +13,9 @@ dist_noinst_SCRIPTS = \ > EXTRA_DIST = \ > docs/valgrind-listener-manpage.xml \ > docs/valgrind-di-server-manpage.xml \ > - gsl16-badfree.patch \ > - gsl16-wavelet.patch \ > + gsl-1.6.patch \ > + gsl-1.6.supp \ > + gsl-1.6.out.x86.exp \ > posixtestsuite-1.5.1-diff.txt \ > ppcfround.c \ > ppc64shifts.c \ > @@ -117,13 +117,104 @@ getoff_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDFLAGS += > -Wl,-read_only_relocs -Wl,supp > endif > endif > > > +#---------------------------------------------------------------------------- > +# Auxiliary testsuits > > +#---------------------------------------------------------------------------- > + > +auxchecks: gsl-check > +auxclean: gsl-clean > + > +# You can override AUX_CHECK_DIR to use a previous download/build. > +# Must be an absolute path. > +# e.g. make auxchecks AUX_CHECK_DIR=$HOME/valgrind-auxtests > +AUX_CHECK_DIR=$(abs_builddir)auxchecks > I think you meant to include a prefix slash here as $abs_builddir does not have a trailing slash: -AUX_CHECK_DIR=$(abs_builddir)auxchecks +AUX_CHECK_DIR=$(abs_builddir)/auxchecks > + > +# GNU Scientific Library 1.6 > +GSL_DIR_NAME=gsl-1.6 > +GSL_TAR_NAME=$(GSL_DIR_NAME).tar.gz > +GSL_URL=https://ftpmirror.gnu.org/gsl/$(GSL_TAR_NAME) > > +GSL_SHA256_SUM=52e097b5228a617fef788d54eba6855c1addc62b8f68a1dfb5895cad25594f1f > +GSL_TAR=$(AUX_CHECK_DIR)/$(GSL_TAR_NAME) > +GSL_SRC_DIR=$(AUX_CHECK_DIR)/$(GSL_DIR_NAME) > +# By default we like -O3 to hopefully get some loop vectorization > +# You can also override GSL_CFLAGS if you want e.g. -march=core-avx2 > +# Different GSL_CFLAGS will result in different build dirs (under > AUX_CHECK_DIR) > +GSL_CFLAGS=-g -O3 > +# i386 needs sse to get rounding for floating point correct. > +# But we only want this if the primary isn't AMD64 > +if VGCONF_ARCHS_INCLUDE_X86 > +if !VGCONF_ARCHS_INCLUDE_AMD64 > +GSL_CFLAGS+=-mfpmath=sse -msse2 > +endif > +endif > + > +# Trick to get a literal space to use in substitutions > +sp := $(subst ,, ) > + > +# Filter out spaces from GSL_CFLAGS to get unique build dir > +GSL_BUILD_DIR=$(AUX_CHECK_DIR)/gsl-build$(subst $(sp),,$(GSL_CFLAGS)) > + > +# These are all the tests, except siman and randist which can take > minutes. > +GSL_TESTS=block cblas cdf cheb combination complex const deriv dht diff \ > + eigen err fft fit histogram ieee-utils integration interpolation > \ > + linalg matrix min monte multifit multimin multiroots ntuple \ > + ode-initval permutation poly qrng rng roots sort specfunc \ > + statistics sum sys vector wavelet > + > +# Get the tar file if we don't have it yet. > +$(GSL_TAR): > + mkdir -p $(AUX_CHECK_DIR) > + wget -q -O $(GSL_TAR) $(GSL_URL) > + > For all these intermediate build artifacts, I'll add a .gitignore pattern so won't be accidentally committed to the tree by a future developer. > +# We need to autoreconf to make sure to get config.guess, config.sub > +# and libtool for newer architectures. > +$(GSL_SRC_DIR)/gsl-patched: $(GSL_TAR) > + echo "$(GSL_SHA256_SUM) $(GSL_TAR)" | sha256sum --check - > + (cd $(AUX_CHECK_DIR) && \ > + tar zxf $(GSL_TAR_NAME) && \ > + cd $(GSL_DIR_NAME) && \ > + patch -p1 < $(abs_top_srcdir)/auxprogs/gsl-1.6.patch && \ > + autoreconf -f -i -Wnone) > + touch $@ > + > +# We need make check -k because > +# some tests might fail even native (only on i386 though). > +# make check doesn't work reliably with -j. > +$(GSL_BUILD_DIR)/gsl-build: $(GSL_SRC_DIR)/gsl-patched > + mkdir -p $(GSL_BUILD_DIR) > + (cd $(GSL_BUILD_DIR) && \ > + $(GSL_SRC_DIR)/configure CFLAGS="$(GSL_CFLAGS)" && \ > + make -j $(nproc) && \ > + make check -k || true) > + touch $@ > + > +# We hope all tests PASS (so don't produce output except for the test > names). > +# But on x86 we get one FAIL, so that is "fine" too. > +# We currently don't check stderr, but we probably should. > +gsl-check: $(GSL_BUILD_DIR)/gsl-build > + (cd $(GSL_BUILD_DIR); \ > + for gsl_test in $(GSL_TESTS); do \ > + echo $$gsl_test; \ > + ./libtool --mode=execute $(abs_top_builddir)/vg-in-place -q \ > + > --suppressions=$(abs_top_srcdir)/auxprogs/gsl-1.6.supp \ > + $$gsl_test/test; \ > + done | grep --line-buffered -v ^PASS: | tee valgrind-gsl.out) > + for gsl_test in $(GSL_TESTS); do echo $$gsl_test; done \ > + | cmp - $(GSL_BUILD_DIR)/valgrind-gsl.out || \ > + diff -u $(abs_top_srcdir)/auxprogs/gsl-1.6.out.x86.exp \ > + $(GSL_BUILD_DIR)/valgrind-gsl.out > + > +# We keep the tarball but remove the unpacked sources and build > +gsl-clean: > + rm -rf $(GSL_SRC_NAME) $(GSL_BUILD_DIR) > + > > #---------------------------------------------------------------------------- > # General stuff > > #---------------------------------------------------------------------------- > > all-local: inplace-noinst_PROGRAMS inplace-noinst_DSYMS > > -clean-local: clean-noinst_DSYMS > +clean-local: clean-noinst_DSYMS auxclean > > install-exec-local: install-noinst_PROGRAMS install-noinst_DSYMS > > diff --git a/auxprogs/gsl-1.6.out.x86.exp b/auxprogs/gsl-1.6.out.x86.exp > new file mode 100644 > index 0000000000..996f285df1 > --- /dev/null > +++ b/auxprogs/gsl-1.6.out.x86.exp > @@ -0,0 +1,40 @@ > +block > +cblas > +cdf > +cheb > +combination > +complex > +const > +deriv > +dht > +diff > +eigen > +err > +fft > +fit > +histogram > +ieee-utils > +integration > +FAIL: qawo(f456) elist (7.25063790881233303e-15 observed vs > 7.25922435194575979e-15 expected) > +interpolation > +linalg > +matrix > +min > +monte > +multifit > +multimin > +multiroots > +ntuple > +ode-initval > +permutation > +poly > +qrng > +rng > +roots > +sort > +specfunc > +statistics > +sum > +sys > +vector > +wavelet > diff --git a/auxprogs/gsl-1.6.patch b/auxprogs/gsl-1.6.patch > new file mode 100644 > index 0000000000..a9ffd13c33 > --- /dev/null > +++ b/auxprogs/gsl-1.6.patch > @@ -0,0 +1,36 @@ > +diff -r -u gsl-1.6/vector/test_complex_source.c > gsl-1.6-patched/vector/test_complex_source.c > +--- gsl-1.6/vector/test_complex_source.c 2004-09-13 > 15:23:20.000000000 +0200 > ++++ gsl-1.6-patched/vector/test_complex_source.c 2005-07-24 > 08:37:54.000000000 +0200 > +@@ -75,7 +75,7 @@ > + if (stride == 1) > + { > + v0 = FUNCTION (gsl_vector, alloc) (N); > +- view = FUNCTION (gsl_vector, subvector) (v, 0, N); > ++ view = FUNCTION (gsl_vector, subvector) (v0, 0, N); > + v = &view.vector; > + } > + else > +diff -r -u gsl-1.6/vector/test_source.c > gsl-1.6-patched/vector/test_source.c > +--- gsl-1.6/vector/test_source.c 2004-09-13 15:23:20.000000000 +0200 > ++++ gsl-1.6-patched/vector/test_source.c 2005-07-24 > 08:37:54.000000000 +0200 > +@@ -75,7 +75,7 @@ > + if (stride == 1) > + { > + v0 = FUNCTION (gsl_vector, alloc) (N); > +- view = FUNCTION (gsl_vector, subvector) (v, 0, N); > ++ view = FUNCTION (gsl_vector, subvector) (v0, 0, N); > + v = &view.vector; > + } > + else > +diff -r -u gsl-1.6/wavelet/dwt.c gsl-1.6-patched/wavelet/dwt.c > +--- gsl-1.6/wavelet/dwt.c 2004-12-24 14:57:34.000000000 +0100 > ++++ gsl-1.6-patched/wavelet/dwt.c 2005-07-24 08:38:05.000000000 +0200 > +@@ -30,7 +30,7 @@ > + > + static int binary_logn (const size_t n); > + static void dwt_step (const gsl_wavelet * w, double *a, size_t stride, > +- size_t n, int isign, gsl_wavelet_workspace * work); > ++ size_t n, gsl_wavelet_direction dir, > gsl_wavelet_workspace * work); > + > + static int > + binary_logn (const size_t n) > diff --git a/auxprogs/gsl-1.6.supp b/auxprogs/gsl-1.6.supp > new file mode 100644 > index 0000000000..addf5d8caf > --- /dev/null > +++ b/auxprogs/gsl-1.6.supp > @@ -0,0 +1,14 @@ > +{ > + gsl-writes-uninit-data > + Memcheck:Param > + write(buf) > + fun:write > +} > + > +{ > + gsl-writes-uninit-data-nocancel > + Memcheck:Param > + write(buf) > + fun:__write_nocancel > +} > + > diff --git a/auxprogs/gsl16-badfree.patch b/auxprogs/gsl16-badfree.patch > deleted file mode 100644 > index d07d3a1ba9..0000000000 > --- a/auxprogs/gsl16-badfree.patch > +++ /dev/null > @@ -1,32 +0,0 @@ > -Index: test_complex_source.c > -=================================================================== > -RCS file: /home/gsl-cvs/gsl/vector/test_complex_source.c,v > -retrieving revision 1.23 > -diff -u -r1.23 test_complex_source.c > ---- test_complex_source.c 24 Jun 2005 11:33:25 -0000 1.23 > -+++ test_complex_source.c 6 Jul 2005 11:18:33 -0000 > -@@ -75,7 +75,7 @@ > - if (stride == 1) > - { > - v0 = FUNCTION (gsl_vector, alloc) (N); > -- view = FUNCTION (gsl_vector, subvector) (v, 0, N); > -+ view = FUNCTION (gsl_vector, subvector) (v0, 0, N); > - v = &view.vector; > - } > - else > -Index: test_source.c > -=================================================================== > -RCS file: /home/gsl-cvs/gsl/vector/test_source.c,v > -retrieving revision 1.26 > -diff -u -r1.26 test_source.c > ---- test_source.c 24 Jun 2005 11:33:26 -0000 1.26 > -+++ test_source.c 6 Jul 2005 11:14:18 -0000 > -@@ -75,7 +75,7 @@ > - if (stride == 1) > - { > - v0 = FUNCTION (gsl_vector, alloc) (N); > -- view = FUNCTION (gsl_vector, subvector) (v, 0, N); > -+ view = FUNCTION (gsl_vector, subvector) (v0, 0, N); > - v = &view.vector; > - } > - else > diff --git a/auxprogs/gsl16-wavelet.patch b/auxprogs/gsl16-wavelet.patch > deleted file mode 100644 > index 525e9cf5e6..0000000000 > --- a/auxprogs/gsl16-wavelet.patch > +++ /dev/null > @@ -1,11 +0,0 @@ > ---- wavelet/dwt.c~ 2004-12-24 14:57:34.000000000 +0100 > -+++ wavelet/dwt.c 2005-07-08 23:31:32.000000000 +0200 > -@@ -30,7 +30,7 @@ > - > - static int binary_logn (const size_t n); > - static void dwt_step (const gsl_wavelet * w, double *a, size_t stride, > -- size_t n, int isign, gsl_wavelet_workspace * work); > -+ size_t n, gsl_wavelet_direction dir, > gsl_wavelet_workspace * work); > - > - static int > - binary_logn (const size_t n) > diff --git a/auxprogs/gsl16test b/auxprogs/gsl16test > deleted file mode 100755 > index 22f7cab2e8..0000000000 > --- a/auxprogs/gsl16test > +++ /dev/null > @@ -1,118 +0,0 @@ > -#!/bin/sh > - > -# Do an automated test which involves building and regtesting version > -# 1.6 of the GNU Scientific Library (gsl). This has proven to be a > -# very thorough test of Vex's CPU simulations and has exposed bugs > -# which had not been previously discovered. Gsl contains more > -# than 100,000 tests as part of its regression suite, and so this > -# script's purpose is to runs those tests using valgrind and compare > -# against the same tests run natively. > -# > -# You can download gsl and get more info about it at > -# http://www.gnu.org/software/gsl > - > - > - > -# Args: > -# absolute name of gsl-1.6.tar.gz file > -# name of C compiler > -# args for C compiler > -# name of Valgrind > -# args for Valgrind > - > -# Results: 3.7.0 --tool=none > -# x86 1 failure Ubuntu 10.10 > -# FAIL: qawo(f456) elist (7.25063790881233303e-15 observed vs > 7.25922435194575979e-15 expected) > -# same failure was also present in 3.6.1 > -# s390x 0 failures on z900 running RHEL4 > - > -if [ $# != 5 ] > -then > - echo "usage: gsl16test /absolute/name/of/gsl-1.6-patched.tar.gz" > - echo " C-compiler-command" > - echo " flags-for-C-compiler" > - echo " Valgrind-command" > - echo " flags-for-Valgrind" > - exit 1 > -fi > - > - > -runcmd () { > - echo -n " $1 ... " > - shift > - > - (eval "$*") >> log.verbose 2>&1 > - > - if [ $? = 0 ] > - then > - echo "done" > - return 0 > - else > - echo "failed" > - return 1 > - fi > -} > - > -GSL_FILE=$1 > -GSL_CC=$2 > -GSL_CFLAGS=$3 > -GSL_VV=$4 > -GSL_VFLAGS=$5 > - > -TESTS1="block/test cblas/test cdf/test cheb/test combination/test" > -TESTS2="complex/test const/test deriv/test dht/test diff/test" > -TESTS3="eigen/test err/test fft/test fit/test histogram/test" > -TESTS4="ieee-utils/test integration/test interpolation/test linalg/test" > -TESTS5="matrix/test min/test monte/test multifit/test multimin/test" > -TESTS6="multiroots/test ntuple/test ode-initval/test permutation/test" > -TESTS7="poly/test qrng/test randist/test rng/test roots/test siman/test" > -TESTS8="sort/test specfunc/test statistics/test sum/test sys/test" > -TESTS9="vector/test wavelet/test" > - > -ALL_TESTS="$TESTS1 $TESTS2 $TESTS3 $TESTS4 $TESTS5 $TESTS6 $TESTS7 > $TESTS8 $TESTS9" > - > -echo "gsl16test: src: " $GSL_FILE > -echo "gsl16test: cc: " $GSL_CC > -echo "gsl16test: cflags: " $GSL_CFLAGS > -echo "gsl16test: valgrind: " $GSL_VV > -echo "gsl16test: vflags: " $GSL_VFLAGS > - > -rm -rf log.verbose gsl-1.6-patched summary.txt > - > -echo > log.verbose > - > -echo > summary.txt > -echo $0 $1 \"$2\" \"$3\" \"$4\" \"$5\" >> summary.txt > -echo >> summary.txt > - > -runcmd "Untarring " \ > - "rm -rf gsl-1.6-patched && tar xzf $GSL_FILE" && \ > -\ > -runcmd "Configuring " \ > - "(cd gsl-1.6-patched && CC=$GSL_CC CFLAGS=\"$GSL_CFLAGS\" > ./configure)" && \ > -\ > -runcmd "Building " \ > - "(cd gsl-1.6-patched && make -j4 && make -k check)" > - > -echo -n " Collecting reference results " > -rm -f out-REF > -(cd gsl-1.6-patched && for f in $ALL_TESTS ; do ./$f ; done) &> out-REF > -echo " ... done" > - > -echo -n " Collecting valgrinded results " > -rm -f out-VAL > -(cd gsl-1.6-patched && for f in $ALL_TESTS ; do eval $GSL_VV -v > --trace-children=yes "$GSL_VFLAGS" ./$f ; done) &> out-VAL > -echo " ... done" > - > -echo -n " Native fails: " && (grep FAIL: out-REF | wc -l) > -echo -n " Native passes: " && (grep PASS: out-REF | wc -l) > -echo -n " Valgrind fails: " && (grep FAIL: out-VAL | wc -l) > -echo -n " Valgrind passes: " && (grep PASS: out-VAL | wc -l) > - > -(echo -n " Native fails: " && (grep FAIL: out-REF | wc -l)) >> > summary.txt > -(echo -n " Native passes: " && (grep PASS: out-REF | wc -l)) >> > summary.txt > -(echo -n " Valgrind fails: " && (grep FAIL: out-VAL | wc -l)) >> > summary.txt > -(echo -n " Valgrind passes: " && (grep PASS: out-VAL | wc -l)) >> > summary.txt > -echo >> summary.txt > - > -echo > > > _______________________________________________ > Valgrind-developers mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-developers > |