diff --git a/test/long_stochastic.sh b/test/long_stochastic.sh index 21e371e2..29e70949 100755 --- a/test/long_stochastic.sh +++ b/test/long_stochastic.sh @@ -1,8 +1,4 @@ #!/usr/bin/env bash -if ! which make cc c++ tee >/dev/null; then - echo "Please install the following prerequisites: make cc c++ tee banner" >&2 - exit 1 -fi LIST=basic FROM=1 @@ -111,7 +107,7 @@ do --no-geometry-jitter) GEOMETRY_JITTER=no ;; - --pagesize) + --pagesize|--page-size) case "$2" in min|max|256|512|1024|2048|4096|8192|16386|32768|65536) PAGESIZE=$2 @@ -163,6 +159,11 @@ if [ -z "$MONITOR" ]; then export MALLOC_CHECK_=7 MALLOC_PERTURB_=42 fi +if ! which $([ "$SKIP_MAKE" == "no" ] && echo make cc c++) tee >/dev/null; then + echo "Please install the following prerequisites: make cc c++ tee banner" >&2 + exit 1 +fi + ############################################################################### # 1. clean data from prev runs and examine available RAM @@ -220,6 +221,11 @@ case ${UNAME} in echo "pagesize ${pagesize}K, freepages ${freepages}, ram_avail_mb ${ram_avail_mb}" ;; + MSYS*|MINGW*) + echo "FIXME: Fake support for ${UNAME}" + ram_avail_mb=32768 + ;; + *) echo "FIXME: ${UNAME} not supported by this script" exit 2 @@ -288,6 +294,10 @@ case ${UNAME} in fi ;; + MSYS*|MINGW*) + echo "FIXME: Fake support for ${UNAME}" + ;; + *) echo "FIXME: ${UNAME} not supported by this script" exit 2