Line | |
---|
1 | #!/bin/bash |
---|
2 | if test $# -eq 0 |
---|
3 | then |
---|
4 | echo "usage: $0 <toolset>" "[<boost root directory>]" "[<target directory>]" |
---|
5 | else |
---|
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 |
---|
31 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.