MetaData Sharing
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

17 lines
668 B

  1. MODULES=cli.py kleintest.py mtree.py server.py
  2. test: fixtures/sample.data.pasn1 fixtures/sample.persona.pasn1 fixtures/sample.mtree
  3. (. ./p/bin/activate && \
  4. (ls $(MODULES) | entr sh -c 'python -m coverage run -m unittest $(basename $(MODULES)) && coverage report -m --omit=p/\*'))
  5. env:
  6. virtualenv p
  7. (. ./p/bin/activate && \
  8. pip install -r requirements.txt)
  9. fixtures/sample.data.pasn1 fixtures/sample.persona.pasn1: fixtures/genfixtures.py
  10. (. ./p/bin/activate && cd fixtures && PYTHONPATH=.. python genfixtures.py )
  11. fixtures/sample.mtree: fixtures/mtree.dir
  12. bsdtar -cf - --format mtree --options='!all,time,sha512,size,indent' -C fixtures/mtree.dir . > $@