Skip to content

Vole test files have problems when the package is loaded with OnlyNeeded #84

@wilfwilson

Description

@wilfwilson
 ┌───────┐   GAP 4.16dev-2-gd021536 built on 2025-09-05 14:08:36+0100
 │  GAP  │   https://www.gap-system.org
 └───────┘   Architecture: x86_64-apple-darwin24-default64-kv10
 Configuration:  gmp 6.3.0, GASMAN, readline
 Loading the library and packages ...
 Packages:   GAPDoc 1.6.7.dev, PrimGrp 4.0.0, SmallGrp 1.5.4, TransGrp 3.6.5

 Try '??help' for help. See also '?copyright', '?cite' and '?authors'
gap> LoadPackage("Vole", false : OnlyNeeded);;
gap> Read("tst/testall.g");
Architecture: x86_64-apple-darwin24-default64-kv10

testing: /Users/Wilf/gap/pkg/vole/tst/basic.tst
########> Diff in /Users/Wilf/gap/pkg/vole/tst/basic.tst:7
# Input is:
ReadPackage("vole", "tst/test_functions.g");
# Expected output:
true
# But found:
Error, BIND_GLOBAL: variable `IsConstraint' must be unbound
Error, was not in any namespace
Error, was not in any namespace
Error, was not in any namespace
########
########> Diff in /Users/Wilf/gap/pkg/vole/tst/basic.tst:15
# Input is:
VoleComp(5, [Constraint.Stabilize([2,3,4], OnSets), Constraint.Stabilize([3,4,\
5], OnSets)]);
# Expected output:
# But found:
Syntax warning: Unbound global variable in stream:1
VoleComp(5, [Constraint.Stabilize([2,3,4], OnSets), Constraint.Stabilize([3,4,\
\
5], OnSets)]);
^^^^^^^^
Error, Variable: 'VoleComp' must have a value
########
########> Diff in /Users/Wilf/gap/pkg/vole/tst/basic.tst:16
# Input is:
VoleComp(7, [Constraint.Stabilize([2,3,4], OnSets), Constraint.Stabilize([5], \
OnTuples)]);
# Expected output:
# But found:
Syntax warning: Unbound global variable in stream:1
VoleComp(7, [Constraint.Stabilize([2,3,4], OnSets), Constraint.Stabilize([5], \
\
OnTuples)]);
^^^^^^^^
Error, Variable: 'VoleComp' must have a value
########

...and so on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions