File: runtest.bat

package info (click to toggle)
boost 1.32.0-6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 93,952 kB
  • ctags: 128,458
  • sloc: cpp: 492,477; xml: 52,125; python: 13,519; ansic: 13,013; sh: 1,773; yacc: 853; makefile: 526; perl: 418; lex: 110; csh: 6
file content (19 lines) | stat: -rw-r--r-- 677 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@ echo off
if "%1" == "" goto message
    if "%2" == "" goto 1
        set BOOST_ROOT=%2
    if "%3" == "" goto 1
        set ALL_LOCATE_TARGET=%3
        :1
    if "%BOOST_ROOT%" == "" goto message
    if not "%ALL_LOCATE_TARGET%" == "" goto 2
        set ALL_LOCATE_TARGET=%BOOST_ROOT%
    :2
    echo Running tests for %1 on %BOOST_ROOT% to %ALL_LOCATE_TARGET%
    bjam --dump-test -sTOOLS=%1 test >bjam.log 2>&1
    process_jam_log <bjam.log %ALL_LOCATE_TARGET%
    compiler_status --locate-root %ALL_LOCATE_TARGET% %BOOST_ROOT%  compiler_status.html links.html
    goto end
:message
    echo usage: runtest "<toolset>" "<boost root directory>" "[<target directory>]"
:end