Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
| 3 | ## Script to build and test the latest python from svn. It basically |
| 4 | ## does this: |
| 5 | ## svn up ; ./configure ; make ; make test ; make install ; cd Doc ; make |
| 6 | ## |
Georg Brandl | bbd82e4 | 2010-01-03 14:18:52 +0000 | [diff] [blame] | 7 | ## Logs are kept and rsync'ed to the webhost. If there are test failure(s), |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 8 | ## information about the failure(s) is mailed. |
| 9 | ## |
Georg Brandl | bbd82e4 | 2010-01-03 14:18:52 +0000 | [diff] [blame] | 10 | ## The user must be a member of the webmaster group locally and on webhost. |
| 11 | ## |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 12 | ## This script is run on the PSF's machine as user neal via crontab. |
| 13 | ## |
| 14 | ## Yes, this script would probably be easier in python, but then |
| 15 | ## there's a bootstrap problem. What if Python doesn't build? |
| 16 | ## |
| 17 | ## This script should be fairly clean Bourne shell, ie not too many |
| 18 | ## bash-isms. We should try to keep it portable to other Unixes. |
| 19 | ## Even though it will probably only run on Linux. I'm sure there are |
| 20 | ## several GNU-isms currently (date +%s and readlink). |
| 21 | ## |
| 22 | ## Perhaps this script should be broken up into 2 (or more) components. |
| 23 | ## Building doc is orthogonal to the rest of the python build/test. |
| 24 | ## |
| 25 | |
| 26 | ## FIXME: we should detect test hangs (eg, if they take more than 45 minutes) |
| 27 | |
| 28 | ## FIXME: we should run valgrind |
| 29 | ## FIXME: we should run code coverage |
| 30 | |
| 31 | ## Utilities invoked in this script include: |
Neal Norwitz | d3a5867 | 2006-01-02 23:22:41 +0000 | [diff] [blame] | 32 | ## basename, date, dirname, expr, grep, readlink, uname |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 33 | ## cksum, make, mutt, rsync, svn |
| 34 | |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 35 | ## remember where did we started from |
| 36 | DIR=`dirname $0` |
| 37 | if [ "$DIR" = "" ]; then |
| 38 | DIR="." |
| 39 | fi |
| 40 | |
| 41 | ## make directory absolute |
| 42 | DIR=`readlink -f $DIR` |
Neal Norwitz | d3a5867 | 2006-01-02 23:22:41 +0000 | [diff] [blame] | 43 | FULLPATHNAME="$DIR/`basename $0`" |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 44 | ## we want Misc/.. |
| 45 | DIR=`dirname $DIR` |
| 46 | |
| 47 | ## Configurable options |
| 48 | |
| 49 | FAILURE_SUBJECT="Python Regression Test Failures" |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 50 | #FAILURE_MAILTO="YOUR_ACCOUNT@gmail.com" |
Neal Norwitz | f415d5f | 2006-02-19 18:48:19 +0000 | [diff] [blame] | 51 | FAILURE_MAILTO="python-checkins@python.org" |
Neal Norwitz | 5d08bd7 | 2007-04-20 05:20:38 +0000 | [diff] [blame] | 52 | #FAILURE_CC="optional--uncomment and set to desired address" |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 53 | |
| 54 | REMOTE_SYSTEM="neal@dinsdale.python.org" |
Georg Brandl | 4cf8ac4 | 2008-10-04 08:13:56 +0000 | [diff] [blame] | 55 | REMOTE_DIR="/data/ftp.python.org/pub/www.python.org/doc/current" |
| 56 | REMOTE_DIR_DIST="/data/ftp.python.org/pub/python/doc/current" |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 57 | RESULT_FILE="$DIR/build/index.html" |
Neal Norwitz | daeaf69 | 2008-10-03 04:10:46 +0000 | [diff] [blame] | 58 | INSTALL_DIR="/tmp/python-test-2.6/local" |
Georg Brandl | bbd82e4 | 2010-01-03 14:18:52 +0000 | [diff] [blame] | 59 | RSYNC_OPTS="-C -e ssh -rlogD" |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 60 | |
Neal Norwitz | 524b59b | 2006-06-27 04:09:13 +0000 | [diff] [blame] | 61 | # Always run the installed version of Python. |
| 62 | PYTHON=$INSTALL_DIR/bin/python |
| 63 | |
| 64 | # Python options and regression test program that should always be run. |
Neal Norwitz | f2fcfa3 | 2006-08-18 06:14:52 +0000 | [diff] [blame] | 65 | REGRTEST_ARGS="-E -tt $INSTALL_DIR/lib/python2.6/test/regrtest.py" |
Neal Norwitz | 524b59b | 2006-06-27 04:09:13 +0000 | [diff] [blame] | 66 | |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 67 | REFLOG="build/reflog.txt.out" |
Neal Norwitz | ee6d23e | 2006-04-12 05:56:00 +0000 | [diff] [blame] | 68 | # These tests are not stable and falsely report leaks sometimes. |
Neal Norwitz | f415d5f | 2006-02-19 18:48:19 +0000 | [diff] [blame] | 69 | # The entire leak report will be mailed if any test not in this list leaks. |
Neal Norwitz | a1f9b7f | 2006-04-06 07:58:59 +0000 | [diff] [blame] | 70 | # Note: test_XXX (none currently) really leak, but are disabled |
Neal Norwitz | 770a800 | 2006-03-17 04:52:38 +0000 | [diff] [blame] | 71 | # so we don't send spam. Any test which really leaks should only |
| 72 | # be listed here if there are also test cases under Lib/test/leakers. |
Neal Norwitz | a403e41 | 2008-08-24 17:29:53 +0000 | [diff] [blame] | 73 | LEAKY_TESTS="test_(asynchat|cmd_line|docxmlrpc|dumbdbm|file|ftplib|httpservers|imaplib|popen2|socket|smtplib|sys|telnetlib|threadedtempfile|threading|threadsignals|urllib2_localnet|xmlrpc)" |
Neal Norwitz | ee6d23e | 2006-04-12 05:56:00 +0000 | [diff] [blame] | 74 | |
| 75 | # Skip these tests altogether when looking for leaks. These tests |
| 76 | # do not need to be stored above in LEAKY_TESTS too. |
| 77 | # test_compiler almost never finishes with the same number of refs |
| 78 | # since it depends on other modules, skip it. |
| 79 | # test_logging causes hangs, skip it. |
Georg Brandl | bbd82e4 | 2010-01-03 14:18:52 +0000 | [diff] [blame] | 80 | # KBK 21Apr09: test_httpservers causes hangs, skip for now. |
| 81 | LEAKY_SKIPS="-x test_compiler test_logging test_httpservers" |
Neal Norwitz | f415d5f | 2006-02-19 18:48:19 +0000 | [diff] [blame] | 82 | |
Neal Norwitz | 770a800 | 2006-03-17 04:52:38 +0000 | [diff] [blame] | 83 | # Change this flag to "yes" for old releases to only update/build the docs. |
Neal Norwitz | daeaf69 | 2008-10-03 04:10:46 +0000 | [diff] [blame] | 84 | BUILD_DISABLED="yes" |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 85 | |
| 86 | ## utility functions |
| 87 | current_time() { |
| 88 | date +%s |
| 89 | } |
| 90 | |
| 91 | update_status() { |
| 92 | now=`current_time` |
| 93 | time=`expr $now - $3` |
| 94 | echo "<li><a href=\"$2\">$1</a> <font size=\"-1\">($time seconds)</font></li>" >> $RESULT_FILE |
| 95 | } |
| 96 | |
Skip Montanaro | 0473517 | 2008-02-15 19:03:59 +0000 | [diff] [blame] | 97 | place_summary_first() { |
| 98 | testf=$1 |
| 99 | sed -n '/^[0-9][0-9]* tests OK\./,$p' < $testf \ |
Neal Norwitz | 64984a8 | 2008-03-05 05:49:03 +0000 | [diff] [blame] | 100 | | egrep -v '\[[0-9]+ refs\]' > $testf.tmp |
Skip Montanaro | 0473517 | 2008-02-15 19:03:59 +0000 | [diff] [blame] | 101 | echo "" >> $testf.tmp |
| 102 | cat $testf >> $testf.tmp |
| 103 | mv $testf.tmp $testf |
| 104 | } |
| 105 | |
| 106 | count_failures () { |
| 107 | testf=$1 |
| 108 | n=`grep -ic " failed:" $testf` |
| 109 | if [ $n -eq 1 ] ; then |
Neal Norwitz | 64984a8 | 2008-03-05 05:49:03 +0000 | [diff] [blame] | 110 | n=`grep " failed:" $testf | sed -e 's/ .*//'` |
Skip Montanaro | 0473517 | 2008-02-15 19:03:59 +0000 | [diff] [blame] | 111 | fi |
| 112 | echo $n |
| 113 | } |
| 114 | |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 115 | mail_on_failure() { |
| 116 | if [ "$NUM_FAILURES" != "0" ]; then |
Neal Norwitz | 5d08bd7 | 2007-04-20 05:20:38 +0000 | [diff] [blame] | 117 | dest=$FAILURE_MAILTO |
| 118 | # FAILURE_CC is optional. |
| 119 | if [ "$FAILURE_CC" != "" ]; then |
| 120 | dest="$dest -c $FAILURE_CC" |
| 121 | fi |
Neal Norwitz | 64984a8 | 2008-03-05 05:49:03 +0000 | [diff] [blame] | 122 | if [ "x$3" != "x" ] ; then |
| 123 | (echo "More important issues:" |
| 124 | echo "----------------------" |
| 125 | egrep -v "$3" < $2 |
| 126 | echo "" |
| 127 | echo "Less important issues:" |
| 128 | echo "----------------------" |
| 129 | egrep "$3" < $2) |
Skip Montanaro | ee29c3f | 2008-02-02 19:11:57 +0000 | [diff] [blame] | 130 | else |
Neal Norwitz | 64984a8 | 2008-03-05 05:49:03 +0000 | [diff] [blame] | 131 | cat $2 |
| 132 | fi | mutt -s "$FAILURE_SUBJECT $1 ($NUM_FAILURES)" $dest |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 133 | fi |
| 134 | } |
| 135 | |
| 136 | ## setup |
| 137 | cd $DIR |
Georg Brandl | bbd82e4 | 2010-01-03 14:18:52 +0000 | [diff] [blame] | 138 | make clobber > /dev/null 2>&1 |
| 139 | cp -p Modules/Setup.dist Modules/Setup |
| 140 | # But maybe there was no Makefile - we are only building docs. Clear build: |
| 141 | rm -rf build/ |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 142 | mkdir -p build |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 143 | rm -rf $INSTALL_DIR |
Georg Brandl | bbd82e4 | 2010-01-03 14:18:52 +0000 | [diff] [blame] | 144 | ## get the path we are building |
| 145 | repo_path=$(grep "url=" .svn/entries | sed -e s/\\W*url=// -e s/\"//g) |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 146 | |
| 147 | ## create results file |
| 148 | TITLE="Automated Python Build Results" |
Neal Norwitz | b896759 | 2006-01-16 04:37:22 +0000 | [diff] [blame] | 149 | echo "<html>" >> $RESULT_FILE |
| 150 | echo " <head>" >> $RESULT_FILE |
| 151 | echo " <title>$TITLE</title>" >> $RESULT_FILE |
| 152 | echo " <meta http-equiv=\"refresh\" content=\"43200\">" >> $RESULT_FILE |
| 153 | echo " </head>" >> $RESULT_FILE |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 154 | echo "<body>" >> $RESULT_FILE |
| 155 | echo "<h2>Automated Python Build Results</h2>" >> $RESULT_FILE |
| 156 | echo "<table>" >> $RESULT_FILE |
| 157 | echo " <tr>" >> $RESULT_FILE |
| 158 | echo " <td>Built on:</td><td>`date`</td>" >> $RESULT_FILE |
| 159 | echo " </tr><tr>" >> $RESULT_FILE |
| 160 | echo " <td>Hostname:</td><td>`uname -n`</td>" >> $RESULT_FILE |
| 161 | echo " </tr><tr>" >> $RESULT_FILE |
| 162 | echo " <td>Platform:</td><td>`uname -srmpo`</td>" >> $RESULT_FILE |
Georg Brandl | bbd82e4 | 2010-01-03 14:18:52 +0000 | [diff] [blame] | 163 | echo " </tr><tr>" >> $RESULT_FILE |
| 164 | echo " <td>URL:</td><td>$repo_path</td>" >> $RESULT_FILE |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 165 | echo " </tr>" >> $RESULT_FILE |
| 166 | echo "</table>" >> $RESULT_FILE |
| 167 | echo "<ul>" >> $RESULT_FILE |
| 168 | |
| 169 | ## update, build, and test |
| 170 | ORIG_CHECKSUM=`cksum $FULLPATHNAME` |
| 171 | F=svn-update.out |
| 172 | start=`current_time` |
| 173 | svn update >& build/$F |
| 174 | err=$? |
| 175 | update_status "Updating" "$F" $start |
Neal Norwitz | 88b78d8 | 2006-02-14 08:14:16 +0000 | [diff] [blame] | 176 | if [ $err = 0 -a "$BUILD_DISABLED" != "yes" ]; then |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 177 | ## FIXME: we should check if this file has changed. |
| 178 | ## If it has changed, we should re-run the script to pick up changes. |
| 179 | if [ "$ORIG_CHECKSUM" != "$ORIG_CHECKSUM" ]; then |
| 180 | exec $FULLPATHNAME $@ |
| 181 | fi |
| 182 | |
| 183 | F=svn-stat.out |
| 184 | start=`current_time` |
| 185 | svn stat >& build/$F |
| 186 | ## ignore some of the diffs |
| 187 | NUM_DIFFS=`egrep -vc '^. (@test|db_home|Lib/test/(regrtest\.py|db_home))$' build/$F` |
| 188 | update_status "svn stat ($NUM_DIFFS possibly important diffs)" "$F" $start |
| 189 | |
| 190 | F=configure.out |
| 191 | start=`current_time` |
| 192 | ./configure --prefix=$INSTALL_DIR --with-pydebug >& build/$F |
| 193 | err=$? |
| 194 | update_status "Configuring" "$F" $start |
| 195 | if [ $err = 0 ]; then |
| 196 | F=make.out |
| 197 | start=`current_time` |
| 198 | make >& build/$F |
| 199 | err=$? |
| 200 | warnings=`grep warning build/$F | egrep -vc "te?mpnam(_r|)' is dangerous,"` |
| 201 | update_status "Building ($warnings warnings)" "$F" $start |
| 202 | if [ $err = 0 ]; then |
Neal Norwitz | d19a4d4 | 2006-01-02 22:10:10 +0000 | [diff] [blame] | 203 | ## make install |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 204 | F=make-install.out |
| 205 | start=`current_time` |
| 206 | make install >& build/$F |
| 207 | update_status "Installing" "$F" $start |
| 208 | |
Neal Norwitz | 9815f8b | 2006-07-26 04:00:18 +0000 | [diff] [blame] | 209 | if [ ! -x $PYTHON ]; then |
| 210 | ln -s ${PYTHON}2.* $PYTHON |
| 211 | fi |
| 212 | |
Neal Norwitz | d19a4d4 | 2006-01-02 22:10:10 +0000 | [diff] [blame] | 213 | ## make and run basic tests |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 214 | F=make-test.out |
| 215 | start=`current_time` |
Neal Norwitz | 38bdfaa | 2008-03-05 05:50:20 +0000 | [diff] [blame] | 216 | $PYTHON $REGRTEST_ARGS -u urlfetch >& build/$F |
Skip Montanaro | 0473517 | 2008-02-15 19:03:59 +0000 | [diff] [blame] | 217 | NUM_FAILURES=`count_failures build/$F` |
| 218 | place_summary_first build/$F |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 219 | update_status "Testing basics ($NUM_FAILURES failures)" "$F" $start |
Neal Norwitz | 02c408d | 2006-01-03 02:18:01 +0000 | [diff] [blame] | 220 | mail_on_failure "basics" build/$F |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 221 | |
Neal Norwitz | 524b59b | 2006-06-27 04:09:13 +0000 | [diff] [blame] | 222 | F=make-test-opt.out |
| 223 | start=`current_time` |
Neal Norwitz | 38bdfaa | 2008-03-05 05:50:20 +0000 | [diff] [blame] | 224 | $PYTHON -O $REGRTEST_ARGS -u urlfetch >& build/$F |
Skip Montanaro | 0473517 | 2008-02-15 19:03:59 +0000 | [diff] [blame] | 225 | NUM_FAILURES=`count_failures build/$F` |
| 226 | place_summary_first build/$F |
Neal Norwitz | 524b59b | 2006-06-27 04:09:13 +0000 | [diff] [blame] | 227 | update_status "Testing opt ($NUM_FAILURES failures)" "$F" $start |
| 228 | mail_on_failure "opt" build/$F |
| 229 | |
Neal Norwitz | d19a4d4 | 2006-01-02 22:10:10 +0000 | [diff] [blame] | 230 | ## run the tests looking for leaks |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 231 | F=make-test-refleak.out |
| 232 | start=`current_time` |
Neal Norwitz | 0f77da3 | 2006-04-17 01:48:41 +0000 | [diff] [blame] | 233 | ## ensure that the reflog exists so the grep doesn't fail |
| 234 | touch $REFLOG |
Georg Brandl | bbd82e4 | 2010-01-03 14:18:52 +0000 | [diff] [blame] | 235 | $PYTHON $REGRTEST_ARGS -R 4:3:$REFLOG -u network $LEAKY_SKIPS >& build/$F |
Neal Norwitz | 64984a8 | 2008-03-05 05:49:03 +0000 | [diff] [blame] | 236 | LEAK_PAT="($LEAKY_TESTS|sum=0)" |
Skip Montanaro | ee29c3f | 2008-02-02 19:11:57 +0000 | [diff] [blame] | 237 | NUM_FAILURES=`egrep -vc "$LEAK_PAT" $REFLOG` |
Skip Montanaro | 0473517 | 2008-02-15 19:03:59 +0000 | [diff] [blame] | 238 | place_summary_first build/$F |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 239 | update_status "Testing refleaks ($NUM_FAILURES failures)" "$F" $start |
Skip Montanaro | ee29c3f | 2008-02-02 19:11:57 +0000 | [diff] [blame] | 240 | mail_on_failure "refleak" $REFLOG "$LEAK_PAT" |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 241 | |
Neal Norwitz | d19a4d4 | 2006-01-02 22:10:10 +0000 | [diff] [blame] | 242 | ## now try to run all the tests |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 243 | F=make-testall.out |
| 244 | start=`current_time` |
Neal Norwitz | d19a4d4 | 2006-01-02 22:10:10 +0000 | [diff] [blame] | 245 | ## skip curses when running from cron since there's no terminal |
| 246 | ## skip sound since it's not setup on the PSF box (/dev/dsp) |
Neal Norwitz | 524b59b | 2006-06-27 04:09:13 +0000 | [diff] [blame] | 247 | $PYTHON $REGRTEST_ARGS -uall -x test_curses test_linuxaudiodev test_ossaudiodev >& build/$F |
Skip Montanaro | 0473517 | 2008-02-15 19:03:59 +0000 | [diff] [blame] | 248 | NUM_FAILURES=`count_failures build/$F` |
| 249 | place_summary_first build/$F |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 250 | update_status "Testing all except curses and sound ($NUM_FAILURES failures)" "$F" $start |
Neal Norwitz | d3a5867 | 2006-01-02 23:22:41 +0000 | [diff] [blame] | 251 | mail_on_failure "all" build/$F |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 252 | fi |
| 253 | fi |
| 254 | fi |
| 255 | |
| 256 | |
| 257 | ## make doc |
Neal Norwitz | 524b59b | 2006-06-27 04:09:13 +0000 | [diff] [blame] | 258 | cd $DIR/Doc |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 259 | F="make-doc.out" |
| 260 | start=`current_time` |
Georg Brandl | bbd82e4 | 2010-01-03 14:18:52 +0000 | [diff] [blame] | 261 | make clean > ../build/$F 2>&1 |
| 262 | make checkout html >> ../build/$F 2>&1 |
| 263 | err=$? |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 264 | update_status "Making doc" "$F" $start |
| 265 | if [ $err != 0 ]; then |
| 266 | NUM_FAILURES=1 |
| 267 | mail_on_failure "doc" ../build/$F |
| 268 | fi |
| 269 | |
Georg Brandl | 4cf8ac4 | 2008-10-04 08:13:56 +0000 | [diff] [blame] | 270 | F="make-doc-dist.out" |
| 271 | start=`current_time` |
| 272 | if [ $conflict_count == 0 ]; then |
| 273 | make dist >& ../build/$F |
| 274 | err=$? |
| 275 | fi |
| 276 | update_status "Making downloadable doc" "$F" $start |
| 277 | if [ $err != 0 ]; then |
| 278 | NUM_FAILURES=1 |
| 279 | mail_on_failure "doc dist" ../build/$F |
| 280 | fi |
| 281 | |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 282 | echo "</ul>" >> $RESULT_FILE |
| 283 | echo "</body>" >> $RESULT_FILE |
| 284 | echo "</html>" >> $RESULT_FILE |
| 285 | |
| 286 | ## copy results |
Georg Brandl | bbd82e4 | 2010-01-03 14:18:52 +0000 | [diff] [blame] | 287 | chgrp -R webmaster build/html |
| 288 | chmod -R g+w build/html |
Neal Norwitz | 7def3e0 | 2007-08-16 05:07:03 +0000 | [diff] [blame] | 289 | rsync $RSYNC_OPTS build/html/* $REMOTE_SYSTEM:$REMOTE_DIR |
Georg Brandl | 4cf8ac4 | 2008-10-04 08:13:56 +0000 | [diff] [blame] | 290 | rsync $RSYNC_OPTS dist/* $REMOTE_SYSTEM:$REMOTE_DIR_DIST |
Neal Norwitz | 461aa5b | 2006-01-02 20:07:16 +0000 | [diff] [blame] | 291 | cd ../build |
| 292 | rsync $RSYNC_OPTS index.html *.out $REMOTE_SYSTEM:$REMOTE_DIR/results/ |