autotools.sh 563 B

12345678910111213141516171819
  1. #!/bin/bash -e
  2. # continuous integration test script
  3. # run this from the top-level source directory
  4. VIDEOS=/usr/local/share/videos
  5. ./autogen.sh
  6. CFLAGS='-O2 -g' ./configure --enable-assertions --enable-check-asm --enable-logging --enable-accounting
  7. make clean
  8. make distcheck
  9. make docs
  10. make
  11. ./examples/encoder_example -k 4 ${VIDEOS}/claire_qcif-2frames.y4m -o out.$$.ogv
  12. ./examples/dump_video out.$$.ogv -o /dev/null
  13. rm -f out.$$.ogv
  14. ./examples/encoder_example -k 4 ${VIDEOS}/tos444.y4m -o out.$$.ogv
  15. ./examples/dump_video out.$$.ogv -o /dev/null
  16. rm -f out.$$.ogv