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





















                                          
#!/usr/bin/env 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