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

RFE: Adding os.arch ==amd64 in manual regression test cases

XMLWordPrintable

    • b01
    • x86, sparc
    • solaris, solaris_10, windows_2008, windows_vista
    • Verified

        There are about 100+ test cases are failed automatically on Solaris Sun OS because of
        arch.equals("amd64")

        As we are testing Sustaining manual regression suite on SunOS with AMD architecture, please modify the following common code to consider arch.equals("amd64") a valid architecture for Sun OS:

        **************************************************************************************
        if (name.equals("SunOS")) {
                    if (arch.equals("sparc") || arch.equals("sparcv9")) { // SPARC 32+64
                        System.out.println("Test passed. This test is only for Windows");
                        return;
                    } else if (arch.equals("x86")) { // X86
                        System.out.println("Test passed. This test is only for Windows");
                        return;
                    } else {
                        throw new RuntimeException("unrecognized system:" + "os.arch == " + arch + " os.name == " + name);
         ****************************************************************************************

              robm Robert Mckenna
              hungnguy Hung Nguyen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: