X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=scripts%2Fcheck_build_sanity.py;h=6f05f33457c9d97046e889d85c8ecd5707f82239;hb=643c8dd65b916d6a3513e38865d7e6fb74069e4b;hp=88500a4a153effa7161655ac6e99359a906e6fc6;hpb=0543f8e6194482d65c97f353c7e1681ddd27813d;p=platform%2Fupstream%2FVK-GL-CTS.git diff --git a/scripts/check_build_sanity.py b/scripts/check_build_sanity.py index 88500a4..6f05f33 100644 --- a/scripts/check_build_sanity.py +++ b/scripts/check_build_sanity.py @@ -135,10 +135,6 @@ def runSteps (steps): else: print "Skip: %s" % step.getName() -def runRecipe (steps): - allSteps = PREREQUISITES + steps + POST_CHECKS - runSteps(allSteps) - COMMON_GCC_CFLAGS = ["-Werror"] COMMON_CLANG_CFLAGS = COMMON_GCC_CFLAGS + ["-Wno-error=unused-command-line-argument"] GCC_32BIT_CFLAGS = COMMON_GCC_CFLAGS + ["-m32"] @@ -247,6 +243,11 @@ def parseArgs (): dest="dumpRecipes", action="store_true", help="Print out recipes that have any available actions") + parser.add_argument("--skip-prerequisites", + dest="skipPrerequisites", + action="store_true", + help="Skip external dependency fetch") + return parser.parse_args() if __name__ == "__main__": @@ -265,6 +266,7 @@ if __name__ == "__main__": print "Running %s" % name - runRecipe(steps) + allSteps = (PREREQUISITES if (args.skipPrerequisites == False) else []) + steps + POST_CHECKS + runSteps(allSteps) print "All steps completed successfully"