fix raco ctool --c-mods' for
racket'
Merge to 5.2.1
original commit: 6c4cd0e9c2
This commit is contained in:
parent
f751553b48
commit
aae4950f02
19
collects/tests/racket/ctool.rkt
Normal file
19
collects/tests/racket/ctool.rkt
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
#lang racket
|
||||||
|
(require setup/dirs)
|
||||||
|
|
||||||
|
(define raco (build-path (find-console-bin-dir)
|
||||||
|
(if (eq? (system-type) 'windows)
|
||||||
|
"raco.exe"
|
||||||
|
"raco")))
|
||||||
|
|
||||||
|
(define tmp (make-temporary-file))
|
||||||
|
|
||||||
|
(system* raco
|
||||||
|
"ctool"
|
||||||
|
"--3m"
|
||||||
|
"--c-mods"
|
||||||
|
tmp
|
||||||
|
"++lib"
|
||||||
|
"racket")
|
||||||
|
|
||||||
|
(delete-file tmp)
|
Loading…
Reference in New Issue
Block a user