Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 0 additions & 33 deletions test/integration/activate_int_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (
"time"

"github.com/ActiveState/cli/internal/locale"
"github.com/ActiveState/termtest"

"github.com/ActiveState/cli/internal/testhelpers/suite"

Expand Down Expand Up @@ -347,38 +346,6 @@ func (suite *ActivateIntegrationTestSuite) TestActivate_SpaceInCacheDir() {
cp.ExpectExitCode(0)
}

func (suite *ActivateIntegrationTestSuite) TestActivatePerlCamel() {
suite.OnlyRunForTags(tagsuite.Activate, tagsuite.Perl, tagsuite.Critical)
if runtime.GOOS == "darwin" {
suite.T().Skip("Perl not supported on macOS")
}

ts := e2e.New(suite.T(), false)
defer ts.Close()
close := suite.addForegroundSvc(ts)
defer close()

cp := ts.Spawn("activate", "ActiveState-CLI/Perl")

cp.Expect("Downloading", termtest.OptExpectTimeout(40*time.Second))
cp.Expect("Installing", termtest.OptExpectTimeout(140*time.Second))
cp.Expect("Activated", e2e.RuntimeSourcingTimeoutOpt)

suite.assertCompletedStatusBarReport(cp.Output())

// ensure that shell is functional
cp.ExpectInput()

cp.SendLine("perldoc -l DBI::DBD")
// Expect the source code to be installed in the cache directory
// Note: At least for Windows we cannot expect cp.Dirs.Cache, because it is unreliable how the path name formats are unreliable (sometimes DOS 8.3 format, sometimes not)
cp.Expect("cache")
cp.Expect("DBD.pm")

cp.SendLine("exit")
cp.ExpectExitCode(0)
}

func (suite *ActivateIntegrationTestSuite) TestActivate_Subdir() {
suite.OnlyRunForTags(tagsuite.Activate, tagsuite.Critical)
ts := e2e.New(suite.T(), false)
Expand Down
12 changes: 0 additions & 12 deletions test/integration/install_int_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,24 +149,12 @@ func (suite *InstallIntegrationTestSuite) TestInstall_SolverV2() {
Package string
ExpectedFail bool
}{
{
"Python-Camel",
"ActiveState-CLI/Python3#971e48e4-7f9b-44e6-ad48-86cd03ffc12d",
"requests",
false,
},
{
"Python-Alternative",
"ActiveState-CLI/Python3-Alternative#c2b3f176-4788-479c-aad3-8359d28ba3ce",
"requests",
false,
},
{
"Perl-Camel",
"ActiveState-CLI/Perl#a0a1692e-d999-4763-b933-2d0d5758bf12",
"JSON",
false,
},
{
"Perl-Alternative",
"ActiveState-CLI/Perl-Alternative#ccc57e0b-fccf-41c1-8e1c-24f4de2e55fa",
Expand Down
Loading