diff --git a/.gitignore b/.gitignore index 5c50d1d01..fbd4b460f 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,4 @@ /libsemigroups/ /src/pkgconfig.h.in /src/semigroups-config.hpp +test-output.w diff --git a/tst/workspaces/load-workspace.tst b/tst/workspaces/load-workspace.tst index 361d0c57d..ff07e6ca4 100644 --- a/tst/workspaces/load-workspace.tst +++ b/tst/workspaces/load-workspace.tst @@ -14,9 +14,9 @@ ## ############################################################################# -# Set up testing environment +# DO NOT USE LOCAL VARIABLES @local in this file! -#@local D, DD, id, idd, xx +# Set up testing environment gap> START_TEST("Semigroups package: workspaces/load-workspace.tst"); gap> SEMIGROUPS.StartTest(); @@ -136,6 +136,7 @@ gap> AsDigraph(b); gap> CanonicalBlocks(b); -# +# No point unbinding local variables, since this will only ever be run in a +# workspace gap> SEMIGROUPS.StopTest(); gap> STOP_TEST("Semigroups package: workspaces/load-workspace.tst"); diff --git a/tst/workspaces/save-workspace.tst b/tst/workspaces/save-workspace.tst index 64bed964c..7c11dfad8 100644 --- a/tst/workspaces/save-workspace.tst +++ b/tst/workspaces/save-workspace.tst @@ -14,9 +14,10 @@ ## ############################################################################# +# DO NOT USE LOCAL VARIABLES @local in this file! + # Set up testing environment -#@local D, DD, S, T, U, b, cong, id, idd, x, xx, y gap> START_TEST("Semigroups package: workspaces/save-workspace.tst"); gap> SetInfoLevel(InfoDebug, 0); gap> LoadPackage("semigroups", false);; @@ -146,6 +147,20 @@ gap> SaveWorkspace(Concatenation(SEMIGROUPS.PackageDir, > "/tst/workspaces/test-output.w")); true +# Unbind local variables, auto-generated by etc/tst-unbind-local-vars.py +gap> Unbind(D); +gap> Unbind(DD); +gap> Unbind(S); +gap> Unbind(T); +gap> Unbind(U); +gap> Unbind(b); +gap> Unbind(cong); +gap> Unbind(id); +gap> Unbind(idd); +gap> Unbind(x); +gap> Unbind(xx); +gap> Unbind(y); + # gap> SEMIGROUPS.StopTest(); gap> STOP_TEST("Semigroups package: workspaces/save-workspace.tst");