Skip to content

Commit b387533

Browse files
committed
Skip binary-buildpack runs from tests
1 parent acceed4 commit b387533

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

src/python/integration/fake_supply_before_python_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ var _ = Describe("running supply buildpacks before the python buildpack", func()
7373
}
7474
PushAppAndConfirm(app)
7575
Expect(app.GetBody("/")).To(ContainSubstring("Hello, World!"))
76-
76+
// Binary Buildpack does not support cflinuxfs4 yet
77+
SkipOnCflinuxfs4()
7778
app.Buildpacks = []string{
7879
"https://github.com/cloudfoundry/binary-buildpack#master",
7980
"https://buildpacks.cloudfoundry.org/fixtures/supply-cache-new.zip",

src/python/integration/integration_suite_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,3 +191,9 @@ func RunCf(args ...string) error {
191191
command.Stderr = GinkgoWriter
192192
return command.Run()
193193
}
194+
195+
func SkipOnCflinuxfs4() {
196+
if os.Getenv("CF_STACK") == "cflinuxfs4" {
197+
Skip("Skipping test not relevant for stack cflinuxfs4")
198+
}
199+
}

0 commit comments

Comments
 (0)