Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests for single threaded CLI 4GB @ all strategies to trigger index reduction #2601

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/generic-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,33 @@ jobs:
# candidate test (to check) : underlink test
# LDFLAGS=-Wl,--no-undefined : will make the linker fail if dll is underlinked

asan-ubsan-large-file-test-faststrategies:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: ASan + UBSan + Large file compression (strategies 1-5)
run: |
make clean
make -C tests datagen
make -j zstd MOREFLAGS="-fsanitize=address,undefined"
tests/datagen -g4000M -P99 | ./zstd -v --zstd=strategy=1 --single-thread | ./zstd -d > /dev/null
tests/datagen -g4000M -P99 | ./zstd -v --zstd=strategy=2 --single-thread | ./zstd -d > /dev/null
tests/datagen -g4000M -P99 | ./zstd -v --zstd=strategy=3 --single-thread | ./zstd -d > /dev/null
tests/datagen -g4000M -P99 | ./zstd -v --zstd=strategy=4 --single-thread | ./zstd -d > /dev/null
tests/datagen -g4000M -P99 | ./zstd -v --zstd=strategy=5 --single-thread | ./zstd -d > /dev/null

asan-ubsan-large-file-test-slowstrategies:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: ASan + UBSan + Large file compression (strategies 6-7)
run: |
make clean
make -C tests datagen
make -j zstd MOREFLAGS="-fsanitize=address,undefined"
tests/datagen -g4000M -P99 | ./zstd -v --zstd=strategy=6 --single-thread | ./zstd -d > /dev/null
tests/datagen -g4000M -P99 | ./zstd -v --zstd=strategy=7 --single-thread | ./zstd -d > /dev/null

gcc-8-asan-ubsan-testzstd:
runs-on: ubuntu-latest
steps:
Expand Down