Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8181053

port basicvmtest to jtreg

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9, 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b21

      Description

      basicvmtest checks that java can be started with a couple flags:
      # flags used to execute java in test targets
      TEST_FLAGS += -version -Xinternalversion -X -help
      sanitytest: prep $(PRODUCT_HOME)
              @for flag in $(TEST_FLAGS); \
              do \
                  echo Executing java $(JAVA_OPTIONS) $$flag; \
                  $(PRODUCT_HOME)/bin/java $(JAVA_OPTIONS) $$flag; \
                  res=$$?; \
                  if [ $$res -ne 0 ]; then \
                      exit $$res; \
                  fi; \
              done

        Attachments

          Activity

            People

            Assignee:
            iignatyev Igor Ignatyev (Inactive)
            Reporter:
            iignatyev Igor Ignatyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: