8136650: Add support for custom jtreg native tests
authorrehn
Thu, 02 Mar 2017 09:51:47 +0100
changeset 46302 89b28b206eb2
parent 46300 b8c77e61e99e
child 46303 9cb271e01558
8136650: Add support for custom jtreg native tests Reviewed-by: ctornqvi, erikj
hotspot/make/test/JtregNative.gmk
--- a/hotspot/make/test/JtregNative.gmk	Wed Mar 01 14:59:36 2017 -0800
+++ b/hotspot/make/test/JtregNative.gmk	Thu Mar 02 09:51:47 2017 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 #
 # This code is free software; you can redistribute it and/or modify it
@@ -35,12 +35,14 @@
 include MakeBase.gmk
 include TestFilesCompilation.gmk
 
+$(eval $(call IncludeCustomExtension, hotspot, test/JtregNative.gmk))
+
 ################################################################################
 # Targets for building the native tests themselves.
 ################################################################################
 
 # Add more directories here when needed.
-BUILD_HOTSPOT_JTREG_NATIVE_SRC := \
+BUILD_HOTSPOT_JTREG_NATIVE_SRC += \
     $(HOTSPOT_TOPDIR)/test/native_sanity \
     $(HOTSPOT_TOPDIR)/test/runtime/jni/8025979 \
     $(HOTSPOT_TOPDIR)/test/runtime/jni/8033445 \