diff options
author | David Allsopp <david.allsopp@metastack.com> | 2022-07-02 21:20:27 +0100 |
---|---|---|
committer | David Allsopp <david.allsopp@metastack.com> | 2022-09-27 21:02:37 +0100 |
commit | cdc1cb238cb8e0431acf3987f0f853fdf63f0120 (patch) | |
tree | 4403107391b50b187758616f00d9280081d54d9b /tools | |
parent | d439de0b24ceffb2de03304f4f15171cd3cfcf99 (diff) | |
download | ocaml-cdc1cb238cb8e0431acf3987f0f853fdf63f0120.tar.gz |
Limit the testing in AppVeyor
Test lib-dynlink with the native code compiler, then run the full
testsuite in bytecode-mode only, to keep within the time limits.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/ci/appveyor/appveyor_build.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/ci/appveyor/appveyor_build.sh b/tools/ci/appveyor/appveyor_build.sh index 277ce33776..b488846426 100644 --- a/tools/ci/appveyor/appveyor_build.sh +++ b/tools/ci/appveyor/appveyor_build.sh @@ -149,6 +149,15 @@ case "$1" in $FULL_BUILD_PREFIX-$PORT/runtime/*.a \ $FULL_BUILD_PREFIX-$PORT/otherlibs/*/lib*.a fi + # The testsuite is too slow to run on AppVeyor in full. Run the dynlink + # tests now (to include natdynlink) + run "test dynlink $PORT" \ + $MAKE -C "$FULL_BUILD_PREFIX-$PORT/testsuite" parallel-lib-dynlink + # Now reconfigure ocamltest to run in bytecode-only mode + sed -i '/native_/s/true/false/' \ + "$FULL_BUILD_PREFIX-$PORT/ocamltest/ocamltest_config.ml" + $MAKE -C "$FULL_BUILD_PREFIX-$PORT/ocamltest" -j all allopt + # And run the entire testsuite, skipping all the native-code tests run "test $PORT" \ $MAKE -C "$FULL_BUILD_PREFIX-$PORT/testsuite" SHOW_TIMINGS=1 parallel run "install $PORT" $MAKE -C "$FULL_BUILD_PREFIX-$PORT" install |