any_compiler_tests.sh 373 B

123456789101112131415161718192021222324
  1. #!/usr/bin/env bash
  2. export LOGFILE=tests.log
  3. if [ "$NEWCC" != "" ]; then
  4. export CC="$NEWCC"
  5. fi
  6. if [ "$NEWCXX" != "" ]; then
  7. export CXX="$NEWCXX"
  8. fi
  9. source ./tools/ci/scripts/init.sh
  10. export CXXFLAGS="$CXXFLAGS $POST_CXXFLAGS"
  11. do_init
  12. run_configure --enable-unittests=yes $*
  13. export SDL_VIDEODRIVER=dummy
  14. run_make_check
  15. source ./tools/ci/scripts/exit.sh
  16. exit 0