clang-asan.sh 536 B

1234567891011121314
  1. #!/bin/bash -e
  2. # continuous integration test script
  3. # run this from the top-level source directory
  4. ./autogen.sh
  5. CC=clang CFLAGS='-Wall -O1 -g -fsanitize=address -fno-sanitize-recover' LDFLAGS='-fsanitize=address -fno-sanitize-recover' ./configure
  6. make clean all
  7. ./examples/encoder_example -k 4 ${VIDEOS}/claire_qcif-2frames.y4m -o out.$$.ogv
  8. ./examples/dump_video out.$$.ogv -o /dev/null
  9. rm -f out.$$.ogv
  10. ./examples/encoder_example -k 4 ${VIDEOS}/tos444.y4m -o out.$$.ogv
  11. ./examples/dump_video out.$$.ogv -o /dev/null
  12. rm -f out.$$.ogv