Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/libs/serialization/test/runtest.sh @ 29

Last change on this file since 29 was 29, checked in by landauf, 16 years ago

updated boost from 1_33_1 to 1_34_1

File size: 837 bytes
Line 
1#!/bin/bash
2if test $# -eq 0 
3then
4    echo "usage: $0 <toolset>" "[<boost root directory>]" "[<target directory>]"
5else
6    echo "Running tests for $1"
7    if [ ! "$2" = "" ]
8    then
9        export BOOST_ROOT=$2
10        if [ ! "$3" == "" ]
11        then
12                export ALL_LOCATE_TARGET=$3
13        fi
14    else
15        if [ "$BOOST_ROOT" = "" ]
16        then
17                set BOOST_ROOT `dirname $PWD`
18                set BOOST_ROOT `dirname $BOOST_ROOT`
19                set BOOST_ROOT `dirname $BOOST_ROOT`
20                export BOOST_ROOT
21        fi
22    fi
23
24    if [ "$ALL_LOCATE_TARGET" == "" ]
25    then
26        export ALL_LOCATE_TARGET=$BOOST_ROOT
27    fi
28    bjam --dump-test -sTOOLS=$1 test >bjam.log 2>&1
29    process_jam_log <bjam.log $ALL_LOCATE_TARGET
30    compiler_status2 --locate-root $ALL_LOCATE_TARGET $BOOST_ROOT compiler_status.html links.html
31fi
Note: See TracBrowser for help on using the repository browser.