From 0079425297fce6e25d674615c25596daabf590e7 Mon Sep 17 00:00:00 2001 From: inikep Date: Thu, 4 Aug 2016 14:43:21 +0200 Subject: [PATCH] .travis.yml: tests merged together --- .travis.yml | 27 +++------------------------ zstd_compression_format.md | 6 +++--- 2 files changed, 6 insertions(+), 27 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2e4611ca..22271cde 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,25 +6,16 @@ matrix: # Container-based Ubuntu 12.04 LTS Server Edition 64 bit (doesn't support 32-bit includes) - os: linux sudo: false - env: PLATFORM="Ubuntu 12.04 container" CMD="make travis-install" + env: PLATFORM="Ubuntu 12.04 container" CMD="make test && make clean && make travis-install" - os: linux sudo: false - env: PLATFORM="Ubuntu 12.04 container" CMD="make cmaketest" - - os: linux - sudo: false - env: PLATFORM="Ubuntu 12.04 container" CMD="make test" - - os: linux - sudo: false - env: PLATFORM="Ubuntu 12.04 container" CMD="make -C programs test-zstd_nolegacy" + env: PLATFORM="Ubuntu 12.04 container" CMD="make -C programs test-zstd_nolegacy && make clean && make zlibwrapper && make clean && make cmaketest" - os: linux sudo: false env: PLATFORM="Ubuntu 12.04 container" CMD="make usan" - os: linux sudo: false env: PLATFORM="Ubuntu 12.04 container" CMD="make asan" - - os: linux - sudo: false - env: PLATFORM="Ubuntu 12.04 container" CMD="make zlibwrapper" # Standard Ubuntu 12.04 LTS Server Edition 64 bit - os: linux sudo: required @@ -48,19 +39,7 @@ matrix: - os: linux dist: trusty sudo: required - env: PLATFORM="Ubuntu 14.04" CMD="make gcc5install gcc5test" - - os: linux - dist: trusty - sudo: required - env: PLATFORM="Ubuntu 14.04" CMD="make gcc6install gcc6test" - - os: linux - dist: trusty - sudo: required - env: PLATFORM="Ubuntu 14.04" CMD="make ppcinstall ppctest" - - os: linux - dist: trusty - sudo: required - env: PLATFORM="Ubuntu 14.04" CMD="make zlibwrapper" + env: PLATFORM="Ubuntu 14.04" CMD="make zlibwrapper && make clean && make gcc5install gcc5test && make clean && make gcc6install gcc6test && make clean && make ppcinstall ppctest" # OS X Mavericks - os: osx env: PLATFORM="OS X Mavericks" CMD="make gnu90test && make clean && make test && make clean && make travis-install" diff --git a/zstd_compression_format.md b/zstd_compression_format.md index 1c5908fa..a04730be 100644 --- a/zstd_compression_format.md +++ b/zstd_compression_format.md @@ -403,8 +403,8 @@ in order to properly allocate destination buffer. See [`Data_Block`](#the-structure-of-data_block) for more details. A compressed block consists of 2 sections : -- [Literals_Section](#literals_section) -- [Sequences_Section](#sequences_section) +- [`Literals_Section`](#literals_section) +- [`Sequences_Section`](#sequences_section) ### Prerequisites To decode a compressed block, the following elements are necessary : @@ -504,7 +504,7 @@ __`Size_Format` for `Compressed_Literals_Block` and `Repeat_Stats_Literals_Block #### `Huffman_Tree_Description` -This section is only present when literals block type is `Compressed_Block` (`2`). +This section is only present when `Literals_Block_Type` type is `Compressed_Block` (`2`). Prefix coding represents symbols from an a priori known alphabet by bit sequences (codewords), one codeword for each symbol,