gcc49_tests.sh 482 B

1234567891011121314151617181920212223242526272829
  1. #!/usr/bin/env bash
  2. export CC=gcc-4.9
  3. export CXX=g++-4.9
  4. if [ "$NEWCC" != "" ]; then
  5. export CC="$NEWCC"
  6. fi
  7. if [ "$NEWCXX" != "" ]; then
  8. export CXX="$NEWCXX"
  9. fi
  10. export LOGFILE=gcc49_tests.log
  11. source ./tools/ci/scripts/init.sh
  12. export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \
  13. -fno-omit-frame-pointer \
  14. -D_FORTIFY_SOURCE=2 -std=gnu++1y"
  15. do_init
  16. run_configure --enable-unittests=yes $*
  17. export SDL_VIDEODRIVER=dummy
  18. run_make_check
  19. source ./tools/ci/scripts/exit.sh
  20. exit 0