make/common/FindTests.gmk
changeset 52342 9341b077bd55
parent 47932 0c22f6b9b5e2
child 52396 e292e94b448a
equal deleted inserted replaced
52341:2b58b8e1d28f 52342:9341b077bd55
     1 #
     1 #
     2 # Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
     2 # Copyright (c) 2017, 2018, 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
    70 ALL_NAMED_TESTS += $(JTREG_TEST_GROUPS)
    70 ALL_NAMED_TESTS += $(JTREG_TEST_GROUPS)
    71 
    71 
    72 # Add Gtest
    72 # Add Gtest
    73 ALL_NAMED_TESTS += gtest
    73 ALL_NAMED_TESTS += gtest
    74 
    74 
       
    75 # Find make test targets
       
    76 MAKE_TEST_TARGETS := $(shell $(MAKE) -s --no-print-directory $(MAKE_ARGS) \
       
    77     SPEC=$(SPEC) -f $(TOPDIR)/test/make/TestMake.gmk print-targets)
       
    78 
       
    79 ALL_NAMED_TESTS += $(addprefix make-, $(MAKE_TEST_TARGETS))
       
    80 
       
    81 # Add special tests
       
    82 ALL_NAMED_TESTS += hotspot-internal failure-handler make
       
    83 
    75 ################################################################################
    84 ################################################################################
    76 
    85 
    77 endif # _FIND_TESTS_GMK
    86 endif # _FIND_TESTS_GMK