Skip to content

Commit 5fd8a1c

Browse files
committed
Generate zlib test data
1 parent 38c7e02 commit 5fd8a1c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.azure-pipelines/unix-build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ steps:
3838
displayName: Build xtensor-io
3939
workingDirectory: $(Build.BinariesDirectory)/build
4040
41+
- script: |
42+
source activate xtensor-io
43+
python -c 'import struct, zlib; open("files/test.zl", "wb").write(zlib.compress(struct.pack("4d", 3.0, 2.0, 1.0, 0.0), level=1))'
44+
displayName: Generate data for zlib test
45+
workingDirectory: $(Build.BinariesDirectory)/build/test
46+
4147
- script: |
4248
source activate xtensor-io
4349
./test_xtensor_io_lib && ./test_xtensor_io_ho

0 commit comments

Comments
 (0)