refactoring : remove global variable g_displayOut

displaying into stderr or stdout is now an explicit operation,
no longer depending on some global state set elsewhere in the code.
This commit is contained in:
Yann Collet
2019-12-02 16:19:03 -08:00
parent a49417b5af
commit 4b4de7493f
2 changed files with 155 additions and 145 deletions
+11 -8
View File
@@ -1173,6 +1173,17 @@ roundTripTest -g1M -P50 "1 --single-thread --long=29" " --long=28 --memory=512MB
roundTripTest -g1M -P50 "1 --single-thread --long=29" " --zstd=wlog=28 --memory=512MB"
if [ "$1" != "--test-large-data" ]; then
println "Skipping large data tests"
exit 0
fi
#############################################################################
if [ -n "$hasMT" ]
then
println "\n===> adaptive mode "
@@ -1190,14 +1201,6 @@ then
fi
if [ "$1" != "--test-large-data" ]; then
println "Skipping large data tests"
exit 0
fi
#############################################################################
println "\n===> large files tests "
roundTripTest -g270000000 1