Commit 08a7e8d 1 parent 7f5944f commit 08a7e8d Copy full SHA for 08a7e8d
File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -10,5 +10,13 @@ echo "============ Bootstrape tests (btest) ($DEBUG_LEVEL) ============="
10
10
if test " $DEBUG_LEVEL " == " vanilla" ; then
11
11
make btest TESTOPTS=" -v -j${CI_JOBS} "
12
12
else
13
+ if test " $DEBUG_LEVEL " == " debug" ; then
14
+ # One test case in this file is taking too much time to run in debug mode, resulting in timeout.
15
+ # It is because the default dynamic heap size does not work well with that pathological use case.
16
+ # We simply run it with a fixed heap size and exclude it from the rest of the btests.
17
+ TIMEOUT_TEST=../bootstraptest/test_eval.rb
18
+ MMTK_GC_TRIGGER=FixedHeapSize:100m make btest RUN_OPTS=" --mmtk-plan=$CHOSEN_PLAN " TESTOPTS=" -v $TIMEOUT_TEST "
19
+ rm $TIMEOUT_TEST
20
+ fi
13
21
make btest RUN_OPTS=" --mmtk-plan=$CHOSEN_PLAN " TESTOPTS=" -v -j${CI_JOBS} "
14
22
fi
You can’t perform that action at this time.
0 commit comments