test/make/TestIdea.gmk
author akolarkunnu
Fri, 16 Feb 2018 18:06:23 +0530
changeset 49087 68b37374319c
parent 47334 09d386ddaa42
permissions -rw-r--r--
8196338: [TEST_BUG] sanity/client/SwingSet/src/TextFieldDemoTest.java Failed with timeout Reviewed-by: ssadetsky
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
37861
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
     1
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
     2
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
     4
#
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    10
#
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    15
# accompanied this code).
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    16
#
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    20
#
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    23
# questions.
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    24
#
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    25
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    26
include $(SPEC)
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    27
include MakeBase.gmk
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    28
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    29
default: all
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    30
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    31
IDEA_OUTPUT_DIR := $(TESTMAKE_OUTPUTDIR)/verify-idea
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    32
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    33
clean-idea:
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    34
	$(RM) -r $(IDEA_OUTPUT_DIR)
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    35
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    36
verify-idea:
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    37
	$(MKDIR) -p $(IDEA_OUTPUT_DIR)
47334
09d386ddaa42 8189095: Import JMC from artifactory using Jib and main makefiles
erikj
parents: 37861
diff changeset
    38
	MAKEFLAGS= MFLAGS= $(BASH) $(TOPDIR)/bin/idea.sh -o $(IDEA_OUTPUT_DIR)/idea1
09d386ddaa42 8189095: Import JMC from artifactory using Jib and main makefiles
erikj
parents: 37861
diff changeset
    39
	MAKEFLAGS= MFLAGS= $(BASH) $(TOPDIR)/bin/idea.sh -o $(IDEA_OUTPUT_DIR)/idea2 java.base
09d386ddaa42 8189095: Import JMC from artifactory using Jib and main makefiles
erikj
parents: 37861
diff changeset
    40
	MAKEFLAGS= MFLAGS= $(BASH) $(TOPDIR)/bin/idea.sh -o $(IDEA_OUTPUT_DIR)/idea3 java.base jdk.compiler
37861
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    41
47334
09d386ddaa42 8189095: Import JMC from artifactory using Jib and main makefiles
erikj
parents: 37861
diff changeset
    42
TEST_TARGETS += verify-idea
37861
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    43
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    44
all: $(TEST_TARGETS)
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    45
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    46
.PHONY: default all verify-idea