summaryrefslogblamecommitdiff
path: root/tools/ci/jobs/any_compiler_tests.sh
blob: fb5feac487a38971385787f2df9a3dd0e5fbeded (plain) (tree)






















                                          
#!/bin/bash

export LOGFILE=tests.log

if [ "$NEWCC" != "" ]; then
    export CC="$NEWCC"
fi
if [ "$NEWCXX" != "" ]; then
    export CXX="$NEWCXX"
fi

source ./tools/ci/scripts/init.sh

export CXXFLAGS="$CXXFLAGS $POST_CXXFLAGS"

do_init
run_configure --enable-unittests=yes $*
export SDL_VIDEODRIVER=dummy
run_make_check

source ./tools/ci/scripts/exit.sh

exit 0