Commit af497ed2 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Fixing small issue with parsed branch

parent 1b652983
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -215,7 +215,8 @@ if __name__ == "__main__":
    if COMMIT_ID == "local":
        (REF, REF_TYPE, BRANCH) = get_git_reference(ROOT)

        if REF is None:
        if (REF is None) or (BRANCH is None):
            print("INFO: Generating SOL tests NOT applicable for this branch")
            sys.exit(-1)
        COMMIT_ID = REF
        print("Using git ref: {} ({}) on branch {}".format(COMMIT_ID, REF_TYPE, BRANCH))