File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 2020 dune clean
2121
2222test :
23- dune runtest --profile=release
23+ dune runtest --profile=release --no-buffer
2424
2525# requires odoc
2626doc :
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ type config = {
1717}
1818
1919let min_fds = 7
20- let max_fds = 1024 - 8 (* fe daemon has a bunch for its own use *)
20+ let max_fds = 1024 - 11 (* fe daemon has a bunch for its own use *)
2121
2222let all_combinations fds =
2323 let y = {
@@ -114,12 +114,13 @@ let test_exitcode () =
114114 Printf. printf " \n Completed exitcode tests\n "
115115
116116let master fds =
117+ Printf. printf " \n Performing timeout tests\n %!" ;
117118 test_delay () ;
118119 test_notimeout () ;
119- Printf. printf " \n Completed timeout test\n " ;
120+ Printf. printf " \n Completed timeout test\n %! " ;
120121 test_exitcode () ;
121122 let combinations = shuffle (all_combinations fds) in
122- Printf. printf " Starting %d tests\n " (List. length combinations);
123+ Printf. printf " Starting %d tests\n %! " (List. length combinations);
123124 let i = ref 0 in
124125 let update_progress f x =
125126 incr i;
Original file line number Diff line number Diff line change 11#! /bin/sh
22
33../src/fe_main.exe &
4- for x in ` seq 1 10` ; do
4+ MAIN=$!
5+ cleanup () {
6+ kill $MAIN
7+ }
8+ trap cleanup EXIT
9+ for _ in $( seq 1 10) ; do
510 test -S /var/xapi/forker/main || sleep 1
611done
712./fe_test.exe 16
You can’t perform that action at this time.
0 commit comments