test-packages.scm 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. ; Part of Scheme 48 1.9. See file COPYING for notices and license.
  2. ; Authors: Mike Sperber, Marcus Crestani, Robert Ransom, Michael Zabka
  3. ; Package definitions for various test suites.
  4. (define-structure base-test (export base-tests)
  5. (open scheme test-suites
  6. fluids)
  7. (files (debug base-check)))
  8. ; Random tests, mostly for stuff in scheme/big
  9. (define-structure misc-big-test (export misc-big-tests)
  10. (open scheme test-suites matchers
  11. ;assembler
  12. byte-vectors
  13. ports
  14. queues
  15. random
  16. sort
  17. big-scheme
  18. arrays
  19. dump/restore
  20. search-trees
  21. threads
  22. placeholders
  23. locks
  24. interrupts
  25. mask-types
  26. masks
  27. finite-types
  28. (subset i/o (read-byte))
  29. (subset i/o-internal (open-input-port? eof-object)))
  30. (files (big check)))
  31. (define-structure inversion-lists-test (export inversion-lists-tests)
  32. (open scheme test-suites matchers
  33. inversion-lists)
  34. (files (big inversion-list-check)))
  35. (define-structure constant-tables-test (export constant-tables-tests)
  36. (open scheme test-suites matchers
  37. constant-tables
  38. (subset tables (symbol-hash)))
  39. (files (big constant-table-check)))
  40. (define-structure matchers-test (export matchers-tests)
  41. (open scheme test-suites matchers)
  42. (files (big matcher-check)))
  43. (define-structure queues-test (export queues-tests)
  44. (open scheme
  45. test-suites
  46. util
  47. (subset big-util (delq))
  48. cells
  49. proposals
  50. queues
  51. queues-internal
  52. (with-prefix srfi-1 srfi-1:))
  53. (files (big queue-check)))
  54. (define-structure os-time-test (export os-time-tests)
  55. (open scheme
  56. test-suites
  57. os-time)
  58. (files (big os-time-check)))
  59. (define-structure big-test (export big-tests)
  60. (open scheme test-suites
  61. misc-big-test
  62. inversion-lists-test
  63. constant-tables-test
  64. matchers-test
  65. queues-test)
  66. (begin
  67. (define-test-suite big-tests
  68. (misc-big-tests
  69. inversion-lists-tests
  70. constant-tables-tests
  71. matchers-tests
  72. queues-tests))))
  73. (define-structure sockets-test (export tcp-sockets-tests
  74. udp-sockets-tests)
  75. (open scheme test-suites matchers
  76. byte-vectors threads
  77. sockets udp-sockets)
  78. (files (net socket-check)))
  79. (define-structure tconc-queue-test
  80. (export tconc-queue-tests)
  81. (open scheme test-suites matchers tconc-queues
  82. srfi-34 srfi-42 conditions)
  83. (files (big tconc-queue-check)))
  84. (define-structure transport-link-cell-test
  85. (export transport-link-cell-tests)
  86. (open scheme test-suites matchers primitives
  87. tconc-queues srfi-42)
  88. (files (big transport-link-cell-check)))
  89. (define-structure tlc-table-test
  90. (export tlc-table-tests tlc-table-weak-tests tlc-table-string-tests)
  91. (open scheme test-suites matchers tlc-tables
  92. weak
  93. define-record-types
  94. (subset srfi-1 (find))
  95. (subset srfi-13 (string=))
  96. srfi-27 ; sources of random bits
  97. srfi-28 ; basic format strings
  98. srfi-34 ; exception handling for programs
  99. srfi-42 ; eager comprehensions
  100. conditions
  101. (subset primitives (collect string-hash)))
  102. (files (big tlc-table-check)))
  103. (define-structure package-mutation-test (export package-mutation-tests)
  104. (open scheme test-suites
  105. packages compiler built-in-structures handle conditions
  106. interfaces defpackage package-mutation)
  107. (files (env package-mutation-check)))
  108. (define-structure profiler-test (export profiler-tests)
  109. (open scheme test-suites
  110. profile-commands
  111. profiler
  112. extended-ports
  113. )
  114. (files (env profile-check))
  115. (optimize profiler-instrumentation))
  116. (define-structure env-test (export env-tests)
  117. (open scheme test-suites
  118. package-mutation-test
  119. profiler-test)
  120. (begin
  121. (define-test-suite env-tests
  122. (package-mutation-tests
  123. profiler-tests))))