Download include/eigen/ci/scripts/test.windows.script.ps1 from adfa5456/FastRobustICP: direct link, hf CLI and curl.
- Browser
- Download file 1.13 kB
-
https://huggingface.co/datasets/adfa5456/FastRobustICP/resolve/main/include/eigen/ci/scripts/test.windows.script.ps1
- Command line
-
hf download hf://datasets/adfa5456/FastRobustICP/include/eigen/ci/scripts/test.windows.script.ps1
-
curl -L -o test.windows.script.ps1 https://huggingface.co/datasets/adfa5456/FastRobustICP/resolve/main/include/eigen/ci/scripts/test.windows.script.ps1
1.13 kB
| # Change to build directory. | |
| $rootdir = Get-Location | |
| cd $EIGEN_CI_BUILDDIR | |
| # Determine number of processors for parallel tests. | |
| $NPROC=${Env:NUMBER_OF_PROCESSORS} | |
| # Set target based on regex or label. | |
| $target = "" | |
| if (${EIGEN_CI_CTEST_REGEX}) { | |
| $target = "-R","${EIGEN_CI_CTEST_REGEX}" | |
| } elseif (${EIGEN_CI_CTEST_LABEL}) { | |
| $target = "-L","${EIGEN_CI_CTEST_LABEL}" | |
| } | |
| # Repeat tests up to three times to ignore flakes. Do not re-run with -T test, | |
| # otherwise we lose test results for those that passed. | |
| # Note: starting with CMake 3.17, we can use --repeat until-pass:3, but we have | |
| # no way of easily installing this on ppc64le. | |
| ctest $EIGEN_CI_CTEST_ARGS -j$NPROC --output-on-failure --no-compress-output --build-no-clean -T test $target || ` | |
| ctest $EIGEN_CI_CTEST_ARGS -j$NPROC --output-on-failure --no-compress-output --rerun-failed || ` | |
| ctest $EIGEN_CI_CTEST_ARGS -j$NPROC --output-on-failure --no-compress-output --rerun-failed | |
| $success = $LASTEXITCODE | |
| # Return to root directory. | |
| cd ${rootdir} | |
| # Explicitly propagate exit code to indicate pass/failure of test command. | |
| if($success -ne 0) { Exit $success } | |