use .rktl suffix for files meant to be 'load'ed
original commit: e504acb72622f4668a50770476fc7545ef9450b0
This commit is contained in:
parent
b40470205b
commit
212171f54f
|
@ -1,5 +1,5 @@
|
|||
|
||||
(load-relative "loadtest.rkt")
|
||||
(load-relative "loadtest.rktl")
|
||||
|
||||
(Section 'awk)
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
|
||||
(load-relative "loadtest.rkt")
|
||||
(load-relative "loadtest.rktl")
|
||||
|
||||
(Section 'compat)
|
||||
|
|
@ -1,12 +1,12 @@
|
|||
#|
|
||||
|
||||
This file started out as a copy of contract-test.rkt.
|
||||
This file started out as a copy of contract-test.rktl.
|
||||
Its purpose is to try to ensure that the mzlib version
|
||||
of the contract library does not change over time.
|
||||
|
||||
|#
|
||||
|
||||
(load-relative "loadtest.rkt")
|
||||
(load-relative "loadtest.rktl")
|
||||
(Section 'mzlib/contract)
|
||||
|
||||
(parameterize ([error-print-width 200])
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
(load-relative "loadtest.rkt")
|
||||
(load-relative "loadtest.rktl")
|
||||
|
||||
(Section 'etc)
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
(load-relative "loadtest.rkt")
|
||||
(load-relative "loadtest.rktl")
|
||||
|
||||
(Section 'kw)
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
(load-relative "loadtest.rkt")
|
||||
(load-relative "loadtest.rktl")
|
||||
|
||||
(Section 'macrolib)
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
(load-relative "loadtest.rkt")
|
||||
(load-relative "loadtest.rktl")
|
||||
|
||||
(Section 'pconvert)
|
||||
|
||||
|
@ -367,7 +367,7 @@
|
|||
|
||||
(test 'empty print-convert '())
|
||||
|
||||
(let ([fn (make-temporary-file "pconvert.rkt-test~a")])
|
||||
(let ([fn (make-temporary-file "pconvert.rktl-test~a")])
|
||||
(let ([in (open-input-file fn)])
|
||||
(test `(open-input-file ,fn) print-convert in)
|
||||
(close-input-port in))
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
(load-relative "loadtest.rkt")
|
||||
(load-relative "loadtest.rktl")
|
||||
|
||||
(require mzlib/restart)
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
(load-relative "loadtest.rkt")
|
||||
(load-relative "loadtest.rktl")
|
||||
|
||||
(Section 'mzlib-string)
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
(load-relative "loadtest.rkt")
|
||||
(load-relative "loadtest.rktl")
|
||||
|
||||
(Section 'structlib)
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
(load-relative "loadtest.rkt")
|
||||
(load-relative "loadtest.rktl")
|
||||
|
||||
(Section 'threadlib)
|
||||
|
5
collects/tests/racket/ttt/uinc4.rktl
Normal file
5
collects/tests/racket/ttt/uinc4.rktl
Normal file
|
@ -0,0 +1,5 @@
|
|||
|
||||
(define also-unused 'ok)
|
||||
|
||||
(include (build-path up "uinc.rktl"))
|
||||
|
7
collects/tests/racket/uinc3.rktl
Normal file
7
collects/tests/racket/uinc3.rktl
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
(define unused 'hello)
|
||||
|
||||
(include (build-path "ttt" "uinc4.rktl"))
|
||||
|
||||
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
(load-relative "loadtest.rkt")
|
||||
(load-relative "loadtest.rktl")
|
||||
|
||||
(Section 'unit)
|
||||
(require mzlib/unit200)
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
(load-relative "loadtest.rkt")
|
||||
(load-relative "loadtest.rktl")
|
||||
|
||||
;; Hide keywords from scheme/unit.rkt:
|
||||
(define import #f)
|
||||
|
@ -178,7 +178,7 @@
|
|||
()
|
||||
(import)
|
||||
|
||||
(include "uinc.rkt")))
|
||||
(include "uinc.rktl")))
|
||||
|
||||
(test 9 'include (invoke-unit/sig i1@))
|
||||
|
||||
|
@ -189,7 +189,7 @@
|
|||
(import)
|
||||
|
||||
(+ 3 4)
|
||||
(include "uinc3.rkt")))
|
||||
(include "uinc3.rktl")))
|
||||
|
||||
(test 9 'include (invoke-unit/sig i1.5@))
|
||||
|
||||
|
@ -198,9 +198,9 @@
|
|||
()
|
||||
(import)
|
||||
|
||||
(include "uinc.rkt")
|
||||
(include "uinc2.rkt")
|
||||
(include "uinc.rkt")
|
||||
(include "uinc.rktl")
|
||||
(include "uinc2.rktl")
|
||||
(include "uinc.rktl")
|
||||
(+ x 2)))
|
||||
|
||||
(test 10 'include (invoke-unit/sig i2@))
|
||||
|
@ -212,7 +212,7 @@
|
|||
(unit/sig ()
|
||||
(import)
|
||||
(define x 5)
|
||||
(include "binc.rkt")
|
||||
(include "binc.rktl")
|
||||
y)))
|
||||
|
||||
; Simple:
|
Loading…
Reference in New Issue
Block a user