mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 10:05:29 +00:00
FreeBSD support, patch 8b
nightly directory
This commit is contained in:
parent
85bbe2853e
commit
3d25fd4a6c
@ -42,6 +42,14 @@ runcmd () {
|
||||
# Startup
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
if [ `uname -o` = "FreeBSD" ]; then
|
||||
CP=gcp
|
||||
MAKE=gmake
|
||||
else
|
||||
CP=cp
|
||||
MAKE=make
|
||||
fi
|
||||
|
||||
valgrind_git_repo="git://sourceware.org/git/valgrind.git/"
|
||||
|
||||
# Must have exactly two arguments
|
||||
@ -72,7 +80,7 @@ if [ "${ABT_EVAL}" = "" ]; then
|
||||
ABT_EVAL="eval"
|
||||
fi
|
||||
if [ "${ABT_RUN_REGTEST}" = "" ]; then
|
||||
ABT_RUN_REGTEST="make regtest"
|
||||
ABT_RUN_REGTEST="${MAKE} regtest"
|
||||
fi
|
||||
|
||||
if [ "${ABT_PERF_TOOLS}" = "" ]; then
|
||||
@ -118,7 +126,7 @@ for logfile in old new ; do
|
||||
# Check out, build, run tests
|
||||
runcmd $logfile \
|
||||
"Checking out Valgrind source tree" \
|
||||
"cp -r --preserve=links valgrind-repo valgrind-$logfile && cd valgrind-$logfile && git checkout ${git_commit}" && \
|
||||
"${CP} -r --preserve=links valgrind-repo valgrind-$logfile && cd valgrind-$logfile && git checkout ${git_commit}" && \
|
||||
\
|
||||
runcmd $logfile \
|
||||
"Configuring valgrind " \
|
||||
@ -126,7 +134,7 @@ for logfile in old new ; do
|
||||
\
|
||||
runcmd $logfile \
|
||||
"Building valgrind " \
|
||||
"cd valgrind-$logfile && make -j ${ABT_JOBS} && make -j ${ABT_JOBS} check && make install" && \
|
||||
"cd valgrind-$logfile && ${MAKE} -j ${ABT_JOBS} && ${MAKE} -j ${ABT_JOBS} check && ${MAKE} install" && \
|
||||
\
|
||||
runcmd $logfile \
|
||||
"Running regression tests " \
|
||||
@ -177,11 +185,17 @@ END=`date "+%F %H:%M:%S %Z"`
|
||||
|
||||
# Gather some information about this run and its environment
|
||||
valgrind_revision=$( ./valgrind-new/vg-in-place -v --version )
|
||||
gcc_version="`gcc --version 2> /dev/null | head -1`"
|
||||
if [ `uname -o` = "FreeBSD" ]; then
|
||||
gcc_version="`clang --version 2> /dev/null | head -1`"
|
||||
else
|
||||
gcc_version="`gcc --version 2> /dev/null | head -1`"
|
||||
fi
|
||||
gdb_version="`gdb --version 2> /dev/null | head -1`"
|
||||
as_version="`as --version 2> /dev/null | head -1`"
|
||||
if [ `uname -o` = "Solaris" ]; then
|
||||
libc="Solaris libc"
|
||||
elif [ `uname -o` = "FreeBSD" ]; then
|
||||
libc="FreeBSD libc"
|
||||
else
|
||||
libc_so="`ls -1 /lib/libc.so.* /lib64/libc.so.* /lib32/libc.so.* /lib/*-linux-gnu/libc.so.* 2>/dev/null | tail -1`"
|
||||
libc="unknown"
|
||||
|
||||
4
nightly/conf/freebsd12.1.conf
Normal file
4
nightly/conf/freebsd12.1.conf
Normal file
@ -0,0 +1,4 @@
|
||||
export ABT_DETAILS=`uname -mrs`
|
||||
export ABT_JOBS=2
|
||||
#export ABT_PERF="--tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-old --vg=../valgrind-new"
|
||||
export ABT_CONFIGURE_OPTIONS="CC=clang CXX=clang++"
|
||||
8
nightly/conf/freebsd12.1.sendmail
Executable file
8
nightly/conf/freebsd12.1.sendmail
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
subject=$1
|
||||
body=$2
|
||||
file=$3
|
||||
filename=$( basename $3 )
|
||||
|
||||
(cat "$body" "$file") | mail -s "$subject" valgrind-testresults@lists.sourceforge.net -f "Paul Floyd <pjfloyd@wanadoo.fr>"
|
||||
Loading…
x
Reference in New Issue
Block a user