test/Makefile

Print this page




 467 jdk_beans: jdk_beans1 jdk_beans2 jdk_beans3
 468         @$(SummaryInfo)
 469 
 470 # Stable agentvm testruns (minus items from PROBLEM_LIST)
 471 JDK_ALL_TARGETS += jdk_io
 472 jdk_io: $(call TestDirs, java/io)
 473         $(call RunAgentvmBatch)
 474 
 475 # Stable othervm testruns (minus items from PROBLEM_LIST)
 476 #   Using agentvm has serious problems with these tests
 477 ifdef OPENJDK
 478 jdk_jfr:
 479 else
 480 JDK_ALL_TARGETS += jdk_jfr
 481 jdk_jfr: $(call TestDirs, com/oracle/jfr)
 482         $(call RunOthervmBatch)
 483 endif
 484 
 485 # Stable agentvm testruns (minus items from PROBLEM_LIST)
 486 JDK_ALL_TARGETS += jdk_lang
 487 jdk_lang: $(call TestDirs, java/lang)
 488         $(call RunAgentvmBatch)
 489 
 490 # Stable othervm testruns (minus items from PROBLEM_LIST)
 491 #   Using agentvm has serious problems with these tests
 492 JDK_ALL_TARGETS += jdk_management1
 493 jdk_management1: $(call TestDirs, javax/management)
 494         $(call RunOthervmBatch)
 495 
 496 # Stable othervm testruns (minus items from PROBLEM_LIST)
 497 #   Using agentvm has serious problems with these tests
 498 JDK_ALL_TARGETS += jdk_management2
 499 jdk_management2: $(call TestDirs, com/sun/jmx com/sun/management sun/management)
 500         $(call RunOthervmBatch)
 501 
 502 # All management tests
 503 jdk_management: jdk_management1 jdk_management2
 504         @$(SummaryInfo)
 505 
 506 # Stable samevm testruns (minus items from PROBLEM_LIST)
 507 JDK_ALL_TARGETS += jdk_math
 508 jdk_math: $(call TestDirs, java/math)
 509         $(call RunAgentvmBatch)
 510 
 511 # Stable samevm testruns (minus items from PROBLEM_LIST)
 512 JDK_ALL_TARGETS += jdk_misc
 513 jdk_misc: $(call TestDirs, \
 514           demo/jvmti demo/zipfs javax/naming javax/script \
 515           javax/smartcardio com/sun/jndi com/sun/xml \
 516           com/sun/corba sun/misc)









 517         $(call RunAgentvmBatch)
 518 
 519 # Stable samevm testruns (minus items from PROBLEM_LIST)
 520 JDK_ALL_TARGETS += jdk_net
 521 jdk_net: $(call TestDirs, com/sun/net java/net sun/net)
 522         $(call RunAgentvmBatch)
 523 
 524 # Stable samevm testruns (minus items from PROBLEM_LIST)
 525 JDK_ALL_TARGETS += jdk_nio1
 526 jdk_nio1: $(call TestDirs, java/nio/file)
 527         $(call RunAgentvmBatch)
 528 
 529 # Stable samevm testruns (minus items from PROBLEM_LIST)
 530 JDK_ALL_TARGETS += jdk_nio2
 531 jdk_nio2: $(call TestDirs, java/nio/Buffer java/nio/ByteOrder \
 532           java/nio/channels java/nio/MappedByteBuffer)
 533         $(call SharedLibraryPermissions,java/nio/channels)
 534         $(call RunAgentvmBatch)
 535 
 536 # Stable samevm testruns (minus items from PROBLEM_LIST)
 537 JDK_ALL_TARGETS += jdk_nio3
 538 jdk_nio3: $(call TestDirs, sun/nio)
 539         $(call RunAgentvmBatch)
 540 
 541 # All nio tests
 542 jdk_nio: jdk_nio1 jdk_nio2 jdk_nio3
 543         @$(SummaryInfo)
 544 
 545 # Stable samevm testruns (minus items from PROBLEM_LIST)
 546 jdk_sctp: $(call TestDirs, com/sun/nio/sctp)
 547         $(call RunAgentvmBatch)
 548 
 549 # Stable othervm testruns (minus items from PROBLEM_LIST)
 550 #   Using samevm has serious problems with these tests
 551 JDK_ALL_TARGETS += jdk_rmi
 552 jdk_rmi: $(call TestDirs, java/rmi javax/rmi sun/rmi)
 553         $(call RunOthervmBatch)
 554 
 555 # Stable samevm testruns (minus items from PROBLEM_LIST)
 556 JDK_ALL_TARGETS += jdk_security1
 557 jdk_security1: $(call TestDirs, java/security)
 558         $(call RunAgentvmBatch)
 559 
 560 # Stable othervm testruns (minus items from PROBLEM_LIST)
 561 #   Using samevm has serious problems with these tests
 562 JDK_ALL_TARGETS += jdk_security2
 563 jdk_security2: $(call TestDirs, javax/crypto com/sun/crypto)
 564         $(call RunAgentvmBatch)
 565 
 566 # Stable othervm testruns (minus items from PROBLEM_LIST)
 567 #   Using samevm has serious problems with these tests
 568 JDK_ALL_TARGETS += jdk_security3
 569 jdk_security3: $(call TestDirs, com/sun/security lib/security \
 570                javax/security sun/security \
 571                com/sun/org/apache/xml/internal/security \
 572                com/oracle/security/ucrypto)
 573         $(call SharedLibraryPermissions,sun/security)
 574         $(call RunAgentvmBatch)
 575 
 576 # All security tests
 577 jdk_security: jdk_security1 jdk_security2 jdk_security3
 578         @$(SummaryInfo)
 579 
 580 # Stable samevm testruns (minus items from PROBLEM_LIST)
 581 JDK_ALL_TARGETS += jdk_sound
 582 jdk_sound: $(call TestDirs, javax/sound)
 583         $(call RunAgentvmBatch)
 584 
 585 # Stable othervm testruns (minus items from PROBLEM_LIST)
 586 #   Using samevm has problems, and doesn't help performance as much as others.
 587 JDK_ALL_TARGETS += jdk_swing
 588 jdk_swing: $(call TestDirs, javax/swing sun/java2d \
 589            demo/jfc com/sun/java/swing)
 590         $(call RunOthervmBatch)
 591 
 592 # Stable samevm testruns (minus items from PROBLEM_LIST)
 593 JDK_ALL_TARGETS += jdk_text
 594 jdk_text: $(call TestDirs, java/text sun/text)
 595         $(call RunAgentvmBatch)
 596 
 597 # Stable samevm testruns (minus items from PROBLEM_LIST)
 598 JDK_ALL_TARGETS += jdk_tools1
 599 jdk_tools1: $(call TestDirs, com/sun/jdi)
 600         $(call RunAgentvmBatch)
 601 
 602 # Stable othervm testruns (minus items from PROBLEM_LIST)
 603 #   Using samevm has serious problems with these tests
 604 JDK_ALL_TARGETS += jdk_tools2
 605 jdk_tools2: $(call TestDirs, \
 606             com/sun/tools sun/jvmstat sun/tools tools vm \
 607             com/sun/servicetag com/sun/tracing)
 608         $(call SharedLibraryPermissions,tools/launcher)
 609         $(call RunAgentvmBatch)
 610 
 611 # All tools tests
 612 jdk_tools: jdk_tools1 jdk_tools2
 613         @$(SummaryInfo)
 614 
 615 # Stable samevm testruns (minus items from PROBLEM_LIST)
 616 JDK_ALL_TARGETS += jdk_util
 617 jdk_util: $(call TestDirs, java/util sun/util)
 618         $(call RunAgentvmBatch)
 619 
 620 # ------------------------------------------------------------------
 621 
 622 # Run all tests
 623 FILTER_OUT_LIST=jdk_awt jdk_rmi jdk_swing
 624 JDK_ALL_STABLE_TARGETS := $(filter-out $(FILTER_OUT_LIST), $(JDK_ALL_TARGETS))
 625 jdk_all: $(JDK_ALL_STABLE_TARGETS)
 626         @$(SummaryInfo)
 627 
 628 # These are all phony targets
 629 PHONY_LIST += $(JDK_ALL_TARGETS)
 630 
 631 # ------------------------------------------------------------------
 632 
 633 # Default JTREG to run (win32 script works for everybody)
 634 JTREG = $(JT_HOME)/win32/bin/jtreg




 467 jdk_beans: jdk_beans1 jdk_beans2 jdk_beans3
 468         @$(SummaryInfo)
 469 
 470 # Stable agentvm testruns (minus items from PROBLEM_LIST)
 471 JDK_ALL_TARGETS += jdk_io
 472 jdk_io: $(call TestDirs, java/io)
 473         $(call RunAgentvmBatch)
 474 
 475 # Stable othervm testruns (minus items from PROBLEM_LIST)
 476 #   Using agentvm has serious problems with these tests
 477 ifdef OPENJDK
 478 jdk_jfr:
 479 else
 480 JDK_ALL_TARGETS += jdk_jfr
 481 jdk_jfr: $(call TestDirs, com/oracle/jfr)
 482         $(call RunOthervmBatch)
 483 endif
 484 
 485 # Stable agentvm testruns (minus items from PROBLEM_LIST)
 486 JDK_ALL_TARGETS += jdk_lang
 487 jdk_lang: $(call TestDirs, java/lang sun/invoke sun/misc vm)
 488         $(call RunAgentvmBatch)
 489 
 490 # Stable othervm testruns (minus items from PROBLEM_LIST)
 491 #   Using agentvm has serious problems with these tests
 492 JDK_ALL_TARGETS += jdk_jmx
 493 jdk_jmx: $(call TestDirs, javax/management com/sun/jmx)
 494         $(call RunOthervmBatch)
 495 
 496 # Stable othervm testruns (minus items from PROBLEM_LIST)
 497 #   Using agentvm has serious problems with these tests
 498 JDK_ALL_TARGETS += jdk_management
 499 jdk_management: $(call TestDirs, com/sun/management sun/management)
 500         $(call RunOthervmBatch)
 501 




 502 # Stable samevm testruns (minus items from PROBLEM_LIST)
 503 JDK_ALL_TARGETS += jdk_math
 504 jdk_math: $(call TestDirs, java/math)
 505         $(call RunAgentvmBatch)
 506 
 507 # Stable samevm testruns (minus items from PROBLEM_LIST)
 508 JDK_ALL_TARGETS += jdk_other
 509 jdk_other: $(call TestDirs, \
 510           demo/jvmti demo/zipfs javax/naming \
 511           javax/naming com/sun/jndi \
 512           javax/script \
 513           javax/sql \
 514           javax/smartcardio \
 515           com/sun/xml \
 516           javax/xml/ws com/sun/internal/ws \
 517           com/sun/org/apache/xerces \
 518           com/sun/corba \
 519           com/sun/servicetag \
 520           com/sun/tracing \
 521           sun/usagetracker) 
 522         $(call RunAgentvmBatch)
 523 
 524 # Stable samevm testruns (minus items from PROBLEM_LIST)
 525 JDK_ALL_TARGETS += jdk_net
 526 jdk_net: $(call TestDirs, com/sun/net java/net sun/net com/oracle/net)
 527         $(call RunAgentvmBatch)
 528 
 529 # Stable samevm testruns (minus items from PROBLEM_LIST)
 530 jdk_nio: $(call TestDirs, java/nio sun/nio com/oracle/nio)







 531         $(call SharedLibraryPermissions,java/nio/channels)
 532         $(call RunAgentvmBatch)
 533 
 534 # Stable samevm testruns (minus items from PROBLEM_LIST)









 535 jdk_sctp: $(call TestDirs, com/sun/nio/sctp)
 536         $(call RunAgentvmBatch)
 537 
 538 # Stable othervm testruns (minus items from PROBLEM_LIST)
 539 #   Using samevm has serious problems with these tests
 540 JDK_ALL_TARGETS += jdk_rmi
 541 jdk_rmi: $(call TestDirs, java/rmi sun/rmi javax/rmi/ssl)
 542         $(call RunOthervmBatch)
 543 
 544 # Stable samevm testruns (minus items from PROBLEM_LIST)
 545 JDK_ALL_TARGETS += jdk_security1
 546 jdk_security1: $(call TestDirs, java/security)
 547         $(call RunAgentvmBatch)
 548 
 549 # Stable othervm testruns (minus items from PROBLEM_LIST)
 550 #   Using samevm has serious problems with these tests
 551 JDK_ALL_TARGETS += jdk_security2
 552 jdk_security2: $(call TestDirs, javax/crypto com/sun/crypto)
 553         $(call RunAgentvmBatch)
 554 
 555 # Stable othervm testruns (minus items from PROBLEM_LIST)
 556 #   Using samevm has serious problems with these tests
 557 JDK_ALL_TARGETS += jdk_security3
 558 jdk_security3: $(call TestDirs, com/sun/security lib/security \
 559                 javax/security sun/security \
 560                 com/sun/org/apache/xml/internal/security \
 561                 com/oracle/security)
 562         $(call SharedLibraryPermissions,sun/security)
 563         $(call RunAgentvmBatch)
 564 
 565 # All security tests
 566 jdk_security: jdk_security1 jdk_security2 jdk_security3
 567         @$(SummaryInfo)
 568 
 569 # Stable samevm testruns (minus items from PROBLEM_LIST)
 570 JDK_ALL_TARGETS += jdk_sound
 571 jdk_sound: $(call TestDirs, javax/sound)
 572         $(call RunAgentvmBatch)
 573 
 574 # Stable othervm testruns (minus items from PROBLEM_LIST)
 575 #   Using samevm has problems, and doesn't help performance as much as others.
 576 JDK_ALL_TARGETS += jdk_swing
 577 jdk_swing: $(call TestDirs, javax/swing sun/java2d \
 578            demo/jfc com/sun/java/swing)
 579         $(call RunOthervmBatch)
 580 
 581 # Stable samevm testruns (minus items from PROBLEM_LIST)
 582 JDK_ALL_TARGETS += jdk_text
 583 jdk_text: $(call TestDirs, java/text sun/text)
 584         $(call RunAgentvmBatch)
 585 
 586 # Stable samevm testruns (minus items from PROBLEM_LIST)
 587 JDK_ALL_TARGETS += jdk_jdi
 588 jdk_jdi: $(call TestDirs, com/sun/jdi)
 589         $(call RunAgentvmBatch)
 590 
 591 # Stable othervm testruns (minus items from PROBLEM_LIST)
 592 #   Using samevm has serious problems with these tests
 593 JDK_ALL_TARGETS += jdk_tools
 594 jdk_tools: $(call TestDirs, \
 595                 com/sun/tools sun/jvmstat sun/tools tools \
 596                 com/sun/servicetag com/sun/tracing)
 597         $(call SharedLibraryPermissions,tools/launcher)
 598         $(call RunAgentvmBatch)
 599 




 600 # Stable samevm testruns (minus items from PROBLEM_LIST)
 601 JDK_ALL_TARGETS += jdk_util
 602 jdk_util: $(call TestDirs, java/util sun/util)
 603         $(call RunAgentvmBatch)
 604 
 605 # ------------------------------------------------------------------
 606 
 607 # Run all tests
 608 FILTER_OUT_LIST=jdk_awt jdk_rmi jdk_swing
 609 JDK_ALL_STABLE_TARGETS := $(filter-out $(FILTER_OUT_LIST), $(JDK_ALL_TARGETS))
 610 jdk_all: $(JDK_ALL_STABLE_TARGETS)
 611         @$(SummaryInfo)
 612 
 613 # These are all phony targets
 614 PHONY_LIST += $(JDK_ALL_TARGETS)
 615 
 616 # ------------------------------------------------------------------
 617 
 618 # Default JTREG to run (win32 script works for everybody)
 619 JTREG = $(JT_HOME)/win32/bin/jtreg