Skip to content

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
IsabelParedes committed Jun 7, 2024
1 parent 341f352 commit 08125c1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
5 changes: 4 additions & 1 deletion recipes/recipes_emscripten/xz/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ emconfigure ../configure \
--enable-threads=no \
--prefix=$PREFIX

emmake make install
emmake make install

# Copy .wasm file also
cp src/xz/xz.wasm $PREFIX/bin/
9 changes: 9 additions & 0 deletions recipes/recipes_emscripten/xz/recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ requirements:
- automake
- libtool

tests:
- script:
- test -f $PREFIX/lib/liblzma.a
- test -f $PREFIX/include/lzma.h
- node $PREFIX/bin/xz --version
requirements:
build:
- nodejs

about:
homepage: http://tukaani.org/xz/
license: LGPL-2.1 AND GPL-2.0
Expand Down

0 comments on commit 08125c1

Please sign in to comment.