Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jdk17u
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
einsteinathome
openjdk
jdk17u
Commits
158c7ec3
Commit
158c7ec3
authored
Jul 16, 2014
by
Mikael Vidstedt
Browse files
Options
Downloads
Patches
Plain Diff
8050825: Support running regression tests using jtreg_tests+TESTDIRS from top level
Reviewed-by: dholmes, mduigou
parent
03dc89c3
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/Makefile
+26
-0
26 additions, 0 deletions
test/Makefile
with
26 additions
and
0 deletions
test/Makefile
+
26
−
0
View file @
158c7ec3
...
@@ -66,6 +66,32 @@ jdk_% core_%s svc_%:
...
@@ -66,6 +66,32 @@ jdk_% core_%s svc_%:
hotspot_%
:
hotspot_%
:
@$(
NO_STOPPING
)$(
call SUBDIR_TEST,
$(
HOTSPOT_DIR
)
,
TEST
=
"
$@
"
$@
)
@$(
NO_STOPPING
)$(
call SUBDIR_TEST,
$(
HOTSPOT_DIR
)
,
TEST
=
"
$@
"
$@
)
#
# jtreg_tests
#
# Invocation:
#
# make jtreg_tests TESTDIRS=<test-dirs>
#
# where <test-dirs> is something like '../<component>/test/runtime',
# <component> in turn being one of the top level directories (for
# example 'hotspot').
#
# The below will strip the path prefix and delegate to the
# corresponding ../<component>/test/Makefile.
ifneq
($(TESTDIRS),)
# Extract the component from ../<component>/...
COMPONENT
=
$(
word 2,
$(
subst /, ,
$(
TESTDIRS
)))
# Strip off the ../<component>/test prefix and pass the rest as TESTDIRS
# to the delegate Makefile
TESTDIRS_TESTS
=
$(
patsubst ../
$(
COMPONENT
)
/test/%,%,
$(
TESTDIRS
))
endif
jtreg_tests
:
@$(
NO_STOPPING
)$(
call SUBDIR_TEST,
$(
TOPDIR
)
/
$(
COMPONENT
)
,
TESTDIRS
=
$(
TESTDIRS_TESTS
)
$@
)
################################################################
################################################################
# Phony targets (e.g. these are not filenames)
# Phony targets (e.g. these are not filenames)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment