Basically, it's clear what the problem is. Cabal test is rebuilding the libraries even though it shouldn't:
+ cabal-1.20 test --show-details=streaming '--test-options=-j1 --jxml=test-results.xml --jxml-nested'
Package has never been configured. Configuring with default flags. If this
fails, please run configure manually.
Resolving dependencies...
Configuring lvish-2.0...
Building lvish-2.0...
Preprocessing library lvish-2.0...
And therefore it just drops the flags. WHY is cabal test rebuilding when we just build everything? I have no idea. But it's clear that cabal test is not satisfactory.
In logs like this one, we see the following:
In spite of the fact that getonce should be turned OFF on that run, and we clearly see that in the options passed to
cabal install
:Basically, it's clear what the problem is. Cabal test is rebuilding the libraries even though it shouldn't:
And therefore it just drops the flags. WHY is cabal test rebuilding when we just build everything? I have no idea. But it's clear that
cabal test
is not satisfactory.