nathanchance · GitHub

@nathanchance

@nathanchance

Sometimes, it may be desirable to perform the same set of builds that
TuxSuite does locally, such as validating that a local tree does not
have any problems.
TuxMake is the backend of TuxSuite and it is written in Python, so we
can import it, parse the TuxSuite YAML files ourselves, then offload all
the builds onto TuxMake.
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>

@nathanchance

nickdesaulniers

I had intended to use this in other places but I did a rewrite and
forgot to remove this.
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
This was paranoia over shutil.rmtree() failing but since
ignore_errors=True was not specified on that call, it will raise an
exception if it fails.
Remove exist_ok=True from the mkdir() call, as we know that build_dir
can never exist if we get to this point.
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Suggested-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>

nickdesaulniers

…om patches_flag
Signed-off-by: Nathan Chancellor <nathan@kernel.org>

nickdesaulniers

@nathanchance

@nathanchance

Read the original on github.com ↗