Add test to see if executable is properly put together
@@ -29,8 +29,15 @@ requirements:
- make
test:
+ files:
+ - LICENSE
commands:
- igzip --help
+ # Test compression and decompression.
+ - igzip -k LICENSE
+ # Original file should be larger than compressed file.
+ - bash -c '[ $(stat -c %s LICENSE) -gt $(stat -c %s LICENSE.gz) ]'
+ - bash -c '[ "$(igzip -cd LICENSE.gz)" == "$(cat LICENSE)" ]'
about:
home: https://software.intel.com/content/www/us/en/develop/tools/isa-l.html
