move "props" test configs to test
submodules or "info.rkt" files
The "props" file still has * ".rkt" `drdr:timeout` entries, needed until DrDr uses submodules and "info.rkt" files; although timeout information has been put in submodules for `raco test`, DrDr uses `raco test` in a way that does not enable timeouts, so that DrDr can implement timeouts itself (and record when a test times out) * ".rkt" `drdr:random #t` entries; not sure what to do with these, yet * ".rkt" `responsible` entries; not sure what to do with these, yet * ".rktl" `drdr:command-line #f` entries, needed until all ".rktl" files are disabled in DrDr The following files were previously disabled for DrDr testing, but were intentionally left as enabled with these changes: pkgs/racket-pkgs/racket-test/tests/pkg/shelly.rkt pkgs/racket-pkgs/racket-test/tests/pkg/util.rkt pkgs/racket-pkgs/racket-test/tests/pkg/info.rkt pkgs/racket-pkgs/racket-test/tests/pkg/basic-index.rkt pkgs/racket-pkgs/racket-test/tests/racket/link.rkt pkgs/racket-pkgs/racket-test/tests/racket/embed-in-c.rkt pkgs/racket-pkgs/racket-doc/ffi/examples/use-c-printf.rkt pkgs/racket-pkgs/racket-doc/ffi/examples/c-printf.rkt pkgs/parser-tools-pkgs/parser-tools-lib/parser-tools/private-lex/error-tests.rkt pkgs/mysterx/mysterx.rkt pkgs/mysterx/main.rkt pkgs/games/gobblet/test-model.rkt pkgs/games/gobblet/test-explore.rkt pkgs/games/gobblet/robot.rkt pkgs/games/gobblet/check.rkt pkgs/db-pkgs/db-lib/db/private/odbc/main.rkt pkgs/db-pkgs/db-lib/db/private/odbc/ffi.rkt pkgs/db-pkgs/db-lib/db/private/odbc/dbsystem.rkt pkgs/db-pkgs/db-lib/db/private/odbc/connection.rkt pkgs/distributed-places-pkgs/distributed-places-lib/racket/place/distributed/examples/hello-world.rkt pkgs/redex-pkgs/redex-lib/redex/private/compiler/match.rkt pkgs/redex-pkgs/redex-lib/redex/private/compiler/match.rkt pkgs/htdp-pkgs/htdp-test/2htdp/utest/balls.rkt pkgs/gui-pkgs/gui-test/framework/tests/test-suite-utils.rkt pkgs/games/paint-by-numbers/raw-problems/size-calculation.rkt pkgs/db-pkgs/db-lib/db/odbc.rkt pkgs/compatibility-pkgs/compatibility-lib/mzlib/traceld.rkt pkgs/cext-lib/dynext/private/stdio.rkt pkgs/db-pkgs/db-lib/db/odbc.rkt racket/collects/ffi/unsafe/objc.rkt racket/collects/ffi/objc.rkt pkgs/racket-pkgs/racket-test/tests/pkg/tests-db.rkt pkgs/racket-pkgs/racket-test/tests/pkg/test-docs.rkt pkgs/racket-pkgs/racket-test/tests/pkg/test-catalogs-api.rkt pkgs/gui-pkg-manager-pkgs/gui-pkg-manager-lib/pkg/gui/main.rkt pkgs/redex-pkgs/redex-lib/redex/private/compiler/redextomatrix.rkt pkgs/typed-racket-pkgs/typed-racket-lib/typed-racket/base-env/base-special-env.rkt pkgs/planet-pkgs/planet-test/tests/planet/version.rkt pkgs/planet-pkgs/planet-test/tests/planet/test-docs-complete.rkt pkgs/planet-pkgs/planet-test/tests/planet/lang.rkt pkgs/planet-pkgs/planet-test/tests/planet/docs-build.rkt pkgs/drracket-pkgs/drracket-test/tests/drracket/follow-log.rkt pkgs/drracket-pkgs/drracket/drracket/private/dock-icon.rkt pkgs/drracket-pkgs/drracket-test/tests/drracket/tool-lib-and-sig.rkt original commit: e226ad66c5fb6095d5702e5c47f5c7cf73e914f5
This commit is contained in:
parent
80d4bc4833
commit
40b69a9a80
|
@ -0,0 +1,4 @@
|
|||
#lang info
|
||||
|
||||
(define test-omit-paths '("fail"
|
||||
"xfail"))
|
|
@ -1,5 +1,8 @@
|
|||
#lang racket/base
|
||||
|
||||
(module test racket/base
|
||||
(displayln "run as program for tests"))
|
||||
|
||||
(require racket/runtime-path)
|
||||
(define-runtime-path run "run.rkt")
|
||||
(parameterize ([current-command-line-arguments '#("--nightly")])
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
|
||||
(require "run.rkt" "../send-places.rkt")
|
||||
|
||||
(module test racket/base
|
||||
(displayln "run as program for tests"))
|
||||
|
||||
;; Assuming that only the log format changed, update test files to the
|
||||
;; new format.
|
||||
;; Running this after changes to the behavior of the optimizer is a
|
||||
|
|
|
@ -47,3 +47,11 @@
|
|||
(unless (= 0 ((exec) to-run))
|
||||
(eprintf "Typed Racket Tests did not pass.\n")
|
||||
(exit 1))))
|
||||
|
||||
;; Test mode:
|
||||
(module test racket/base
|
||||
(require syntax/location)
|
||||
(parameterize ([current-command-line-arguments (vector "--nightly")])
|
||||
(dynamic-require (quote-module-path "..") 0))
|
||||
(module config info
|
||||
(define timeout 1800)))
|
||||
|
|
|
@ -9,3 +9,8 @@
|
|||
(g (assert (string->number
|
||||
(vector-ref (current-command-line-arguments) 0)))))
|
||||
|
||||
;; Test mode:
|
||||
(module test racket/base
|
||||
(require syntax/location)
|
||||
(parameterize ([current-command-line-arguments (vector "1")])
|
||||
(dynamic-require (quote-module-path "..") #f)))
|
||||
|
|
Loading…
Reference in New Issue
Block a user