]> git.ipfire.org Git - thirdparty/zstd.git/commit
meson: Enable testing in CI (#1609)
authorlzutao <taolzu@gmail.com>
Thu, 2 May 2019 19:35:37 +0000 (02:35 +0700)
committerNick Terrell <terrelln@fb.com>
Thu, 2 May 2019 19:35:37 +0000 (12:35 -0700)
commit1d70bc3ba92df00336b9977aba167250082880e2
tree2cdfc66ad576025e7c4a1cc60f393526fd20cd55
parentf8178ec74e9a1a56a7e7a9c68fee50478494b308
meson: Enable testing in CI (#1609)

* tests: Fix shellcheck warnings in playTests.sh

* tests: Do not use ../programs which is relative to tests dirs

This commit fixes error when running playTests.sh in Meson.
Mesonbuild runs out of tree, so ./datagen not in `zstd/tests` dir,
it lies in <mesonbuilddir>/tests. This leads to ../programs invalid.

* tests: Replace relative paths for zstd/tests dir

* playTests: Set shell options explicitly, not in shebang

* playTests: Replace echo -e with printf

* meson: Fix test-zstd

Use std=gnu99 to build and test just like `make test`.

* meson: Fix legacy test

* meson: Enable testing in CI

Run build under release mode for faster test time.

* meson: Increase timeout time for test-zstream
.travis.yml
build/meson/meson.build
build/meson/tests/meson.build
tests/playTests.sh