From 8508c4e1c262567ecc093de8b645cec677ce5afd Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Wed, 30 Dec 2020 05:58:41 -0800 Subject: fix `hintProcessing` dots interference with `static:echo` and `hintCC`; add tests for `nim secret`, add tests for hintProcessing, misc other bug fixes (#16495) * fix dots interfering with static:echo * add tests * fix hintProcessing dots for hintCC * improve trunner tests * fix bug: readLineFromStdin now writes prompt to stdout, consistent with linenoise and rdstdin * disable a failing test for windows --- compiler/extccomp.nim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'compiler/extccomp.nim') diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim index e37e867da..14b961ee1 100644 --- a/compiler/extccomp.nim +++ b/compiler/extccomp.nim @@ -848,7 +848,10 @@ proc callCCompiler*(conf: ConfigRef) = var cmds: TStringSeq var prettyCmds: TStringSeq let prettyCb = proc (idx: int) = - if prettyCmds[idx].len > 0: echo prettyCmds[idx] + if prettyCmds[idx].len > 0: + flushDot(conf) + # xxx should probably use stderr like other compiler messages, not stdout + echo prettyCmds[idx] for idx, it in conf.toCompile: # call the C compiler for the .c file: -- cgit 1.4.1-2-gfad0 hoang/Nim/refs/?h=devel&id=1660ddf98a6b6fbd8f05b58bbc540bc57523b31c'>refs log blame commit diff stats
path: root/tests/modules/mincludetemplate.nim
blob: febe9bfcfbaa6e5807218af77d7b36725f81fc94 (plain) (tree)
1