2023-03-06T10:26
2023-03-06T10:26
...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Lua warning: #This is an expected warning
Lua warning: #This is another one
.......--- test output ---

	Starting Tests
random seeds: 1678098400, 367228293800
current path:
****/usr/share/lua/5.4/?.lua;/usr/share/lua/5.4/?/init.lua;/usr/lib/lua/5.4/?.lua;/usr/lib/lua/5.4/?/init.lua;./?.lua;./?/init.lua****

    ---- total memory: 44.6K, max memory: 44.6K ----

time: 2.7e-05 (+2.7e-05)

***** FILE 'main.lua'*****

***** FILE 'gc.lua'*****
testing incremental garbage collection
creating many objects
functions with errors
long strings
steps
steps (2)
clearing tables
weak tables
+
self-referenced threads
OK
    ---- total memory: 1.4M, max memory: 1.4M ----

time: 0.264587 (+0.26456)

***** FILE 'db.lua'*****
testing debug library and debug information
+
testing inspection of parameters/returned values
+
+
testing traceback sizes
testing debug functions on chunk without debug info
OK
    ---- total memory: 152.8K, max memory: 1.4M ----

time: 0.348832 (+0.084245)

***** FILE 'calls.lua'*****
testing functions and calls
+
+
testing tail calls
+
+
testing binary chunks
OK
testing strings and string library
testing 'format %a %A'
OK
testing scanner
+
+
+
+
+
OK
    ---- total memory: 271.5K, max memory: 1.4M ----

time: 0.483444 (+0.134612)

***** FILE 'tpack.lua'*****
testing pack/unpack
platform:
	short 2, int 4, long 8, size_t 8, float 4, double 8,
	lua Integer 8, lua Number 8
	little endian
	alignment: 8
testing invalid formats
testing pack/unpack of floating-point numbers
testing pack/unpack of strings
testing alignment
OK
    ---- total memory: 315.4K, max memory: 1.4M ----

time: 0.485625 (+0.002181)

***** FILE 'attrib.lua'*****
testing require
package config: /|;|?|!|-|
testing 'require' message
+
testing assignments, logical operators, and constructors
+
OK
    ---- total memory: 318.1K, max memory: 1.4M ----

time: 0.488525 (+0.0029)

***** FILE 'gengc.lua'*****
testing generational garbage collection
+
OK
    ---- total memory: 124.8K, max memory: 1.4M ----

time: 0.489227 (+0.000702)

***** FILE 'locals.lua'*****
testing local variables and environments
+
testing to-be-closed variables
testing errors in __close
to-be-closed variables in coroutines
OK
    ---- total memory: 178.4K, max memory: 1.4M ----

time: 0.681978 (+0.192751)

***** FILE 'constructs.lua'*****
testing syntax
+
testing short-circuit optimizations (1)
+
OK
    ---- total memory: 954.0K, max memory: 1.4M ----

time: 0.760175 (+0.078197)

***** FILE 'code.lua'*****
    ---- total memory: 902.3K, max memory: 1.4M ----

time: 0.761483 (+0.001308)

***** FILE 'cstack.lua'*****
testing stack overflow detection
testing stack overflow in message handling
final count: 	250037
testing recursion inside pattern matching
testing stack-overflow in recursive 'gsub'
final count: 	197
testing stack-overflow in recursive 'gsub' with metatables
final count: 	99
testing limits in coroutines inside deep calls
final count: 	196
nesting of resuming yielded coroutines
final count: 	195
nesting coroutines running after recoverable errors
final count: 	197
OK
    ---- total memory: 14.2M, max memory: 14.2M ----

time: 0.876851 (+0.115368)

***** FILE 'nextvar.lua'*****
testing tables, next, and for
+
+
+
testing next x GC of deleted keys
+
testing floats in numeric for
OK
    ---- total memory: 137.3K, max memory: 14.2M ----

time: 0.916132 (+0.039281)

***** FILE 'pm.lua'*****
testing pattern matching
+
+
+
+
OK
    ---- total memory: 168.1K, max memory: 14.2M ----

time: 0.91859 (+0.002458)

***** FILE 'utf8.lua'*****
testing UTF-8 library
ok
    ---- total memory: 154.7K, max memory: 14.2M ----

time: 0.919942 (+0.001352)

***** FILE 'api.lua'*****
    ---- total memory: 345.1K, max memory: 14.2M ----

time: 0.922592 (+0.00265)

***** FILE 'events.lua'*****
testing metatables
+
+
OK
    ---- total memory: 136.9K, max memory: 14.2M ----

time: 0.925436 (+0.002844)

***** FILE 'vararg.lua'*****
testing vararg
+
+
+
OK
    ---- total memory: 171.7K, max memory: 14.2M ----

time: 0.925985 (+0.000549)

***** FILE 'closure.lua'*****
testing closures
+
OK
    ---- total memory: 242.3K, max memory: 14.2M ----

time: 0.92998 (+0.003995)

***** FILE 'coroutine.lua'*****
testing coroutines
to-be-closed variables in coroutines
testing 'coroutine.close'
+
testing yields inside metamethods
+
testing yields inside 'for' iterators
OK
    ---- total memory: 218.9K, max memory: 14.2M ----

time: 0.934135 (+0.004155)

***** FILE 'goto.lua'*****
OK
    ---- total memory: 140.1K, max memory: 14.2M ----

time: 0.934819 (+0.000684)

***** FILE 'errors.lua'*****
testing errors
+
testing tokens in error messages
+
OK
    ---- total memory: 263.0K, max memory: 14.2M ----

time: 0.947476 (+0.012657)

***** FILE 'math.lua'*****
testing numbers and math lib
64-bit integers, 53-bit (mantissa) floats
testing order (floats cannot represent all integers)
testing -0 and NaN
testing 'math.random'
random seeds: 1678098401, 367228293800
float random range in 31800 calls: [0.000090, 0.999962]
integer random range in 44800 calls: [minint + 67ppm, maxint - 23ppm]
OK
    ---- total memory: 160.4K, max memory: 14.2M ----

time: 0.994022 (+0.046546)

***** FILE 'sort.lua'*****
testing (parts of) table library
testing unpack
testing pack
testing sort
sorting 5000 random elements in 2.93 msec.
re-sorting 5000 sorted elements in 2.21 msec.
Invert-sorting other 5000 elements in 10.17 msec., with 66881 comparisons
sorting 5000 equal elements in 5.26 msec.
OK
    ---- total memory: 259.7K, max memory: 14.2M ----

time: 1.02459 (+0.030563)

***** FILE 'bitwise.lua'*****
testing bitwise operations
+
testing bitwise library
+
+
OK
    ---- total memory: 327.8K, max memory: 14.2M ----

time: 1.02612 (+0.001538)

***** FILE 'verybig.lua'*****
testing RK
    ---- total memory: 125.4K, max memory: 14.2M ----

time: 1.02652 (+0.000394)

***** FILE 'files.lua'*****
testing i/o
+
+
+
+
+
+
testing date/time
test done on 06/03/2023, at 10:26:41
Lua 5.4
(there should be two warnings now)
64-bit integers, 64-bit floats
cleaning all!!!!
    ---- total memory: 58.5K, max memory: 14.2M ----



total time: 1.05s (wall time: 1s)

final OK !!!
>>> closing state <<<



--- ptest result ---
grep: warning: stray \ before !
grep: warning: stray \ before !
grep: warning: stray \ before !
PASS: lua
DURATION: 1
