Merge remote-tracking branch 'origin/topic/timw/bifs-tocount-zam-baseline'

* origin/topic/timw/bifs-tocount-zam-baseline:
  CI: Add release-build ZAM task for baseline checks during PRs
  Fix language/assert btest baselines for to_count/to_int changes
  Update the bifs.to_count baseline for ZAM
This commit is contained in:
Arne Welzel 2025-03-04 12:06:24 +01:00
commit 3bec357ace
6 changed files with 24 additions and 6 deletions

View file

@ -1,4 +1,4 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
error in <...>/to_count.zeek, line 8: bad conversion to count (int_to_count(-2) and -2)
error in <...>/to_count.zeek, line 20: bad conversion to count (to_count() and )
error in <...>/to_count.zeek, line 25: bad conversion to count (to_count(not a count) and not a count)
error in <...>/to_count.zeek, line 20: bad conversion to count (to_count(, 10) and )
error in <...>/to_count.zeek, line 29: bad conversion to count (to_count(not a count, 10) and not a count)

View file

@ -8,6 +8,10 @@
18446744073709551611
205
206
172
35
195
195
0
123
9223372036854775808 and 9223372036854775808 are the same

View file

@ -1,3 +1,3 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
error in <...>/assert.zeek, line 3: assertion failure: (coerce to_count("42") to double) == 42.5 (always failing)
error in <...>/assert.zeek, line 3: assertion failure: (coerce to_count("42", 10) to double) == 42.5 (always failing)
fatal error: errors occurred while initializing

View file

@ -1,4 +1,4 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
assertion_failure, to_count("5") == 4, 5 is not 4
assertion_failure, to_count("5", 10) == 4, 5 is not 4
assert <...>/assert-hook.zeek:21
zeek_init <none>:0

View file

@ -1,7 +1,7 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
f, lambda_<10820400278317158366>: function() : void
ZAM-code lambda_<10820400278317158366>
g, lambda_<9730512750166342063>: function() : void
ZAM-code lambda_<9730512750166342063>
g, lambda_<16208386833253569415>: function() : void
ZAM-code lambda_<16208386833253569415>
test_function, test_function: function() : void
ZAM-code test_function