#!/bin/sh -e # # Copyright (C) 2014 Linaro Limited # Author: Peter Maydell # This work is licensed under the terms of the GNU GPL version 2 or later. # warning: some hard coded paths here # build-and-test part of a pull request echo "Doing build and test cycle..." JFLAG=-j$(nproc) # Force no colours, and plain quotes export GCC_COLORS= # This causes a qapi escape-too-big test to spuriously fail, # so don't do it. #export LANG=C # test one build from clean, at least: make --output-sync -C build/alldbg clean make --output-sync -C build/all $JFLAG make --output-sync -C build/alldbg $JFLAG # Now done on a different host using mxe cross toolchain #make --output-sync -C build/w32-new $JFLAG #make --output-sync -C build/w64-new $JFLAG make --output-sync -C build/clang $JFLAG make --output-sync -C build/tci $JFLAG make --output-sync -C build/notcg $JFLAG make --output-sync -C build/all-linux-static $JFLAG make --output-sync -C build/all check V=1 $JFLAG make --output-sync -C build/alldbg check V=1 $JFLAG make --output-sync -C build/clang check V=1 $JFLAG # tci doesn't pass tests... #make --output-sync -C build/tci check $JFLAG make --output-sync -C build/notcg check $JFLAG make --output-sync -C build/all-linux-static check V=1 $JFLAG make --output-sync -C ~/linaro/linux-user-test-0.3/ test echo "OK DONE x86"