Skip to content

Commit

Permalink
Move toric test to archive.tst
Browse files Browse the repository at this point in the history
  • Loading branch information
mtorpey committed Sep 4, 2024
1 parent cb7852d commit 2c611ca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tst/PackageManager.tst
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,6 @@ Error, <cmd> should be a string
gap> PKGMAN_Exec(".", "xyzabc");
fail

# Install to existing empty directory
gap> CreateDir(Filename(Directory(PKGMAN_PackageDir()), "Toric-1.9.5"));
true
gap> InstallPackage("https://github.com/gap-packages/toric/releases/download/v1.9.5/Toric-1.9.5.tar.gz");
true

# FINAL TEST
# (keep this at the end of the file)
gap> PKGMAN_SetCustomPackageDir(Filename(DirectoryTemporary(), "pkg/"));
8 changes: 8 additions & 0 deletions tst/archive.tst
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,11 @@ true
gap> PKGMAN_RefreshPackageInfo();
gap> RemovePackage("transgrp", false);
true

# Install to existing empty directory
gap> CreateDir(Filename(Directory(PKGMAN_PackageDir()), "Toric-1.9.5"));
true
gap> InstallPackage("https://github.com/gap-packages/toric/releases/download/v1.9.5/Toric-1.9.5.tar.gz");
true
gap> RemovePackage("toric", false);
true

0 comments on commit 2c611ca

Please sign in to comment.