419 |
423 |
420 # Batches of tests (somewhat arbitrary assigments to jdk_* targets) |
424 # Batches of tests (somewhat arbitrary assigments to jdk_* targets) |
421 JDK_ALL_TARGETS = |
425 JDK_ALL_TARGETS = |
422 |
426 |
423 # Stable othervm testruns (minus items from PROBLEM_LIST) |
427 # Stable othervm testruns (minus items from PROBLEM_LIST) |
424 # Using samevm has problems, and doesn't help performance as much as others. |
428 # Using agentvm has problems, and doesn't help performance as much as others. |
425 JDK_ALL_TARGETS += jdk_awt |
429 JDK_ALL_TARGETS += jdk_awt |
426 jdk_awt: $(call TestDirs, com/sun/awt java/awt sun/awt \ |
430 jdk_awt: $(call TestDirs, com/sun/awt java/awt sun/awt \ |
427 javax/imageio javax/print sun/pisces) |
431 javax/imageio javax/print sun/pisces) |
428 $(call RunOthervmBatch) |
432 $(call RunOthervmBatch) |
429 |
433 |
430 # Stable samevm testruns (minus items from PROBLEM_LIST) |
434 # Stable agentvm testruns (minus items from PROBLEM_LIST) |
431 JDK_ALL_TARGETS += jdk_beans1 |
435 JDK_ALL_TARGETS += jdk_beans1 |
432 jdk_beans1: $(call TestDirs, \ |
436 jdk_beans1: $(call TestDirs, \ |
433 java/beans/beancontext java/beans/PropertyChangeSupport \ |
437 java/beans/beancontext java/beans/PropertyChangeSupport \ |
434 java/beans/Introspector java/beans/Performance \ |
438 java/beans/Introspector java/beans/Performance \ |
435 java/beans/VetoableChangeSupport java/beans/Statement) |
439 java/beans/VetoableChangeSupport java/beans/Statement) |
436 $(call RunSamevmBatch) |
440 $(call RunAgentvmBatch) |
437 |
441 |
438 # Stable othervm testruns (minus items from PROBLEM_LIST) |
442 # Stable othervm testruns (minus items from PROBLEM_LIST) |
439 # Using samevm has serious problems with these tests |
443 # Using agentvm has serious problems with these tests |
440 JDK_ALL_TARGETS += jdk_beans2 |
444 JDK_ALL_TARGETS += jdk_beans2 |
441 jdk_beans2: $(call TestDirs, \ |
445 jdk_beans2: $(call TestDirs, \ |
442 java/beans/Beans java/beans/EventHandler java/beans/XMLDecoder \ |
446 java/beans/Beans java/beans/EventHandler java/beans/XMLDecoder \ |
443 java/beans/PropertyEditor) |
447 java/beans/PropertyEditor) |
444 $(call RunOthervmBatch) |
448 $(call RunOthervmBatch) |
445 |
449 |
446 # Stable othervm testruns (minus items from PROBLEM_LIST) |
450 # Stable othervm testruns (minus items from PROBLEM_LIST) |
447 # Using samevm has serious problems with these tests |
451 # Using agentvm has serious problems with these tests |
448 JDK_ALL_TARGETS += jdk_beans3 |
452 JDK_ALL_TARGETS += jdk_beans3 |
449 jdk_beans3: $(call TestDirs, java/beans/XMLEncoder) |
453 jdk_beans3: $(call TestDirs, java/beans/XMLEncoder) |
450 $(call RunOthervmBatch) |
454 $(call RunOthervmBatch) |
451 |
455 |
452 # All beans tests |
456 # All beans tests |
453 jdk_beans: jdk_beans1 jdk_beans2 jdk_beans3 |
457 jdk_beans: jdk_beans1 jdk_beans2 jdk_beans3 |
454 @$(SummaryInfo) |
458 @$(SummaryInfo) |
455 |
459 |
456 # Stable samevm testruns (minus items from PROBLEM_LIST) |
460 # Stable agentvm testruns (minus items from PROBLEM_LIST) |
457 JDK_ALL_TARGETS += jdk_io |
461 JDK_ALL_TARGETS += jdk_io |
458 jdk_io: $(call TestDirs, java/io) |
462 jdk_io: $(call TestDirs, java/io) |
459 $(call RunSamevmBatch) |
463 $(call RunAgentvmBatch) |
460 |
464 |
461 # Stable samevm testruns (minus items from PROBLEM_LIST) |
465 # Stable agentvm testruns (minus items from PROBLEM_LIST) |
462 JDK_ALL_TARGETS += jdk_lang |
466 JDK_ALL_TARGETS += jdk_lang |
463 jdk_lang: $(call TestDirs, java/lang) |
467 jdk_lang: $(call TestDirs, java/lang) |
464 $(call RunSamevmBatch) |
468 $(call RunAgentvmBatch) |
465 |
469 |
466 # Stable othervm testruns (minus items from PROBLEM_LIST) |
470 # Stable othervm testruns (minus items from PROBLEM_LIST) |
467 # Using samevm has serious problems with these tests |
471 # Using agentvm has serious problems with these tests |
468 JDK_ALL_TARGETS += jdk_management1 |
472 JDK_ALL_TARGETS += jdk_management1 |
469 jdk_management1: $(call TestDirs, javax/management) |
473 jdk_management1: $(call TestDirs, javax/management) |
470 $(call RunOthervmBatch) |
474 $(call RunOthervmBatch) |
471 |
475 |
472 # Stable othervm testruns (minus items from PROBLEM_LIST) |
476 # Stable othervm testruns (minus items from PROBLEM_LIST) |
473 # Using samevm has serious problems with these tests |
477 # Using agentvm has serious problems with these tests |
474 JDK_ALL_TARGETS += jdk_management2 |
478 JDK_ALL_TARGETS += jdk_management2 |
475 jdk_management2: $(call TestDirs, com/sun/jmx com/sun/management sun/management) |
479 jdk_management2: $(call TestDirs, com/sun/jmx com/sun/management sun/management) |
476 $(call RunOthervmBatch) |
480 $(call RunOthervmBatch) |
477 |
481 |
478 # All management tests |
482 # All management tests |
479 jdk_management: jdk_management1 jdk_management2 |
483 jdk_management: jdk_management1 jdk_management2 |
480 @$(SummaryInfo) |
484 @$(SummaryInfo) |
481 |
485 |
482 # Stable samevm testruns (minus items from PROBLEM_LIST) |
486 # Stable agentvm testruns (minus items from PROBLEM_LIST) |
483 JDK_ALL_TARGETS += jdk_math |
487 JDK_ALL_TARGETS += jdk_math |
484 jdk_math: $(call TestDirs, java/math) |
488 jdk_math: $(call TestDirs, java/math) |
485 $(call RunSamevmBatch) |
489 $(call RunAgentvmBatch) |
486 |
490 |
487 # Stable samevm testruns (minus items from PROBLEM_LIST) |
491 # Stable agentvm testruns (minus items from PROBLEM_LIST) |
488 JDK_ALL_TARGETS += jdk_misc |
492 JDK_ALL_TARGETS += jdk_misc |
489 jdk_misc: $(call TestDirs, \ |
493 jdk_misc: $(call TestDirs, \ |
490 demo/jvmti demo/zipfs javax/naming javax/script \ |
494 demo/jvmti demo/zipfs javax/naming javax/script \ |
491 javax/smartcardio com/sun/jndi com/sun/xml sun/misc) |
495 javax/smartcardio com/sun/jndi com/sun/xml sun/misc) |
492 $(call RunSamevmBatch) |
496 $(call RunAgentvmBatch) |
493 |
497 |
494 # Stable samevm testruns (minus items from PROBLEM_LIST) |
498 # Stable agentvm testruns (minus items from PROBLEM_LIST) |
495 JDK_ALL_TARGETS += jdk_net |
499 JDK_ALL_TARGETS += jdk_net |
496 jdk_net: $(call TestDirs, com/sun/net java/net sun/net) |
500 jdk_net: $(call TestDirs, com/sun/net java/net sun/net) |
497 $(call RunSamevmBatch) |
501 $(call RunAgentvmBatch) |
498 |
502 |
499 # Stable samevm testruns (minus items from PROBLEM_LIST) |
503 # Stable agentvm testruns (minus items from PROBLEM_LIST) |
500 JDK_ALL_TARGETS += jdk_nio1 |
504 JDK_ALL_TARGETS += jdk_nio1 |
501 jdk_nio1: $(call TestDirs, java/nio/file) |
505 jdk_nio1: $(call TestDirs, java/nio/file) |
502 $(call RunSamevmBatch) |
506 $(call RunAgentvmBatch) |
503 |
507 |
504 # Stable samevm testruns (minus items from PROBLEM_LIST) |
508 # Stable agentvm testruns (minus items from PROBLEM_LIST) |
505 JDK_ALL_TARGETS += jdk_nio2 |
509 JDK_ALL_TARGETS += jdk_nio2 |
506 jdk_nio2: $(call TestDirs, java/nio/Buffer java/nio/ByteOrder \ |
510 jdk_nio2: $(call TestDirs, java/nio/Buffer java/nio/ByteOrder \ |
507 java/nio/channels java/nio/MappedByteBuffer) |
511 java/nio/channels java/nio/MappedByteBuffer) |
508 $(call SharedLibraryPermissions,java/nio/channels) |
512 $(call SharedLibraryPermissions,java/nio/channels) |
509 $(call RunSamevmBatch) |
513 $(call RunAgentvmBatch) |
510 |
514 |
511 # Stable samevm testruns (minus items from PROBLEM_LIST) |
515 # Stable agentvm testruns (minus items from PROBLEM_LIST) |
512 JDK_ALL_TARGETS += jdk_nio3 |
516 JDK_ALL_TARGETS += jdk_nio3 |
513 jdk_nio3: $(call TestDirs, sun/nio) |
517 jdk_nio3: $(call TestDirs, sun/nio) |
514 $(call RunSamevmBatch) |
518 $(call RunAgentvmBatch) |
515 |
519 |
516 # All nio tests |
520 # All nio tests |
517 jdk_nio: jdk_nio1 jdk_nio2 jdk_nio3 |
521 jdk_nio: jdk_nio1 jdk_nio2 jdk_nio3 |
518 @$(SummaryInfo) |
522 @$(SummaryInfo) |
519 |
523 |
520 # Stable samevm testruns (minus items from PROBLEM_LIST) |
524 # Stable agentvm testruns (minus items from PROBLEM_LIST) |
521 jdk_sctp: $(call TestDirs, com/sun/nio/sctp) |
525 jdk_sctp: $(call TestDirs, com/sun/nio/sctp) |
522 $(call RunSamevmBatch) |
526 $(call RunAgentvmBatch) |
523 |
527 |
524 # Stable othervm testruns (minus items from PROBLEM_LIST) |
528 # Stable othervm testruns (minus items from PROBLEM_LIST) |
525 # Using samevm has serious problems with these tests |
529 # Using agentvm has serious problems with these tests |
526 JDK_ALL_TARGETS += jdk_rmi |
530 JDK_ALL_TARGETS += jdk_rmi |
527 jdk_rmi: $(call TestDirs, java/rmi javax/rmi sun/rmi) |
531 jdk_rmi: $(call TestDirs, java/rmi javax/rmi sun/rmi) |
528 $(call RunOthervmBatch) |
532 $(call RunOthervmBatch) |
529 |
533 |
530 # Stable samevm testruns (minus items from PROBLEM_LIST) |
534 # Stable agentvm testruns (minus items from PROBLEM_LIST) |
531 JDK_ALL_TARGETS += jdk_security1 |
535 JDK_ALL_TARGETS += jdk_security1 |
532 jdk_security1: $(call TestDirs, java/security) |
536 jdk_security1: $(call TestDirs, java/security) |
533 $(call RunSamevmBatch) |
537 $(call RunAgentvmBatch) |
534 |
538 |
535 # Stable samevm testruns (minus items from PROBLEM_LIST) |
539 # Stable agentvm testruns (minus items from PROBLEM_LIST) |
536 JDK_ALL_TARGETS += jdk_security2 |
540 JDK_ALL_TARGETS += jdk_security2 |
537 jdk_security2: $(call TestDirs, javax/crypto javax/xml/crypto com/sun/crypto) |
541 jdk_security2: $(call TestDirs, javax/crypto javax/xml/crypto com/sun/crypto) |
538 $(call RunSamevmBatch) |
542 $(call RunAgentvmBatch) |
539 |
543 |
540 # Stable samevm testruns (minus items from PROBLEM_LIST) |
544 # Stable agentvm testruns (minus items from PROBLEM_LIST) |
541 JDK_ALL_TARGETS += jdk_security3 |
545 JDK_ALL_TARGETS += jdk_security3 |
542 jdk_security3: $(call TestDirs, com/sun/security lib/security javax/security \ |
546 jdk_security3: $(call TestDirs, com/sun/security lib/security javax/security \ |
543 sun/security com/sun/org/apache/xml/internal/security) |
547 sun/security com/sun/org/apache/xml/internal/security) |
544 $(call SharedLibraryPermissions,sun/security) |
548 $(call SharedLibraryPermissions,sun/security) |
545 $(call RunSamevmBatch) |
549 $(call RunAgentvmBatch) |
546 |
550 |
547 # All security tests |
551 # All security tests |
548 jdk_security: jdk_security1 jdk_security2 jdk_security3 |
552 jdk_security: jdk_security1 jdk_security2 jdk_security3 |
549 @$(SummaryInfo) |
553 @$(SummaryInfo) |
550 |
554 |
551 # Stable samevm testruns (minus items from PROBLEM_LIST) |
555 # Stable agentvm testruns (minus items from PROBLEM_LIST) |
552 JDK_ALL_TARGETS += jdk_sound |
556 JDK_ALL_TARGETS += jdk_sound |
553 jdk_sound: $(call TestDirs, javax/sound) |
557 jdk_sound: $(call TestDirs, javax/sound) |
554 $(call RunSamevmBatch) |
558 $(call RunAgentvmBatch) |
555 |
559 |
556 # Stable othervm testruns (minus items from PROBLEM_LIST) |
560 # Stable othervm testruns (minus items from PROBLEM_LIST) |
557 # Using samevm has problems, and doesn't help performance as much as others. |
561 # Using agentvm has problems, and doesn't help performance as much as others. |
558 JDK_ALL_TARGETS += jdk_swing |
562 JDK_ALL_TARGETS += jdk_swing |
559 jdk_swing: $(call TestDirs, javax/swing sun/java2d \ |
563 jdk_swing: $(call TestDirs, javax/swing sun/java2d \ |
560 demo/jfc com/sun/java/swing) |
564 demo/jfc com/sun/java/swing) |
561 $(call RunOthervmBatch) |
565 $(call RunOthervmBatch) |
562 |
566 |
563 # Stable samevm testruns (minus items from PROBLEM_LIST) |
567 # Stable agentvm testruns (minus items from PROBLEM_LIST) |
564 JDK_ALL_TARGETS += jdk_text |
568 JDK_ALL_TARGETS += jdk_text |
565 jdk_text: $(call TestDirs, java/text sun/text) |
569 jdk_text: $(call TestDirs, java/text sun/text) |
566 $(call RunSamevmBatch) |
570 $(call RunAgentvmBatch) |
567 |
571 |
568 # Stable samevm testruns (minus items from PROBLEM_LIST) |
572 # Stable agentvm testruns (minus items from PROBLEM_LIST) |
569 JDK_ALL_TARGETS += jdk_tools1 |
573 JDK_ALL_TARGETS += jdk_tools1 |
570 jdk_tools1: $(call TestDirs, com/sun/jdi) |
574 jdk_tools1: $(call TestDirs, com/sun/jdi) |
571 $(call RunSamevmBatch) |
575 $(call RunAgentvmBatch) |
572 |
576 |
573 # Stable othervm testruns (minus items from PROBLEM_LIST) |
577 # Stable othervm testruns (minus items from PROBLEM_LIST) |
574 # Using samevm has serious problems with these tests |
578 # Using agentvm has serious problems with these tests |
575 JDK_ALL_TARGETS += jdk_tools2 |
579 JDK_ALL_TARGETS += jdk_tools2 |
576 jdk_tools2: $(call TestDirs, \ |
580 jdk_tools2: $(call TestDirs, \ |
577 com/sun/tools sun/jvmstat sun/tools tools vm \ |
581 com/sun/tools sun/jvmstat sun/tools tools vm \ |
578 com/sun/servicetag com/sun/tracing) |
582 com/sun/servicetag com/sun/tracing) |
579 $(call SharedLibraryPermissions,tools/launcher) |
583 $(call SharedLibraryPermissions,tools/launcher) |
580 $(call RunSamevmBatch) |
584 $(call RunAgentvmBatch) |
581 |
585 |
582 # All tools tests |
586 # All tools tests |
583 jdk_tools: jdk_tools1 jdk_tools2 |
587 jdk_tools: jdk_tools1 jdk_tools2 |
584 @$(SummaryInfo) |
588 @$(SummaryInfo) |
585 |
589 |
586 # Stable samevm testruns (minus items from PROBLEM_LIST) |
590 # Stable agentvm testruns (minus items from PROBLEM_LIST) |
587 JDK_ALL_TARGETS += jdk_util |
591 JDK_ALL_TARGETS += jdk_util |
588 jdk_util: $(call TestDirs, java/util sun/util) |
592 jdk_util: $(call TestDirs, java/util sun/util) |
589 $(call RunSamevmBatch) |
593 $(call RunAgentvmBatch) |
590 |
594 |
591 # ------------------------------------------------------------------ |
595 # ------------------------------------------------------------------ |
592 |
596 |
593 # Run all tests |
597 # Run all tests |
594 FILTER_OUT_LIST=jdk_awt jdk_rmi jdk_swing |
598 FILTER_OUT_LIST=jdk_awt jdk_rmi jdk_swing |