Procházet zdrojové kódy

Add always_show_run_output option

[SVN r14633]
Beman Dawes před 24 roky
rodič
revize
bddcdc23a9
1 změnil soubory, kde provedl 10 přidání a 5 odebrání
  1. 10 5
      status/Jamfile

+ 10 - 5
status/Jamfile

@@ -11,10 +11,15 @@ SEARCH on testing.jam = $(BOOST_BUILD_PATH) ;
 include testing.jam ;
 
 # Note that the Compiler Status Report HTML generator scans
-# these rule invocations to find test type. That program is
-# pretty stupid and needs help, including test names (if supplied)
-# which are unambiguous, not the same as a .cpp file name, and
-# preceded and followed by a space. 
+# these rule invocations to find test type (compile, run, etc.)
+# That program is quite stupid and needs help, including test names
+# (if supplied) which are unambiguous, not the same as a .cpp file
+# name, and preceded and followed by a space. The .cpp file name must
+# be given on the same line as the test type.
+#
+# If the line with the test type includes the comment
+# "# compiler_status<always_show_run_output>" then
+# run output will be displayed even if the test passes.
 
 {
     # look in BOOST_ROOT for sources first, just in this Jamfile
@@ -34,7 +39,7 @@ include testing.jam ;
                 : #requirements
                 <threading>multi
           ]
-           [ run libs/config/test/config_info.cpp ]
+           [ run libs/config/test/config_info.cpp ] # compiler_status<always_show_run_output>
            [ run libs/config/test/limits_test.cpp ]
         ;
 

粤ICP备19079148号