File tree Expand file tree Collapse file tree 1 file changed +31
-14
lines changed Expand file tree Collapse file tree 1 file changed +31
-14
lines changed Original file line number Diff line number Diff line change 262262 (run-unit-test-suite (or (places) 1 ))
263263 0 ))
264264
265- (if (and (nightly?) (eq? 'cgc (system-type 'gc )))
266- (printf "Skipping Typed Racket tests.\n " )
267- (let ([to-run (cond [(single) (list (single))]
268- [else
269- (append (if (int?) (list (int-tests (excl))) '() )
270- (if (gui?) (list (gui-tests)) '() )
271- (if (external?) (list (external-tests)) '() )
272- (if (opt?) (list (optimization-tests)) '() )
273- (if (missed-opt?) (list (missed-optimization-tests)) '() )
274- (if (bench?) (list (compile-benchmarks)) '() )
275- (if (math?) (list (compile-math)) '() ))])])
276- (unless (and (= unit-test-retcode 0 ) (= 0 ((exec) to-run)))
277- (eprintf "Typed Racket Tests did not pass.\n " )
278- (exit 1 )))))
265+ (cond
266+ [(and (nightly?) (eq? 'cgc (system-type 'gc ))) (printf "Skipping Typed Racket tests.\n " )]
267+ [else
268+ (define to-run
269+ (cond
270+ [(single) (list (single))]
271+ [else
272+ (append (if (int?)
273+ (list (int-tests (excl)))
274+ '() )
275+ (if (gui?)
276+ (list (gui-tests))
277+ '() )
278+ (if (external?)
279+ (list (external-tests))
280+ '() )
281+ (if (opt?)
282+ (list (optimization-tests))
283+ '() )
284+ (if (missed-opt?)
285+ (list (missed-optimization-tests))
286+ '() )
287+ (if (bench?)
288+ (list (compile-benchmarks))
289+ '() )
290+ (if (math?)
291+ (list (compile-math))
292+ '() ))]))
293+ (unless (and (= unit-test-retcode 0 ) (= 0 ((exec) to-run)))
294+ (eprintf "Typed Racket Tests did not pass.\n " )
295+ (exit 1 ))]))
279296
280297;; nightly tests in `run.rkt` for drdr chart continuity
281298(module test racket/base)
You can’t perform that action at this time.
0 commit comments