8136650: Add support for custom jtreg native tests
authorrehn
Thu, 02 Mar 2017 09:59:46 +0100
changeset 46840 6f30145bb877
parent 46839 7db0c62b659d
child 46841 76a15bd1de0a
8136650: Add support for custom jtreg native tests Reviewed-by: ctornqvi, erikj
jdk/make/test/JtregNative.gmk
--- a/jdk/make/test/JtregNative.gmk	Fri Feb 24 12:33:00 2017 -0500
+++ b/jdk/make/test/JtregNative.gmk	Thu Mar 02 09:59:46 2017 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2015, 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, jdk, test/JtregNative.gmk))
+
 ################################################################################
 # Targets for building the native tests themselves.
 ################################################################################
 
 # Add more directories here when needed.
-BUILD_JDK_JTREG_NATIVE_SRC := \
+BUILD_JDK_JTREG_NATIVE_SRC += \
     $(JDK_TOPDIR)/test/native_sanity \
     #