Disable color on windows tests until we can detect the tty.
This commit is contained in:
@ -95,11 +95,14 @@ DEFINED? posix [IF]
|
|||||||
: normal old-normal ;
|
: normal old-normal ;
|
||||||
[THEN]
|
[THEN]
|
||||||
[THEN]
|
[THEN]
|
||||||
|
( TODO: Figure out how to detect console in windows. )
|
||||||
|
(
|
||||||
DEFINED? windows [IF]
|
DEFINED? windows [IF]
|
||||||
: red 1 fg ; : green 2 fg ;
|
: red 1 fg ; : green 2 fg ;
|
||||||
: replace-line 13 emit clear-to-eol ;
|
: replace-line 13 emit clear-to-eol ;
|
||||||
: normal old-normal ;
|
: normal old-normal ;
|
||||||
[THEN]
|
[THEN]
|
||||||
|
)
|
||||||
: hr 40 for [char] - emit next cr ;
|
: hr 40 for [char] - emit next cr ;
|
||||||
: label-test ( xt -- ) replace-line >name type ;
|
: label-test ( xt -- ) replace-line >name type ;
|
||||||
: run-test ( xt -- ) dup label-test only forth confirm{ ['] wrap-test catch }confirm
|
: run-test ( xt -- ) dup label-test only forth confirm{ ['] wrap-test catch }confirm
|
||||||
|
|||||||
Reference in New Issue
Block a user