aboutsummaryrefslogtreecommitdiff
path: root/contrib/regression.sh
diff options
context:
space:
mode:
authorNils Gillmann <ng0@n0.is>2018-05-19 14:43:13 +0000
committerNils Gillmann <ng0@n0.is>2018-05-19 14:43:13 +0000
commit6ab60d4920bb3199aee8cd872b930e9e3e808ba7 (patch)
tree3d761dbf8793a1d2422fbd14667255c7e0292ea4 /contrib/regression.sh
parentc2f27dfe8218545c327ab49d225a49910347c5c6 (diff)
downloadgnunet-6ab60d4920bb3199aee8cd872b930e9e3e808ba7.tar.gz
gnunet-6ab60d4920bb3199aee8cd872b930e9e3e808ba7.zip
Restructure contrib folder.
contrib/pogen.sh -> bin/pogen.sh bootstrap: Use new pogen location and execute it. contrib/openvpn-tap32: Move to contrib/3rdparty/Windows/openvpn-tap32. contrib/gnunet-logo*: Move to contrib/branding/logo/ Delete old patches in contrib, predating git. Move buildbot data to contrib/ci/buildbot, move docker data to contrib/ci/docker. Create contrib/conf and populate it with config files found in contrib and bin. Move gns related data to contrib/gns. delete contrib/repeat.sh Move contrib/log.php into contrib/web/log.php. Create folder contrib/scripts and use it for most scripts in contrib. Remove trailing whitespace in doc/Makefile.am Signed-off-by: Nils Gillmann <ng0@n0.is>
Diffstat (limited to 'contrib/regression.sh')
-rwxr-xr-xcontrib/regression.sh54
1 files changed, 0 insertions, 54 deletions
diff --git a/contrib/regression.sh b/contrib/regression.sh
deleted file mode 100755
index 1f799797a..000000000
--- a/contrib/regression.sh
+++ /dev/null
@@ -1,54 +0,0 @@
1#!/bin/sh
2cd
3cd gnunet
4svn up > /dev/null
5H=`hostname`
6echo "================START===================" >> regression.$H
7RUN=`date +%0y%0m%0d%0k%0M`
8uname -a >> regression.$H
9date >> regression.$H
10echo "Run $RUN" >> regression.$H
11svn up >> regression.$H
12export GNUNET_PREFIX=$HOME
13export PATH=$HOME/bin:$PATH
14./bootstrap >> regression.$H.$RUN 2>&1
15./configure --prefix=$HOME --with-extractor=$HOME --with-microhttpd=$HOME >> regression.$H.$RUN 2>&1
16if [ $? != 0 ]
17then
18 echo configure failed >> regression.$H
19 exit
20fi
21KEEP=0
22make clean >> regression.$H.$RUN 2>&1
23make install >> regression.$H.$RUN 2>&1
24cd src
25for n in `ls --hide "Makefile*"`
26do
27 cd $n
28 if [ -f Makefile ]
29 then
30 make check >> ../regression.$H.$RUN.$n 2>&1
31 if [ $? != 0 ]
32 then
33 echo Tests for $n failed >> ../regression.$H
34 echo "--------- Details for $n -----------" >> ../regression.$H
35 cat regression.$H.$RUN.$n >> ../regression.$H
36 echo "----- End of Details for $n --------" >> ../regression.$H
37 KEEP=1
38 else
39 echo Tests for $n succeeded >> ../regression.$H
40 fi
41 fi
42 cd ..
43done
44echo "================END====================" >> regression.$H
45
46if [ $KEEP == 0]
47then
48 rm regression.$H.$RUN*
49 rm regression.$H
50else
51 svn add regression.$H > /dev/null
52 svn commit -m "Regression in tests on $H" regression.$H
53fi
54