Commit Graph

206 Commits

Author SHA1 Message Date
Lzu Tao
ff1bca3fbd ci: Use new meson auto_features option
* Install lz4 dep from Ubuntu repo
* Use curl instead of wget
* Use xenial for meson and make meson build first
* Unset Travis preset CC and CXX value for meson to use ccache
* Be more verbose with "set -x"
2018-12-01 23:18:59 +07:00
Lzu Tao
8c59d94d7a Build both shared and static lib on CI
Rename INSTALL_SYSTEM to BUILD_SYSTEM
2018-12-01 23:18:59 +07:00
Lzu Tao
918e0d5c36 Rename some meson build options to match autoconf convention 2018-12-01 23:18:59 +07:00
Lzu Tao
0669392937 Update relevant files after moving meson to build/
Update meson build instructions
2018-12-01 23:18:59 +07:00
Lzu Tao
0a25b13aae Init CI test for meson build
Do not use ccache: Build error in gcc-8
2018-12-01 23:18:59 +07:00
Nick Terrell
a40b6958c9 Run TSAN fuzztest 2018-11-08 10:59:01 -08:00
Yann Collet
1ae38772df restored cmake build tests in Travis
for some reason, these tests were no longer played on Travis.

As a consequence, I discovered some left-over from the util.c change while testing.
2018-10-23 17:40:15 -07:00
Yann Collet
31224cc126 added static analyzer tests to travis CI 2018-08-15 17:44:27 -07:00
Yann Collet
d1afd48e44 some errors may only happen when optimizations are enabled 2018-08-08 12:37:08 -07:00
Yann Collet
23ab7875e1 try adding gcc-8 compilation tests 2018-08-08 10:26:54 -07:00
Yann Collet
93750a54a9 try to improve some travis test speed 2018-08-08 10:22:19 -07:00
Yann Collet
ca785c4b20 fix .travis.yml 2018-08-03 07:59:33 -07:00
Yann Collet
b002eac69a Merge branch 'dev' into travisTest 2018-08-02 11:53:46 -07:00
Yann Collet
064b8e6785 Merge branch 'travisTest' of github.com:facebook/zstd into travisTest 2018-08-02 11:52:12 -07:00
Nick Terrell
5624f3f1ea Revert "attempt to re-enable arm64 tests"
This reverts commit 9c277f137c.
2018-07-19 14:35:27 -07:00
cyan4973
b8a81a988c added a test to be played on travis
to check a make variable construction
2018-07-17 19:02:17 +02:00
W. Felix Handte
e22d024e89 Make One Travis CI Run Run Tests With Non-TTY stdin 2018-06-29 16:31:59 -04:00
Yann Collet
ab1ebd6578 removed \ at end of line 2018-06-27 19:29:18 -07:00
Yann Collet
ed1a429873 test multi-lines travis yaml file 2018-06-27 16:57:28 -07:00
W. Felix Handte
71d27aaafb Consolidate Fast-Running Travis Jobs 2018-06-27 19:25:39 -04:00
W. Felix Handte
a02ecffb7a Also Run test-pool Target in Travis 2018-06-27 19:24:11 -04:00
Yann Collet
9c277f137c attempt to re-enable arm64 tests 2018-06-27 13:19:14 -07:00
Yann Collet
7fee966f02 fix dctx initialization within ZSTD_decompress in stack mode
when ZSTD_HEAPMODE=0 (which is not default).

Also : added an associated test (test-fuzzer-stackmode)
run on travis CI

fix #1186
2018-06-14 10:22:24 -04:00
Yann Collet
8ef75547ef
Merge pull request #1165 from facebook/ctxSizeDown
Dynamic context downsize
2018-06-07 14:44:32 -07:00
Yann Collet
3cdb342bd5 disable aarch64 test on travis CI
there's a bug on travis' ld
> collect2: error: ld terminated with signal 11 [Segmentation fault], core dumped

I cannot reproduce it.
Note that travis' ld version is 2.24
while the one in my Linux VM is 2.26.1.
ld is part of binutils, so it's pretty hard to change.

