Skip to content

Commit e6396b8

Browse files
committed
Set $MCTUTILS_TRUNCATE to 50 by default
1 parent 64c1902 commit e6396b8

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

dune

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
(env
2-
(debug-runtime (link_flags :standard -runtime-variant=d))
2+
(debug-runtime
3+
(link_flags :standard -runtime-variant=d)
4+
(env-vars
5+
(MCTUTILS_TRUNCATE 50)))
6+
(_
7+
(env-vars
8+
(MCTUTILS_TRUNCATE 50)))
39
)
410

511
;; make `dune build` target a recursive default target

test/dune

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
(name util_pp)
1111
(modules util_pp)
1212
(package qcheck-multicoretests-util)
13-
(libraries qcheck-multicoretests-util))
13+
(libraries qcheck-multicoretests-util)
14+
(action
15+
(setenv MCTUTILS_TRUNCATE ""
16+
(run %{dep:util_pp.exe}))))
1417

1518
(rule
1619
(alias runtest)

0 commit comments

Comments
 (0)