Lines Matching +full:- +full:- +full:preserve +full:- +full:paths
10 The test runner `run.py` will run tests against the in-tree build of `zstd` and `datagen` by defaul…
12 The `zstd` binary used can be passed with `--zstd /path/to/zstd`.
13 …to run `zstd` through a tool like `valgrind` or `qemu`, set the `--exec-prefix 'valgrind -q'` flag.
15 Similarly, the `--datagen`, and `--zstdgrep` flags can be set to specify
16 the paths to their respective binaries. However, these tools do not use
19 …rectories are removed after the test executes. However, the `--preserve` flag will preserve these …
29 ./run.py --preserve
30 ./run.py --zstd ../../build/programs/zstd --datagen ../../build/tests/datagen
36 This can be useful for writing or debugging a test, especially with `--preserve`.
44 ./run.py --preserve basic/help.sh basic/version.sh
45 ./run.py --preserve --verbose basic/help.sh
50 …derr.exact` or `.stdout.exact` no longer matches, you can re-run the tests with `--set-exact-outpu…
54 ./run.py --set-exact-output
55 ./run.py basic/help.sh --set-exact-output
63 …les. This directory will be cleaned up at the end of the test, unless `--preserve` is passed to th…
67 The `$PATH` for tests is prepended with the `bin/` sub-directory, which contains helper scripts for…
75 …ent variables are provided for testing, which can be listed when calling `run.py` with `--verbose`.
88 If you provide a `.exact` file, the output is expected to exactly match, byte-for-byte.
101 exit-1.sh
102 ---
105 ---
107 exit-1.sh.exit
108 ---
110 ---
117 ---
120 ---
123 ---
125 ---
132 ---
134 head -c 10 < /dev/urandom | xxd >&2
135 ---
138 ---
145 random-num-lines.sh
146 ---
151 ---
153 random-num-lines.sh.stdout.glob
154 ---
159 ---
167 exit-1.sh
168 ---
171 ---
178 ---
187 ---
190 ---
193 ---
195 ---
201 …h directory in the test directory is a test-suite consisting of all tests within that directory (b…
222 ---
228 ---
231 ---
234 ---
237 ---
239 set -e
243 datagen -g1000 > files/$i
246 zstd --train -r files/ -o dicts/0
247 ---
250 ---
256 cp -r ../files ../dicts .
257 ---