boost_test.bat 813 B

123456789101112131415161718192021222324252627282930
  1. @echo off
  2. if not $%1==$--help goto nohelp
  3. echo Invoke: boost_test [-ts toolset] [b2-options]
  4. echo Default -ts is gcc-c++03,gcc-c++11,gcc-c++14,msvc-12.0,msvc-14.0,msvc-14.1
  5. echo Example: boost_test -ts msvc-12.0 -a "define=BOOST_SOME_MACRO" config_info
  6. goto done
  7. :nohelp
  8. if $%1==$-ts goto toolset
  9. echo Begin test processing...
  10. b2 -j3 --v2 --dump-tests --toolset=gcc-c++03,gcc-c++11,gcc-c++14,msvc-12.0,msvc-14.0,msvc-14.1 %* >b2.log 2>&1
  11. goto jam_log
  12. :toolset
  13. echo Begin test processing...
  14. b2 -j3 --v2 --dump-tests --toolset=%2 %3 %4 %5 %6 %7 %8 %9 >b2.log 2>&1
  15. :jam_log
  16. echo Begin log processing...
  17. process_jam_log --v2 <b2.log
  18. start b2.log
  19. grep -i warning b2.log | sort | uniq
  20. echo Begin compiler status processing...
  21. compiler_status --v2 . test_status.html test_links.html
  22. start test_status.html
  23. :done