Skip to content

Commit a6ed387

Browse files
authored
Add test configs for mimalloc (#26508)
Adds two test configs that run the test suite with mimalloc To be merged after #26246 [Reviewed by @jhh67]
2 parents 3ca8512 + 2f02cee commit a6ed387

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

util/cron/test-mimalloc.bash

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Test with mimalloc allocator
4+
5+
UTIL_CRON_DIR=$(cd $(dirname ${BASH_SOURCE[0]}) ; pwd)
6+
source $UTIL_CRON_DIR/common.bash
7+
source $UTIL_CRON_DIR/common-localnode-paratest.bash
8+
9+
export CHPL_HOST_MEM=mimalloc
10+
export CHPL_TARGET_MEM=mimalloc
11+
12+
export CHPL_NIGHTLY_TEST_CONFIG_NAME="mimalloc"
13+
14+
$UTIL_CRON_DIR/nightly -cron ${nightly_args} $(get_nightly_paratest_args 2)

util/cron/test-ml-mimalloc.bash

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Test with mimalloc allocator, multilocale tests only
4+
5+
UTIL_CRON_DIR=$(cd $(dirname ${BASH_SOURCE[0]}) ; pwd)
6+
source $UTIL_CRON_DIR/common-gasnet.bash
7+
source $UTIL_CRON_DIR/common-localnode-paratest.bash
8+
unset CHPL_LAUNCHER
9+
10+
export GASNET_QUIET=Y
11+
12+
export CHPL_HOST_MEM=mimalloc
13+
export CHPL_TARGET_MEM=mimalloc
14+
15+
export CHPL_NIGHTLY_TEST_CONFIG_NAME="ml-mimalloc"
16+
17+
$UTIL_CRON_DIR/nightly -cron -multilocale ${nightly_args} $(get_nightly_paratest_args 2)

0 commit comments

Comments
 (0)