Closed jiro4989 closed 4 years ago
wait, I will write description of this PR.
I wrote description of PR.
fmm, 'gh-pages' test failed.
It is good to keep those compiler messages in test/ref (or test/out) for when I change something or Nim changes something to produce new warnings/errors. I'm not sure why the debian thing is spitting out "....." lines, but we could probably filter those out, too, like the grep -v '^CC'
.
I'm not sure why I cannot silence that observable stores the ways I was trying. Silencing breaks for me locally, too, but works fine if I do an @if nimHasWarningObservable..
in my $HOME/.config/nim.cfg
(that @if
is actually used by compiler nim.cfg
's, too).
fmm... I understood.
I merged this but then still had to fix some stuff to get it working. Basically, I had some things in my nim.cfg
altering my output slightly. Now they are on the cmd line in test.sh
. (I never really tried to match other-environment-build with my-environment-build before your CI stuff.)
TBH, I spent most of the time on this trying to get code-local warning deactivation of [ObservableStores]
working. It still does not and I still don't know why. :(
Overview
Change test script
The current test script writes '--help' message and compiler message to 'test/out'. It is difficult to ignore with 'grep'. So I split 'compile' phase and 'run' command phase.