[test] Fix playTests.sh with space in binary path
playTests.sh didn't work when `ZSTD_BIN` or `DATAGEN_BIN` had a space in the path name. This happens for me because I split the cmake build directory by compiler name, like "Clang 9.0.0". The fix is to replace all instances of `$ZSTD` with the `zstd()` function, and the replace `$DATAGEN` with `datagen()`. This will allow us to change how we call zstd/datagen in the future without having to change every callsite.
This commit is contained in:
parent
f5029e285f
commit
ef9e6fe227