aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/python.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rosa/python.go')
-rw-r--r--internal/rosa/python.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/rosa/python.go b/internal/rosa/python.go
index 3ebc1e08..56d23339 100644
--- a/internal/rosa/python.go
+++ b/internal/rosa/python.go
@@ -46,7 +46,7 @@ func (*PipHelper) scriptEarly() string { return "" }
func (*PipHelper) wantsDir() (string, bool) { return `"$(mktemp -d)"`, false }
// script generates the pip3 install command.
-func (attr *PipHelper) script(_ Toolchain, name string) string {
+func (attr *PipHelper) script(t Toolchain, name string) string {
if attr == nil {
attr = new(PipHelper)
}
@@ -70,7 +70,7 @@ func (attr *PipHelper) script(_ Toolchain, name string) string {
if attr.EnterSource {
script += "cd '/usr/src/" + name + "'\n"
}
- if !attr.SkipCheck {
+ if !attr.SkipCheck && t.opts&OptSkipCheck == 0 {
if attr.Check == "" {
// some test suites fall apart when ran out-of-tree
script += "(cd '" + sourcePath.String() + "' && pytest)\n"