PageRenderTime 51ms CodeModel.GetById 25ms RepoModel.GetById 0ms app.codeStats 0ms

/jni/boost/libs/serialization/test/runtest.ksh

https://github.com/LeifAndersen/Android-Supertux
Korn Shell | 24 lines | 24 code | 0 blank | 0 comment | 8 complexity | 17b521b63ffe8d6dca1b3a7ff54c80fe MD5 | raw file
  1. if test $# -eq 0
  2. then
  3. echo "usage: $0 <toolset> [<target]>"
  4. else
  5. if test "$BOOST_ROOT" == ""
  6. then
  7. set +A BOOST_ROOT `dirname $PWD`
  8. set +A BOOST_ROOT `dirname $BOOST_ROOT`
  9. set +A BOOST_ROOT `dirname $BOOST_ROOT`
  10. fi
  11. if test "$2" != ""
  12. then
  13. export ALL_LOCATE_TARGET=$2
  14. fi
  15. if test "$ALL_LOCATE_TARGET" == ""
  16. then
  17. export ALL_LOCATE_TARGET=$BOOST_ROOT
  18. fi
  19. export BOOST_ROOT
  20. echo Running tests for $1 on $BOOST_ROOT to $ALL_LOCATE_TARGET
  21. bjam --dump-test -sTOOLS=$1 test >bjam.log 2>&1
  22. process_jam_log <bjam.log $ALL_LOCATE_TARGET
  23. compiler_status2 --locate-root $ALL_LOCATE_TARGET $BOOST_ROOT compiler_status.html links.html
  24. fi