talkatu/builders
Clone
Summary
Browse
Changes
Graph
Update pvs-studio to use the latest tarball instead of an explicit version
2020-10-06, Gary Kramlich
7ba4fc37b340
file is
Executable
Update pvs-studio to use the latest tarball instead of an explicit version
#!/bin/sh -x
# Copyright (C) 2015-2019 Gary Kramlich <grim@reaperworld.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
cd
${
CONVEY_WORKSPACE
}
BUILD_DIR
=
"build-valgrind"
meson
${
BUILD_DIR
}
meson
test
-C
${
BUILD_DIR
}
--wrapper
"valgrind --leak-check=full --error-exitcode=1"
EC
=
${
?
}
mkdir
-p
${
CONVEY_WORKSPACE
}
/valgrind
cp
-a
${
BUILD_DIR
}
/meson-logs/testlog-valgrind.txt
${
CONVEY_WORKSPACE
}
/valgrind/
exit
${
EC
}