improved scripts compatibility
This commit is contained in:
parent
957d678031
commit
1dcb2ff23f
@ -80,7 +80,7 @@ build_script:
|
||||
ECHO *** &&
|
||||
msbuild "projects\VS2010\zstd.sln" /m /verbosity:minimal /property:PlatformToolset=v140 /t:Clean,Build /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" &&
|
||||
COPY projects\VS2010\bin\%PLATFORM%\%CONFIGURATION%\fuzzer.exe projects\fuzzer_VS2015_%PLATFORM%_%CONFIGURATION%.exe &&
|
||||
COPY projects\VS2010\bin\%PLATFORM%\%CONFIGURATION%\*.exe projects\
|
||||
COPY projects\VS2010\bin\%PLATFORM%\%CONFIGURATION%\*.exe programs\
|
||||
)
|
||||
|
||||
test_script:
|
||||
@ -91,9 +91,9 @@ test_script:
|
||||
)
|
||||
- if [%COMPILER%]==[visual] if [%CONFIGURATION%]==[Release] (
|
||||
CD programs &&
|
||||
SET ZSTD=..\projects\zstd.exe &&
|
||||
SET DATAGEN=..\projects\datagen.exe &&
|
||||
sh playTests.sh --test-large-data &&
|
||||
SET ZSTD=./zstd.exe &&
|
||||
SET DATAGEN=./datagen.exe &&
|
||||
sh -e playTests.sh --test-large-data &&
|
||||
CD .. &&
|
||||
projects\fullbench.exe -i1 &&
|
||||
projects\fullbench.exe -i1 -P0 &&
|
||||
|
@ -30,15 +30,15 @@ case "$OS" in
|
||||
esac
|
||||
|
||||
MD5SUM="md5sum"
|
||||
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
|
||||
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
||||
MD5SUM="md5 -r"
|
||||
fi
|
||||
|
||||
$ECHO "\nStarting playTests.sh isWindows=$isWindows"
|
||||
file $ZSTD
|
||||
$ECHO "\nStarting playTests.sh isWindows=$isWindows TRAVIS_OS_NAME=$TRAVIS_OS_NAME"
|
||||
|
||||
[ -n "$ZSTD" ] || die "ZSTD variable must be defined!"
|
||||
|
||||
file $ZSTD
|
||||
$ECHO "\n**** simple tests **** "
|
||||
|
||||
./datagen > tmp
|
||||
|
Loading…
Reference in New Issue
Block a user