Test factor.sh output on unix platforms
parent
daf63d11b6
commit
13baf777c9
|
@ -0,0 +1 @@
|
|||
Doug Coleman
|
|
@ -0,0 +1,6 @@
|
|||
! Copyright (C) 2010 Doug Coleman.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: build-support sequences tools.test ;
|
||||
IN: build-support.tests
|
||||
|
||||
[ f ] [ factor.sh-make-target empty? ] unit-test
|
|
@ -0,0 +1,10 @@
|
|||
! Copyright (C) 2010 Doug Coleman.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: arrays io io.backend io.encodings.utf8 io.launcher ;
|
||||
IN: build-support
|
||||
|
||||
CONSTANT: factor.sh-path "resource:build-support/factor.sh"
|
||||
|
||||
: factor.sh-make-target ( -- string )
|
||||
factor.sh-path normalize-path "make-target" 2array
|
||||
utf8 [ readln ] with-process-reader ;
|
|
@ -0,0 +1 @@
|
|||
unix
|
Loading…
Reference in New Issue