Skip to content

Commit

Permalink
add --noColor option to testSmalltalkCIProject.stone for use in scrip…
Browse files Browse the repository at this point in the history
…ted runs
  • Loading branch information
dalehenrich committed May 19, 2023
1 parent 6ade36a commit aa3e38a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/testSmalltalkCIProject.stone
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ options
SuperDoitRequiredOptionWithRequiredArg long: 'named'.
SuperDoitOptionalOptionWithNoArg long: 'checkStatusFile'.
SuperDoitOptionalOptionWithRequiredArg long: 'reportFile'.
SuperDoitOptionalOptionWithNoArg long: 'noColor'.
}
%
#
Expand All @@ -32,7 +33,7 @@ EXAMPLES
$basename <script-arguments> -- -l -I ./.topazini

$basename --named=daleh --config_ston=/home/dhenrich/work/kermit.50402/smalltalkCI/.smalltalk.ston \
--buildDirectory=`pwd` --reportFile=report -D
--buildDirectory=`pwd` --reportFile=report --noColor -D
-----
%
method
Expand Down Expand Up @@ -64,7 +65,7 @@ lauchSmalltalkCITest
%
doit
| superDoitTransientDictName |
(Smalltalk at: 'System') gemEnvironmentVariable: 'SCIII_COLORFUL' put: 'true'.
(Smalltalk at: 'System') gemEnvironmentVariable: 'SCIII_COLORFUL' put: self noColor not asString. "default is to use color"
self stdout nextPutAll: '----- Running ', self scriptPath; lf.
self stdout nextPutAll: '----- Run unit tests for ', self named; lf.
self stdout nextPutAll: '----- SCIII_COLORFUL ', ((Smalltalk at: #'System') gemEnvironmentVariable: 'SCIII_COLORFUL') asString; lf.
Expand Down

0 comments on commit aa3e38a

Please sign in to comment.