From 43ef402274559ed52d8f224557359783c13ebd56 Mon Sep 17 00:00:00 2001 From: Eli Barzilay Date: Sun, 11 Mar 2012 16:34:12 -0400 Subject: [PATCH] Don't compile test files. (Didn't touch the tiny "test-docs-complete" tests.) --- collects/htdp/info.rkt | 3 --- collects/images/info.rkt | 1 - collects/plot/info.rkt | 1 - collects/redex/info.rkt | 2 ++ collects/tests/drracket/info.rkt | 3 --- collects/tests/drracket/snip/info.rkt | 5 ----- collects/tests/errortrace/info.rkt | 4 ---- collects/tests/framework/info.rkt | 3 --- collects/tests/gracket/info.rkt | 3 --- collects/tests/info.rkt | 3 +++ collects/tests/plai/info.rkt | 4 ---- collects/tests/planet/info.rkt | 4 ---- collects/tests/racket/info.rkt | 3 --- collects/tests/run-automated-tests.rkt | 3 --- collects/tests/typed-racket/info.rkt | 4 ---- collects/tests/web-server/info.rkt | 3 --- collects/tests/xml/info.rkt | 3 --- 17 files changed, 5 insertions(+), 47 deletions(-) delete mode 100644 collects/tests/drracket/snip/info.rkt delete mode 100644 collects/tests/errortrace/info.rkt delete mode 100644 collects/tests/framework/info.rkt delete mode 100644 collects/tests/gracket/info.rkt delete mode 100644 collects/tests/plai/info.rkt delete mode 100644 collects/tests/planet/info.rkt delete mode 100644 collects/tests/racket/info.rkt delete mode 100644 collects/tests/typed-racket/info.rkt delete mode 100644 collects/tests/web-server/info.rkt delete mode 100644 collects/tests/xml/info.rkt diff --git a/collects/htdp/info.rkt b/collects/htdp/info.rkt index c46ed5519e..26c6ce4a3d 100644 --- a/collects/htdp/info.rkt +++ b/collects/htdp/info.rkt @@ -3,9 +3,6 @@ (define name "HtDP Teachpacks") (define compile-omit-paths '("hangman-world.rkt" "hangman-world-play.rkt" - ;; TEMPORARY DISABLE THESE FILES UNTIL FIXED - ;; "matrix.rkt" "matrix-client.rkt" "matrix-invisible.rkt" - ;; "matrix-render-sig.rkt" "matrix-sig.rkt" "matrix-unit.rkt" "tests")) (define scribblings '(("htdp.scrbl"))) diff --git a/collects/images/info.rkt b/collects/images/info.rkt index c5d1c4cbdb..6791fd3772 100644 --- a/collects/images/info.rkt +++ b/collects/images/info.rkt @@ -3,4 +3,3 @@ (define scribblings '(["scribblings/images.scrbl" (multi-page) (gui-library)])) (define compile-omit-paths '("tests")) - diff --git a/collects/plot/info.rkt b/collects/plot/info.rkt index fe8653f489..36a35f96ce 100644 --- a/collects/plot/info.rkt +++ b/collects/plot/info.rkt @@ -3,4 +3,3 @@ (define scribblings '(["scribblings/plot.scrbl" (multi-page) (gui-library)])) (define compile-omit-paths '("tests")) - diff --git a/collects/redex/info.rkt b/collects/redex/info.rkt index 99a8abe713..1e3d4559cf 100644 --- a/collects/redex/info.rkt +++ b/collects/redex/info.rkt @@ -2,3 +2,5 @@ (define name "PLT Redex") (define scribblings (list (list "redex.scrbl" (list 'multi-page) (list 'tool)))) + +(define compile-omit-paths '("tests")) diff --git a/collects/tests/drracket/info.rkt b/collects/tests/drracket/info.rkt index 9d38f3a2ed..b4373649db 100644 --- a/collects/tests/drracket/info.rkt +++ b/collects/tests/drracket/info.rkt @@ -2,6 +2,3 @@ (define tools '(("time-keystrokes.rkt"))) (define tool-names '("Time Keystrokes")) - -(define compile-omit-paths - '("image-and-comment-box.rkt")) diff --git a/collects/tests/drracket/snip/info.rkt b/collects/tests/drracket/snip/info.rkt deleted file mode 100644 index 65f59c5415..0000000000 --- a/collects/tests/drracket/snip/info.rkt +++ /dev/null @@ -1,5 +0,0 @@ -#lang setup/infotab - -;; compiling the wxme files requires `racket/draw' which fails on build -;; machines without libcairo. So avoid compiling them. -(define compile-omit-paths 'all) diff --git a/collects/tests/errortrace/info.rkt b/collects/tests/errortrace/info.rkt deleted file mode 100644 index c3cc4ef0aa..0000000000 --- a/collects/tests/errortrace/info.rkt +++ /dev/null @@ -1,4 +0,0 @@ -#lang setup/infotab - -;; "alert.rkt" cannot be compiled -(define compile-omit-paths 'all) diff --git a/collects/tests/framework/info.rkt b/collects/tests/framework/info.rkt deleted file mode 100644 index 8de8160107..0000000000 --- a/collects/tests/framework/info.rkt +++ /dev/null @@ -1,3 +0,0 @@ -#lang setup/infotab - -(define compile-omit-paths '("key-specs.rkt" "utils.rkt" "receive-sexps-port.rkt")) diff --git a/collects/tests/gracket/info.rkt b/collects/tests/gracket/info.rkt deleted file mode 100644 index a073420a94..0000000000 --- a/collects/tests/gracket/info.rkt +++ /dev/null @@ -1,3 +0,0 @@ -#lang setup/infotab - -(define compile-omit-paths 'all) diff --git a/collects/tests/info.rkt b/collects/tests/info.rkt index 08de693069..cf764acbae 100644 --- a/collects/tests/info.rkt +++ b/collects/tests/info.rkt @@ -1,3 +1,6 @@ #lang setup/infotab (define name "Test Suites") + +;; No need to compile tests -- drdr is checking these files anyway. +(define compile-omit-paths 'all) diff --git a/collects/tests/plai/info.rkt b/collects/tests/plai/info.rkt deleted file mode 100644 index b1d4073410..0000000000 --- a/collects/tests/plai/info.rkt +++ /dev/null @@ -1,4 +0,0 @@ -#lang setup/infotab - -;; contains some uncompilable files -(define compile-omit-paths 'all) diff --git a/collects/tests/planet/info.rkt b/collects/tests/planet/info.rkt deleted file mode 100644 index da44885435..0000000000 --- a/collects/tests/planet/info.rkt +++ /dev/null @@ -1,4 +0,0 @@ -#lang setup/infotab - -;; refers to a nonexistent planet package -(define compile-omit-paths 'all) diff --git a/collects/tests/racket/info.rkt b/collects/tests/racket/info.rkt deleted file mode 100644 index a073420a94..0000000000 --- a/collects/tests/racket/info.rkt +++ /dev/null @@ -1,3 +0,0 @@ -#lang setup/infotab - -(define compile-omit-paths 'all) diff --git a/collects/tests/run-automated-tests.rkt b/collects/tests/run-automated-tests.rkt index 0c72799486..eb3449ce4f 100755 --- a/collects/tests/run-automated-tests.rkt +++ b/collects/tests/run-automated-tests.rkt @@ -19,9 +19,6 @@ ;; - To signal failures, either raise an error, or `exit' with a ;; positive code. Obviously, make sure that failures print some ;; indicative text for you. -;; - A semi-related note: the PLT tree compilation should not rely on -;; planet packages, so if you use them, make sure you add a -;; `compile-omit-paths' in your test's info file. ;; Tests to run: ;; - Each should be a `test' call, with the path to the test file to diff --git a/collects/tests/typed-racket/info.rkt b/collects/tests/typed-racket/info.rkt deleted file mode 100644 index 8fdb1f905c..0000000000 --- a/collects/tests/typed-racket/info.rkt +++ /dev/null @@ -1,4 +0,0 @@ -#lang setup/infotab - -;; very slow, and some uncompilable files -(define compile-omit-paths 'all) diff --git a/collects/tests/web-server/info.rkt b/collects/tests/web-server/info.rkt deleted file mode 100644 index a073420a94..0000000000 --- a/collects/tests/web-server/info.rkt +++ /dev/null @@ -1,3 +0,0 @@ -#lang setup/infotab - -(define compile-omit-paths 'all) diff --git a/collects/tests/xml/info.rkt b/collects/tests/xml/info.rkt deleted file mode 100644 index a073420a94..0000000000 --- a/collects/tests/xml/info.rkt +++ /dev/null @@ -1,3 +0,0 @@ -#lang setup/infotab - -(define compile-omit-paths 'all)