00:01
<
d_bot >
<NULL> They are describing all forms of function definitions
00:26
rgrinberg has joined #ocaml
00:35
quartz has quit [Ping timeout: 246 seconds]
00:39
Haudegen has quit [Ping timeout: 256 seconds]
00:48
gerard` has joined #ocaml
00:52
quartz has joined #ocaml
00:53
gerard` has quit [Remote host closed the connection]
01:05
vicfred has quit [Quit: Leaving]
01:19
spip has quit [Ping timeout: 246 seconds]
01:19
bobo has joined #ocaml
01:31
<
d_bot >
<atlx> why when I run `dune exec test` nothing happens
01:31
<
d_bot >
<atlx> I'm using OUnit2
01:31
<
d_bot >
<atlx> everything builds fine, but when I do `dune exec test` nothing is printed
01:33
<
d_bot >
<atlx> nothing is printed
01:37
quartz has quit [Quit: WeeChat 3.5]
01:42
quartz has joined #ocaml
02:01
spip has joined #ocaml
02:01
bobo has quit [Ping timeout: 240 seconds]
02:06
quartz has quit [Quit: WeeChat 3.5]
02:15
chrisz has quit [Ping timeout: 240 seconds]
02:17
chrisz has joined #ocaml
02:35
gerard` has joined #ocaml
02:36
gerard` has quit [Remote host closed the connection]
02:45
terrorjack has joined #ocaml
02:50
<
d_bot >
<darrenldl> you need to fill in a `runtest` stanza i believe
03:02
vicfred has joined #ocaml
03:04
waleee has quit [Ping timeout: 240 seconds]
03:28
<
d_bot >
<atlx> this is what I have
03:28
<
d_bot >
<atlx> ```lisp
03:28
<
d_bot >
<atlx> (executable
03:28
<
d_bot >
<atlx> (name test)
03:28
<
d_bot >
<atlx> (libraries ounit2))
03:28
<
d_bot >
<atlx> How can I do the runtest thing? (I'm new to ocaml)
03:28
<
d_bot >
<atlx> I literally copied that from the ounit2 doc
03:41
<
d_bot >
<atlx> Also, I'm curious. Should I be using OUnit2 or built-in testing framework?
04:22
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:39
shawnw has joined #ocaml
04:51
zebrag has quit [Quit: Konversation terminated!]
05:02
mbuf has joined #ocaml
05:35
<
remexre >
am I missing how to mutate existing contents of Buffer.t, or does it not provide that?
05:52
<
d_bot >
<sim642> `dune exec test.exe` should work I think
05:54
<
d_bot >
<sim642> Or if you change the dune `executable` stanza to `test`, then just `dune runtest`
05:55
<
d_bot >
<sim642> What do you mean by built in testing framework?
05:56
<
d_bot >
<atlx> Like ppx
05:56
<
d_bot >
<atlx> Thingy
05:56
<
d_bot >
<atlx> Inline tests
06:01
<
d_bot >
<sim642> I guess it's mostly personal preference. I've stayed with ounit to keep all the testing out of the actual implementation. Especially if some of the tests are longer than one liners and involve bigger inputs
06:25
<
d_bot >
<atlx> true
07:17
bartholin has joined #ocaml
07:49
ralu1 has joined #ocaml
07:55
dextaa has joined #ocaml
08:16
ralu1 has quit [Read error: Connection reset by peer]
08:17
ralu1 has joined #ocaml
08:30
<
d_bot >
<AdonisOrRafik Hammoutène> hello everyone , is anyone by any chance good with java networking please?
08:35
bartholin has quit [Ping timeout: 256 seconds]
08:48
bartholin has joined #ocaml
08:56
<
d_bot >
<orbitz> Do you have a specific question?
09:16
Anarchos has joined #ocaml
09:31
olle has joined #ocaml
09:36
wyrd has quit [Remote host closed the connection]
09:41
wyrd has joined #ocaml
09:47
jpds has joined #ocaml
10:32
Anarchos has quit [Quit: Vision[]: i've been blurred!]
10:35
bartholin has quit [Ping timeout: 256 seconds]
10:38
jpds has quit [Ping timeout: 240 seconds]
10:43
jpds has joined #ocaml
10:47
bartholin has joined #ocaml
11:06
Haudegen has joined #ocaml
12:00
adanwan has quit [Remote host closed the connection]
12:01
adanwan has joined #ocaml
12:35
bartholin has quit [Ping timeout: 248 seconds]
12:48
bartholin has joined #ocaml
13:11
wyrd has quit [Remote host closed the connection]
13:12
wyrd has joined #ocaml
13:21
spip has quit [Quit: Konversation terminated!]
13:23
zebrag has joined #ocaml
13:58
bartholin has quit [Ping timeout: 256 seconds]
14:08
shawnw has quit [Ping timeout: 256 seconds]
14:49
rgrinberg has joined #ocaml
14:53
quartz has joined #ocaml
15:15
Anarchos has joined #ocaml
15:22
bartholin has joined #ocaml
15:32
waleee has joined #ocaml
16:11
olle has quit [Ping timeout: 250 seconds]
16:23
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:24
rgrinberg has joined #ocaml
16:30
jpds has quit [Remote host closed the connection]
16:30
jpds has joined #ocaml
16:34
bartholin has quit [Ping timeout: 246 seconds]
16:41
kakadu has quit [Remote host closed the connection]
16:43
wingsorc has quit [Quit: Leaving]
16:48
mbuf has quit [Quit: Leaving]
16:48
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:51
Anarchos has quit [Quit: Vision[]: i've been blurred!]
16:56
vicfred has quit [Quit: Leaving]
17:00
berberman has quit [Remote host closed the connection]
17:00
vicfred has joined #ocaml
17:01
berberman has joined #ocaml
17:02
bartholin has joined #ocaml
17:06
azimut has quit [Remote host closed the connection]
17:06
azimut has joined #ocaml
17:24
kaph has joined #ocaml
17:35
bartholin has quit [Ping timeout: 250 seconds]
17:45
kaph has quit [Ping timeout: 240 seconds]
17:49
bartholin has joined #ocaml
17:49
quartz has quit [Quit: WeeChat 3.5]
18:15
olle has joined #ocaml
18:17
bartholin has quit [Ping timeout: 246 seconds]
18:32
bartholin has joined #ocaml
18:35
brettgilio has joined #ocaml
19:23
quartz has joined #ocaml
19:23
vicfred has quit [Quit: Leaving]
19:35
xgqt has quit [Ping timeout: 256 seconds]
19:35
xgqt has joined #ocaml
19:45
<
d_bot >
<atlx> nope, I'm getting this error:
19:46
<
d_bot >
<atlx> also tried changing executable to test, no avail
19:46
<
d_bot >
<atlx> this is my folder structure
19:48
<
d_bot >
<KW78> test is linked to alias runtest (as per dune file) so `dune runtest` should do
19:48
kaph has joined #ocaml
19:49
<
d_bot >
<atlx> nothing
19:49
<
d_bot >
<atlx> this is what should be coming out :
19:51
<
d_bot >
<KW78> try to remove the rule stanza the run command (not visible) may be wrong
19:51
<
d_bot >
<KW78> or `dune runtest --verbose`
19:51
rgrinberg has joined #ocaml
19:52
<
d_bot >
<KW78> ok sorry it is already commented
19:52
<
d_bot >
<atlx> dune runtest --verbose prints out a bunch of config then final line is
19:52
<
d_bot >
<atlx> Promoting "_build/default/ocaml_lang.opam" to "ocaml_lang.opam"
19:53
<
d_bot >
<atlx> it also says `Running[0]: /home/atlx/.opam/4.13.1/bin/ocamlc.opt -config > /tmp/dune_65c1e1_output`
19:54
<
d_bot >
<atlx> i think it has to do with the folder structure
19:54
<
d_bot >
<atlx> it's as if the tests aren't detected
19:54
<
d_bot >
<atlx> they are built, and the test.exe is present on the _build folder, but it's not executing it for some reason
19:54
<
d_bot >
<atlx> here's what I mean
19:57
<
d_bot >
<sim642> Then `dune exec test/test.exe` should run that directly
19:57
<
d_bot >
<atlx> that works
19:57
<
d_bot >
<atlx> any method to get it to work like `dune exec test`
19:57
<
d_bot >
<sim642> I think runtest only reruns changed stuff
19:57
<
d_bot >
<atlx> placing it under the bin folder ?
19:58
<
d_bot >
<KW78> you structure looks fine, my test dune file is simply `(test
19:58
<
d_bot >
<KW78> (name main.ml))`
20:04
kaph has quit [Remote host closed the connection]
20:04
kaph has joined #ocaml
20:09
kaph has quit [Read error: Connection reset by peer]
20:09
kaph_ has joined #ocaml
20:15
kaph_ has quit [Ping timeout: 246 seconds]
20:23
wyrd has quit [Remote host closed the connection]
20:29
dextaa has quit [Ping timeout: 256 seconds]
20:33
wyrd has joined #ocaml
20:35
bartholin has quit [Ping timeout: 248 seconds]
20:42
kaph has joined #ocaml
20:48
bartholin has joined #ocaml
21:18
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:22
quartz has quit [Quit: WeeChat 3.5]
21:38
bartholin has quit [Quit: Leaving]
22:08
wyrd has quit [Ping timeout: 240 seconds]
22:09
wyrd has joined #ocaml
22:15
rgrinberg has joined #ocaml
22:33
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:59
olle has quit [Ping timeout: 246 seconds]
23:35
vicfred has joined #ocaml
23:46
vicfred has quit [Ping timeout: 246 seconds]
23:49
vicfred has joined #ocaml