make/Help.gmk
changeset 46033 5b16a1c3ccff
parent 44726 04aa2c065f5c
child 45266 29347d0c7122
equal deleted inserted replaced
46032:38f5945b47b4 46033:5b16a1c3ccff
     1 #
     1 #
     2 # Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
     2 # Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4 #
     4 #
     5 # This code is free software; you can redistribute it and/or modify it
     5 # This code is free software; you can redistribute it and/or modify it
     6 # under the terms of the GNU General Public License version 2 only, as
     6 # under the terms of the GNU General Public License version 2 only, as
     7 # published by the Free Software Foundation.  Oracle designates this
     7 # published by the Free Software Foundation.  Oracle designates this
    45 	$(info $(_)                        # (gensrc, java, copy, libs, launchers, gendata, rmic))
    45 	$(info $(_)                        # (gensrc, java, copy, libs, launchers, gendata, rmic))
    46 	$(info $(_) make *-only            # Applies to most targets and disables compling the)
    46 	$(info $(_) make *-only            # Applies to most targets and disables compling the)
    47 	$(info $(_)                        # dependencies for the target. This is faster but may)
    47 	$(info $(_)                        # dependencies for the target. This is faster but may)
    48 	$(info $(_)                        # result in incorrect build results!)
    48 	$(info $(_)                        # result in incorrect build results!)
    49 	$(info $(_) make docs              # Create all docs)
    49 	$(info $(_) make docs              # Create all docs)
    50 	$(info $(_) make docs-javadoc      # Create just javadocs, depends on less than full docs)
    50 	$(info $(_) make docs-jdk-api      # Create just JDK javadocs)
    51 	$(info $(_) make profiles          # Create complete jre compact profile images)
    51 	$(info $(_) make profiles          # Create complete jre compact profile images)
    52 	$(info $(_) make bootcycle-images  # Build images twice, second time with newly built JDK)
    52 	$(info $(_) make bootcycle-images  # Build images twice, second time with newly built JDK)
    53 	$(info $(_) make install           # Install the generated images locally)
    53 	$(info $(_) make install           # Install the generated images locally)
    54 	$(info $(_) make reconfigure       # Rerun configure with the same arguments as last time)
    54 	$(info $(_) make reconfigure       # Rerun configure with the same arguments as last time)
    55 	$(info $(_) make help              # Give some help on using make)
    55 	$(info $(_) make help              # Give some help on using make)
    56 	$(info $(_) make test              # Run tests, default is all tests (see TEST below))
    56 	$(info $(_) make test              # Run tests, default is all tests (see TEST below))
       
    57 	$(info $(_) make run-test-<test>   # Run test, e.g. run-test-tier1)
       
    58 	$(info $(_) make run-test TEST=<t> # Run test(s) given by TEST specification)
    57 	$(info )
    59 	$(info )
    58 	$(info Targets for cleaning)
    60 	$(info Targets for cleaning)
    59 	$(info $(_) make clean             # Remove all files generated by make, but not those)
    61 	$(info $(_) make clean             # Remove all files generated by make, but not those)
    60 	$(info $(_)                        # generated by configure)
    62 	$(info $(_)                        # generated by configure)
    61 	$(info $(_) make dist-clean        # Remove all files, including configuration)
    63 	$(info $(_) make dist-clean        # Remove all files, including configuration)
    93 	$(info $(_) TEST_JOBS=<n>          # Run <n> parallel test jobs)
    95 	$(info $(_) TEST_JOBS=<n>          # Run <n> parallel test jobs)
    94 	$(info $(_) CONF_CHECK=<method>    # What to do if spec file is out of date)
    96 	$(info $(_) CONF_CHECK=<method>    # What to do if spec file is out of date)
    95 	$(info $(_)                        # method is 'auto', 'ignore' or 'fail' (default))
    97 	$(info $(_)                        # method is 'auto', 'ignore' or 'fail' (default))
    96 	$(info $(_) make test TEST=<test>  # Only run the given test or tests, e.g.)
    98 	$(info $(_) make test TEST=<test>  # Only run the given test or tests, e.g.)
    97 	$(info $(_)                        # make test TEST="jdk_lang jdk_net")
    99 	$(info $(_)                        # make test TEST="jdk_lang jdk_net")
       
   100 	$(info $(_) JTREG="OPT1=x;OPT2=y"  # Control the JTREG test harness for run-test)
       
   101 	$(info $(_) GTEST="OPT1=x;OPT2=y"  # Control the GTEST test harness for run-test)
    98 	$(info )
   102 	$(info )
    99 	$(if $(all_confs), $(info Available configurations in $(build_dir):) $(foreach var,$(all_confs),$(info * $(var))),\
   103 	$(if $(all_confs), $(info Available configurations in $(build_dir):) $(foreach var,$(all_confs),$(info * $(var))),\
   100 	    $(info No configurations were found in $(build_dir).) $(info Run 'bash configure' to create a configuration.))
   104 	    $(info No configurations were found in $(build_dir).) $(info Run 'bash configure' to create a configuration.))
   101         # We need a dummy rule otherwise make will complain
   105         # We need a dummy rule otherwise make will complain
   102 	@true
   106 	@true