-
Notifications
You must be signed in to change notification settings - Fork 148
Closed
Description
Because the test suite expects warnings to take the form Line 1 --> Warning: ..., warnings caused by setup parameter changes (#529) are ignored.
Output log:
$ ./check/check.rb ./build/sources/vorm Issue468 Issue563 -v
warning: failed to get the wordsize of './build/sources/vorm'
warning: assuming wordsize = 4
Check /home/tueda/work/form/build/sources/vorm
FORM 5.0.0-beta.1 (Nov 14 2024, v5.0.0-beta.1-81-g0289435) Run: Mon Nov 18 20:19:14 2024
Loaded suite ./check/check
StartedCommand: /home/tueda/work/form/build/sources/vorm 1.frm
===============================================================================
Issue468 (fixes.frm:2721) SUCCEEDED
===============================================================================
FORM 5.0.0-beta.1 (Nov 14 2024, v5.0.0-beta.1-81-g0289435) Run: Mon Nov 18 20:19:14 2024
#-
Warning: LargeSize adjusted: 26880512 -> 134400480
Warning: SmallSize adjusted: 100000 -> 12800016
Warning: SmallEsize adjusted: 200000 -> 19200032
Warning: TermsInSmall adjusted: 5000 -> 5008
Time = 0.02 sec Generated terms = 2
test Terms in output = 2
Bytes used = 1298208
~~~Enable prf
Time = 0.08 sec Generated terms = 2
test Terms in output = 1
Bytes used = 324576
Time = 0.09 sec Generated terms = 1
test Terms in output = 1
Bytes used = 48
test =
prf(2,1);
0.09 sec out of 0.10 sec
===============================================================================
.Command: /home/tueda/work/form/build/sources/vorm 1.frm
===============================================================================
Issue563 (fixes.frm:2861) SUCCEEDED
===============================================================================
FORM 5.0.0-beta.1 (Nov 14 2024, v5.0.0-beta.1-81-g0289435) Run: Mon Nov 18 20:19:14 2024
#: SubTermsInSmall 50
CFunction f,g;
Symbol a;
* Generate a function arg with more than SubTermsInSmall terms:
* Make sure one of the factors has more than SubTermsInSmall itself.
* Use functions to trigger LocalConvertToPoly and the EndSort there.
Local F = f((g(1)+g(2)) * (<g(1)>+...+<g(65)>)) - g(1+2, 1+...+65);
FactArg f;
Argument f;
Identify g(a?) = a;
Warning: TermsInSmall adjusted: 50 -> 64
EndArgument;
Identify g(?a) = f(?a);
Print F;
.end
Time = 0.06 sec Generated terms = 2
F Terms in output = 0
Bytes used = 4
F = 0;
0.06 sec out of 0.06 sec
===============================================================================
.
Finished in 0.185177066 seconds.
-------------------------------------------------------------------------------
2 tests, 4 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed
-------------------------------------------------------------------------------
10.80 tests/s, 21.60 assertions/s
Maybe the check:
could be somewhat relaxed, or FORM warning messages could be formatted more consistently (see also #514).
Metadata
Metadata
Assignees
Labels
No labels