I would expect the bug to no longer be triggered after some random code change.
To be re-enabled later.
2018-06-07 12:18:47 -07:00
Yann Collet
b27c7389e3
Merge pull request #1164 from GeorgeLu97/CustomMacros
Partial Compilation Macros
2018-06-06 16:47:42 -07:00
George Lu
21ec9e9c30 Rename tests 2018-06-06 15:16:37 -07:00
Yann Collet
79e83d1c16 refactor travis CI test
to add a `make all` target with gcc-6.
Note : should fail at this stage, due to contrib/seekable_format
2018-06-06 12:20:19 -07:00
George Lu
8e6267503b Move stuff around
test execution -> travis
logic -> partialTests.sh
2018-06-05 15:20:34 -07:00
W. Felix Handte
e26be5a7b3 Travis CI Runs apt-get Update 2018-05-14 11:55:21 -04:00
Yann Collet
0bc7a75468
Merge pull request #987 from facebook/checkTag
Check tag
2018-01-16 11:52:32 -08:00
Yann Collet
19cb37f837 travis ci : added gcc-7 test
also added `-Werror` to sanitizer tests
2018-01-16 11:40:42 -08:00
Yann Collet
815eddeda4 added tag-triggered test
ensure tag and libzstd version are compatible
2018-01-14 17:06:21 -08:00
Yann Collet
e580dc6a4a Merge pull request #860 from felixhandte/zstd-lz4-support-tests
Add Default LZ4 Support When Available
2017-09-29 22:32:54 -07:00
W. Felix Handte
5705d9f25a Add basic tests for the lz4 integration 2017-09-28 19:16:43 -04:00
Nick Terrell
77d5bc2d62 [fuzz][CI] Add regression tests to the CI 2017-09-25 15:32:31 -07:00
Sean Purcell
daec40db24 Update .travis.yml and Makefile for medium tests 2017-03-09 16:05:22 -08:00
Sean Purcell
d66450fd7d Fix travis test broken by Makefile change 2017-03-07 11:36:19 -08:00
Przemyslaw Skibinski
5c1c80cbb6 travis.yml: fixed pull_request 2017-02-28 18:34:39 +01:00
Przemyslaw Skibinski
a3352d06bc updated .travis.yml (2) 2017-02-28 08:20:53 +01:00
Przemyslaw Skibinski
ca1d3d4232 updated .travis.yml 2017-02-28 08:16:49 +01:00
Przemyslaw Skibinski
b68ea5d87b rearrange Travis tests 2017-02-24 08:18:44 +01:00
Przemyslaw Skibinski
bbbd435099 travis.yml: test arm-ppc-compilation target 2017-02-22 11:21:34 +01:00
Przemyslaw Skibinski
d41c048394 added arm-ppc-compilation Makefile target 2017-02-22 11:07:28 +01:00
Przemyslaw Skibinski
337ec875b6 minor tweaks 2017-02-22 10:31:30 +01:00
Przemyslaw Skibinski
3d836bfd18 travis.yml: fix versionsTest target 2017-02-22 09:36:42 +01:00
Przemyslaw Skibinski
2e8ae51f8c travis.yml: set "dist: trusty" as default 2017-02-22 09:21:04 +01:00
Przemyslaw Skibinski
21911ad6cb move Ubuntu packages install to Makefile 2017-02-22 08:54:56 +01:00
Przemyslaw Skibinski
5dd18b314b travis.yml: reduce number of jobs to 7 2017-02-22 08:15:17 +01:00
Przemyslaw Skibinski
f58ac79f51 fix uasan-test32 2017-02-21 23:40:21 +01:00
Przemyslaw Skibinski
8a51c69218 travis.yml: added uasan-test and uasan-test32 2017-02-21 22:48:04 +01:00
Przemyslaw Skibinski
7704c3ca1a travis.yml: use CFLAGS=-Og with -fsanitize 2017-02-21 21:48:14 +01:00
Przemyslaw Skibinski
4d7a24328b travis.yml: added LDFLAGS=-fuse-ld=gold 2017-02-21 21:12:09 +01:00
Przemyslaw Skibinski
97cfec5e12 travis.yml: reduce number of jobs 2017-02-21 20:44:35 +01:00
Przemyslaw Skibinski
684858e7b7 fix memory leaks 2017-02-21 18:17:24 +01:00
Przemyslaw Skibinski
3a751edeae uasan 2017-02-21 15:57:03 +01:00
Przemyslaw Skibinski
4ec26e53b7 travis.yml: use clang-4.0 for asan32 test 2017-02-21 13:40:28 +01:00
Przemyslaw Skibinski
74dcd8d15f bench.c: use a single ticksPerSecond 2017-02-21 12:22:05 +01:00
Przemyslaw Skibinski
d2e5a56a23 travis.yml: switch asan32 to Ubuntu 14.04 2017-02-21 09:59:19 +01:00
Przemyslaw Skibinski
3a4da1fd86 travis.yml: join pzstd tests 2017-02-21 08:39:02 +01:00
Przemyslaw Skibinski
54a7f8591f travis.yml: remove tests that overlap with Circle CI 2017-02-21 08:01:55 +01:00
Przemyslaw Skibinski
b0511aeca5 fix travis.yml 2017-02-16 12:33:25 +01:00
Przemyslaw Skibinski
e0d2a146d1 .travis.yml: detect "$TRAVIS_EVENT_TYPE" = "cron" 2017-02-16 12:29:08 +01:00
Nick Terrell
b5e46b1255 Remove test-longmatch from test target and only run it once 2017-02-08 12:00:21 -08:00
cyan4973
6f31b76d1d removed gzstd test from travis
this target does no longer exist
2017-02-04 21:39:41 -08:00
Yann Collet
717c65d690 Merge pull request #519 from inikep/dev11
Dev11
2017-01-26 14:23:44 -08:00
Przemyslaw Skibinski
64fa2dbc5e Fixed https://github.com/facebook/zstd/issues/232 2017-01-25 13:02:33 +01:00
Przemyslaw Skibinski
c4874aab4c .travis.yml: different tests for "master" branch 2017-01-25 11:57:28 +01:00
Przemyslaw Skibinski
3bb010a667 .travis.yml: optimized order of short tests 2017-01-25 11:19:35 +01:00
Przemyslaw Skibinski
74d2cfdee2 .travis.yml: test jobs 12-15 2017-01-24 17:42:28 +01:00
Przemyslaw Skibinski
6ad02e7762 JOB_NUMBER -eq 9 2017-01-24 15:01:46 +01:00
Yann Collet
8566799781 separated ppc and ppc64 tests, for more regular timing 2017-01-03 00:25:01 +01:00
Nick Terrell
d132433534 Switch thread pool test to threading.h 2016-12-31 19:10:13 -05:00
Nick Terrell
9c499648e3 Add thread pool tests 2016-12-29 23:41:03 -08:00
Yann Collet
31ff2a23be fix Travis long test list;
added zbufftest-dll
2016-12-17 19:10:10 +01:00
Yann Collet
d46ecb58a5 added dll compilation tests 2016-12-17 16:28:12 +01:00
Nick Terrell
61e62c014f Test that all API symbols are exported 2016-12-16 13:29:23 -08:00
Przemyslaw Skibinski
0efaf7e7b1 added test-gzstd 2016-11-30 15:20:24 +01:00
Nick Terrell
2ede75e4fa Merge remote-tracking branch 'upstream/dev' into pzstd-build
* upstream/dev:
  restore all Travis tests
  "file" moved to tests/Makefile
  fixed .travis.yml (3)
  fixed .travis.yml (2)
  fixed .travis.yml
  added libzstd-dll
  updated appveyor.yml
  zstdlib renamed to libzstd
  updated IntDir and OutDir
  updated .gitignore
  .travis.yml: added aarch64test and ppc64test
  introduced QEMU_SYS
2016-11-14 12:09:44 -08:00
Nick Terrell
324c8ab000 [pzstd] Remove gtest dependency from make all 2016-11-14 11:56:28 -08:00
Nick Terrell
1f0b09dc4c Fix travis-ci timeout. 2016-11-14 10:29:25 -08:00
Przemyslaw Skibinski
f00e66a63d restore all Travis tests 2016-11-14 18:07:17 +01:00
Przemyslaw Skibinski
672dc775dc fixed .travis.yml (3) 2016-11-14 16:58:39 +01:00
Przemyslaw Skibinski
e392b1fec0 fixed .travis.yml (2) 2016-11-14 16:52:51 +01:00
Przemyslaw Skibinski
15d9815a18 fixed .travis.yml 2016-11-14 16:39:17 +01:00
Przemyslaw Skibinski
9f26f72f97 added libzstd-dll 2016-11-14 16:14:18 +01:00
Przemyslaw Skibinski
c779778950 updated IntDir and OutDir 2016-11-14 15:56:26 +01:00
Przemyslaw Skibinski
0b48a59647 .travis.yml: added aarch64test and ppc64test 2016-11-14 13:07:45 +01:00
Yann Collet
861cd06ded fix test-zstd-nolegacy 2016-11-03 01:11:56 -07:00
Yann Collet
03982b5ddb Merge pull request #434 from terrelln/dev
Pzstd Improvements
2016-10-28 20:27:59 -07:00
Nick Terrell
4cb5e90a5c [pzstd] Add asan and tsan tests to travis
gcc-6 tsan is buggy.
It fails to use the correct linker.
It is also broken with `-pie` with linux kernels newer than 4.1, but previous versions require `-pie`...
2016-10-14 15:26:55 -07:00
Nick Terrell
8b4e84249b [pzstd] Fix Makefile 2016-10-14 15:26:50 -07:00
inikep
82057aa7ec zstd.h: updated comments 2016-10-06 13:23:52 +02:00
inikep
0fa190b5eb .travis.yml: added "make clean" before versionsTest 2016-10-05 13:41:37 +02:00
inikep
23cec875cd fixed Makefile targets: zstd-small, zstd-decompress, zstd-compress 2016-10-05 11:56:22 +02:00
inikep
eb32d88980 Merge remote-tracking branch 'refs/remotes/facebook/dev' into zlibWrapper 2016-09-23 20:03:20 +02:00
inikep
e82c811946 updated zlibWrapper\README.md 2016-09-23 16:20:13 +02:00
inikep
57b9708054 faster inflate() autodetection of zlib/zstd 2016-09-23 14:59:46 +02:00
inikep
f77a1132a7 improved valgrind tests 2016-09-23 12:01:38 +02:00
inikep
4602e53021 added valgrindTest for zlibWrapper 2016-09-23 10:43:37 +02:00