rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Everything has joined #ocaml
hackinghorn has joined #ocaml
hackinghorn has quit [Client Quit]
szkl has quit [Quit: Connection closed for inactivity]
rgrinberg has joined #ocaml
<d_bot_>
<darrenldl> how does dune determine what `runtest` should do in absence of (rule (alias runtest) ...)?
<d_bot_>
<darrenldl> (trying to get it to either not add runtest to the opam file, or make runtest do nothing)
<sim642>
All the "test" stanzas are also part of runtest
<sim642>
Why wouldn't you want the tests to run?
<d_bot_>
<darrenldl> cause they are (very) expensive, and dune tries to pick the wrong tests to run
<sim642>
opam runs tests only with --with-test, assuming you use the dune-generated opam file
<sim642>
Also, "wrong tests"? It just does all the tests
<d_bot_>
<darrenldl> opam ci fails me atm (and i dont want to run 217 tests every time i make a commit)
<sim642>
I suppose you could put some more expensive tests under a different alias that you'd only run manually
<d_bot_>
<darrenldl> it tries to run the "global" test suite when installing a sub package, and as a result the sibling packages would be missing etc
<d_bot_>
<darrenldl> i removed runtest alias i believe, maybe im being silly...let me double check...
<d_bot_>
<gantsev.denis> Alcorest explicitelt allows marking tests to be Quick ans Slow, and then you can run whatever (or even those matching a regex)
<d_bot_>
<gantsev.denis>
<d_bot_>
<gantsev.denis> Not sure if that fits your case
<d_bot_>
<gantsev.denis> Alcotest*
<d_bot_>
<darrenldl> i dont know if it passes that to qcheck in some way
<d_bot_>
<darrenldl> (a lot of the tests are qcheck
<sim642>
qcheck has some long flag I think
<sim642>
But you'd probably want to turn down the default iteration count and have the long match the current, for example
<d_bot_>
<darrenldl> i think ill just patch the opam files generated in some way at this rate
<d_bot_>
<darrenldl> thanks for the inputs!
misterfish has quit [Ping timeout: 246 seconds]
waleee has quit [Ping timeout: 268 seconds]
gereedy has joined #ocaml
gereedy has quit [Client Quit]
bartholin has joined #ocaml
perdent has quit [Quit: Client closed]
adanwan has quit [Ping timeout: 268 seconds]
adanwan has joined #ocaml
motherfsck has quit [Ping timeout: 240 seconds]
motherfsck has joined #ocaml
raskol has joined #ocaml
hackinghorn has joined #ocaml
Haudegen has quit [Quit: No Ping reply in 180 seconds.]
Haudegen has joined #ocaml
Everything has quit [Quit: leaving]
azimut has quit [Ping timeout: 268 seconds]
omegatron has quit [Quit: Power is a curious thing. It can be contained, hidden, locked away,and yet it always breaks free.]
raskol has quit [Ping timeout: 256 seconds]
misterfish has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bartholin has quit [Quit: Leaving]
rgrinberg has joined #ocaml
waleee has joined #ocaml
misterfish has quit [Ping timeout: 268 seconds]
Haudegen has quit [Quit: No Ping reply in 180 seconds.]
Haudegen has joined #ocaml
xgqt has quit [Ping timeout: 246 seconds]
xgqt has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]