aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testes/all.lua29
-rw-r--r--testes/api.lua2
-rw-r--r--testes/attrib.lua2
-rw-r--r--testes/big.lua2
-rw-r--r--testes/bitwise.lua2
-rw-r--r--testes/calls.lua2
-rw-r--r--testes/closure.lua2
-rw-r--r--testes/code.lua2
-rw-r--r--testes/constructs.lua2
-rw-r--r--testes/coroutine.lua2
-rw-r--r--testes/cstack.lua2
-rw-r--r--testes/db.lua2
-rw-r--r--testes/errors.lua2
-rw-r--r--testes/events.lua2
-rw-r--r--testes/files.lua2
-rw-r--r--testes/gc.lua2
-rw-r--r--testes/gengc.lua2
-rw-r--r--testes/goto.lua2
-rw-r--r--testes/heavy.lua4
-rw-r--r--testes/literals.lua2
-rw-r--r--testes/locals.lua2
-rw-r--r--testes/main.lua2
-rw-r--r--testes/math.lua2
-rw-r--r--testes/memerr.lua2
-rw-r--r--testes/nextvar.lua2
-rw-r--r--testes/pm.lua2
-rw-r--r--testes/sort.lua2
-rw-r--r--testes/strings.lua2
-rw-r--r--testes/tpack.lua2
-rw-r--r--testes/utf8.lua2
-rw-r--r--testes/vararg.lua2
-rw-r--r--testes/verybig.lua2
32 files changed, 33 insertions, 60 deletions
diff --git a/testes/all.lua b/testes/all.lua
index c3fdac95..5c7ebfa5 100644
--- a/testes/all.lua
+++ b/testes/all.lua
@@ -1,6 +1,6 @@
1#!../lua 1#!../lua
2-- $Id: testes/all.lua $ 2-- $Id: testes/all.lua $
3-- See Copyright Notice at the end of this file 3-- See Copyright Notice in file lua.h
4 4
5 5
6local version = "Lua 5.5" 6local version = "Lua 5.5"
@@ -283,30 +283,3 @@ end
283 283
284print("final OK !!!") 284print("final OK !!!")
285 285
286
287
288--[[
289*****************************************************************************
290* Copyright (C) 1994-2016 Lua.org, PUC-Rio.
291*
292* Permission is hereby granted, free of charge, to any person obtaining
293* a copy of this software and associated documentation files (the
294* "Software"), to deal in the Software without restriction, including
295* without limitation the rights to use, copy, modify, merge, publish,
296* distribute, sublicense, and/or sell copies of the Software, and to
297* permit persons to whom the Software is furnished to do so, subject to
298* the following conditions:
299*
300* The above copyright notice and this permission notice shall be
301* included in all copies or substantial portions of the Software.
302*
303* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
304* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
305* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
306* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
307* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
308* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
309* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
310*****************************************************************************
311]]
312
diff --git a/testes/api.lua b/testes/api.lua
index ee2de98b..49e3f9b9 100644
--- a/testes/api.lua
+++ b/testes/api.lua
@@ -1,5 +1,5 @@
1-- $Id: testes/api.lua $ 1-- $Id: testes/api.lua $
2-- See Copyright Notice in file all.lua 2-- See Copyright Notice in file lua.h
3 3
4if T==nil then 4if T==nil then
5 (Message or print)('\n >>> testC not active: skipping API tests <<<\n') 5 (Message or print)('\n >>> testC not active: skipping API tests <<<\n')
diff --git a/testes/attrib.lua b/testes/attrib.lua
index 9054e0b6..d8b6e0f3 100644
--- a/testes/attrib.lua
+++ b/testes/attrib.lua
@@ -1,5 +1,5 @@
1-- $Id: testes/attrib.lua $ 1-- $Id: testes/attrib.lua $
2-- See Copyright Notice in file all.lua 2-- See Copyright Notice in file lua.h
3 3
4print "testing require" 4print "testing require"
5 5
diff --git a/testes/big.lua b/testes/big.lua
index 46fd8466..119caa6c 100644
--- a/testes/big.lua
+++ b/testes/big.lua
@@ -1,5 +1,5 @@
1-- $Id: testes/big.lua $ 1-- $Id: testes/big.lua $
2-- See Copyright Notice in file all.lua 2-- See Copyright Notice in file lua.h
3 3
4if _soft then 4if _soft then
5 return 'a' 5 return 'a'
diff --git a/testes/bitwise.lua b/testes/bitwise.lua
index dd0a1a9a..10afff43 100644
--- a/testes/bitwise.lua
+++ b/testes/bitwise.lua
@@ -1,5 +1,5 @@
1-- $Id: testes/bitwise.lua $ 1-- $Id: testes/bitwise.lua $
2-- See Copyright Notice in file all.lua 2-- See Copyright Notice in file lua.h
3 3
4print("testing bitwise operations") 4print("testing bitwise operations")
5 5
diff --git a/testes/calls.lua b/testes/calls.lua
index 8b355957..942fad72 100644
--- a/testes/calls.lua
+++ b/testes/calls.lua
@@ -1,5 +1,5 @@
1-- $Id: testes/calls.lua $ 1-- $Id: testes/calls.lua $
2-- See Copyright Notice in file all.lua 2-- See Copyright Notice in file lua.h
3 3
4print("testing functions and calls") 4print("testing functions and calls")
5 5
diff --git a/testes/closure.lua b/testes/closure.lua
index 07149ef3..d3b9f621 100644
--- a/testes/closure.lua
+++ b/testes/closure.lua
@@ -1,5 +1,5 @@
1-- $Id: testes/closure.lua $ 1-- $Id: testes/closure.lua $
2-- See Copyright Notice in file all.lua 2-- See Copyright Notice in file lua.h
3 3
4print "testing closures" 4print "testing closures"
5 5
diff --git a/testes/code.lua b/testes/code.lua
index 50ce7392..111717ce 100644
--- a/testes/code.lua
+++ b/testes/code.lua
@@ -1,5 +1,5 @@
1-- $Id: testes/code.lua $ 1-- $Id: testes/code.lua $
2-- See Copyright Notice in file all.lua 2-- See Copyright Notice in file lua.h
3 3
4if T==nil then 4if T==nil then
5 (Message or print)('\n >>> testC not active: skipping opcode tests <<<\n') 5 (Message or print)('\n >>> testC not active: skipping opcode tests <<<\n')
diff --git a/testes/constructs.lua b/testes/constructs.lua
index 6ac68166..3f6d506f 100644
--- a/testes/constructs.lua
+++ b/testes/constructs.lua
@@ -1,5 +1,5 @@
1-- $Id: testes/constructs.lua $ 1-- $Id: testes/constructs.lua $
2-- See Copyright Notice in file all.lua 2-- See Copyright Notice in file lua.h
3 3
4;;print "testing syntax";; 4;;print "testing syntax";;
5 5
diff --git a/testes/coroutine.lua b/testes/coroutine.lua
index abc08039..680fc605 100644
--- a/testes/coroutine.lua
+++ b/testes/coroutine.lua
@@ -1,5 +1,5 @@
1-- $Id: testes/coroutine.lua $ 1-- $Id: testes/coroutine.lua $
2-- See Copyright Notice in file all.lua 2-- See Copyright Notice in file lua.h
3 3
4print "testing coroutines" 4print "testing coroutines"
5 5
diff --git a/testes/cstack.lua b/testes/cstack.lua
index 97afe9fd..0a68a30a 100644
--- a/testes/cstack.lua
+++ b/testes/cstack.lua
@@ -1,5 +1,5 @@
1-- $Id: testes/cstack.lua $ 1-- $Id: testes/cstack.lua $
2-- See Copyright Notice in file all.lua 2-- See Copyright Notice in file lua.h
3 3
4 4
5local tracegc = require"tracegc" 5local tracegc = require"tracegc"
diff --git a/testes/db.lua b/testes/db.lua
index 75730d27..3c821ab7 100644
--- a/testes/db.lua
+++ b/testes/db.lua
@@ -1,5 +1,5 @@
1-- $Id: testes/db.lua $ 1-- $Id: testes/db.lua $
2-- See Copyright Notice in file all.lua 2-- See Copyright Notice in file lua.h
3 3
4-- testing debug library 4-- testing debug library
5 5
diff --git a/testes/errors.lua b/testes/errors.lua
index 5fdb7722..8ef26757 100644
--- a/testes/errors.lua
+++ b/testes/errors.lua
@@ -1,5 +1,5 @@
1-- $Id: testes/errors.lua $ 1-- $Id: testes/errors.lua $
2-- See Copyright Notice in file all.lua 2-- See Copyright Notice in file lua.h
3 3
4print("testing errors") 4print("testing errors")
5 5
diff --git a/testes/events.lua b/testes/events.lua
index 5360ac30..2500fbd5 100644
--- a/testes/events.lua
+++ b/testes/events.lua
@@ -1,5 +1,5 @@
1-- $Id: testes/events.lua $ 1-- $Id: testes/events.lua $
2-- See Copyright Notice in file all.lua 2-- See Copyright Notice in file lua.h
3 3
4print('testing metatables') 4print('testing metatables')
5 5
diff --git a/testes/files.lua b/testes/files.lua
index 9bdf04d0..05fae49b 100644
--- a/testes/files.lua
+++ b/testes/files.lua
@@ -1,5 +1,5 @@
1-- $Id: testes/files.lua $ 1-- $Id: testes/files.lua $
2-- See Copyright Notice in file all.lua 2-- See Copyright Notice in file lua.h
3 3
4local debug = require "debug" 4local debug = require "debug"
5 5
diff --git a/testes/gc.lua b/testes/gc.lua
index 09bfe09a..96eadad8 100644
--- a/testes/gc.lua
+++ b/testes/gc.lua
@@ -1,5 +1,5 @@
1-- $Id: testes/gc.lua $ 1-- $Id: testes/gc.lua $
2-- See Copyright Notice in file all.lua 2-- See Copyright Notice in file lua.h
3 3
4print('testing incremental garbage collection') 4print('testing incremental garbage collection')
5 5
diff --git a/testes/gengc.lua b/testes/gengc.lua
index c4f6ca1b..ea99bdc4 100644
--- a/testes/gengc.lua
+++ b/testes/gengc.lua
@@ -1,5 +1,5 @@
1-- $Id: testes/gengc.lua $ 1-- $Id: testes/gengc.lua $
2-- See Copyright Notice in file all.lua 2-- See Copyright Notice in file lua.h
3 3
4print('testing generational garbage collection') 4print('testing generational garbage collection')
5 5
diff --git a/testes/goto.lua b/testes/goto.lua
index 103cccef..eca68516 100644
--- a/testes/goto.lua
+++ b/testes/goto.lua
@@ -1,5 +1,5 @@
1-- $Id: testes/goto.lua $ 1-- $Id: testes/goto.lua $
2-- See Copyright Notice in file all.lua 2-- See Copyright Notice in file lua.h
3 3
4collectgarbage() 4collectgarbage()
5 5
diff --git a/testes/heavy.lua b/testes/heavy.lua
index 4731c747..3b4e4ce3 100644
--- a/testes/heavy.lua
+++ b/testes/heavy.lua
@@ -1,5 +1,5 @@
1-- $Id: heavy.lua,v 1.7 2017/12/29 15:42:15 roberto Exp $ 1-- $Id: testes/heavy.lua,v $
2-- See Copyright Notice in file all.lua 2-- See Copyright Notice in file lua.h
3 3
4local function teststring () 4local function teststring ()
5 print("creating a string too long") 5 print("creating a string too long")
diff --git a/testes/literals.lua b/testes/literals.lua
index 30ab9ab1..28995718 100644
--- a/testes/literals.lua
+++ b/testes/literals.lua
@@ -1,5 +1,5 @@
1-- $Id: testes/literals.lua $ 1-- $Id: testes/literals.lua $
2-- See Copyright Notice in file all.lua 2-- See Copyright Notice in file lua.h
3 3
4print('testing scanner') 4print('testing scanner')
5 5
diff --git a/testes/locals.lua b/testes/locals.lua
index 910deb8a..ccea0a14 100644
--- a/testes/locals.lua
+++ b/testes/locals.lua
@@ -1,5 +1,5 @@
1-- $Id: testes/locals.lua $ 1-- $Id: testes/locals.lua $
2-- See Copyright Notice in file all.lua 2-- See Copyright Notice in file lua.h
3 3
4print('testing local variables and environments') 4print('testing local variables and environments')
5 5
diff --git a/testes/main.lua b/testes/main.lua
index e0e9cbe8..bf3c898e 100644
--- a/testes/main.lua
+++ b/testes/main.lua
@@ -1,6 +1,6 @@
1# testing special comment on first line 1# testing special comment on first line
2-- $Id: testes/main.lua $ 2-- $Id: testes/main.lua $
3-- See Copyright Notice in file all.lua 3-- See Copyright Notice in file lua.h
4 4
5-- most (all?) tests here assume a reasonable "Unix-like" shell 5-- most (all?) tests here assume a reasonable "Unix-like" shell
6if _port then return end 6if _port then return end
diff --git a/testes/math.lua b/testes/math.lua
index 3937b9ce..bad8bc5e 100644
--- a/testes/math.lua
+++ b/testes/math.lua
@@ -1,5 +1,5 @@
1-- $Id: testes/math.lua $ 1-- $Id: testes/math.lua $
2-- See Copyright Notice in file all.lua 2-- See Copyright Notice in file lua.h
3 3
4print("testing numbers and math lib") 4print("testing numbers and math lib")
5 5
diff --git a/testes/memerr.lua b/testes/memerr.lua
index cb236eb9..77cb47cb 100644
--- a/testes/memerr.lua
+++ b/testes/memerr.lua
@@ -1,5 +1,5 @@
1-- $Id: testes/memerr.lua $ 1-- $Id: testes/memerr.lua $
2-- See Copyright Notice in file all.lua 2-- See Copyright Notice in file lua.h
3 3
4 4
5local function checkerr (msg, f, ...) 5local function checkerr (msg, f, ...)
diff --git a/testes/nextvar.lua b/testes/nextvar.lua
index d1da3cee..031ad3fd 100644
--- a/testes/nextvar.lua
+++ b/testes/nextvar.lua
@@ -1,5 +1,5 @@
1-- $Id: testes/nextvar.lua $ 1-- $Id: testes/nextvar.lua $
2-- See Copyright Notice in file all.lua 2-- See Copyright Notice in file lua.h
3 3
4print('testing tables, next, and for') 4print('testing tables, next, and for')
5 5
diff --git a/testes/pm.lua b/testes/pm.lua
index f5889fcd..2a0cfb0b 100644
--- a/testes/pm.lua
+++ b/testes/pm.lua
@@ -1,5 +1,5 @@
1-- $Id: testes/pm.lua $ 1-- $Id: testes/pm.lua $
2-- See Copyright Notice in file all.lua 2-- See Copyright Notice in file lua.h
3 3
4-- UTF-8 file 4-- UTF-8 file
5 5
diff --git a/testes/sort.lua b/testes/sort.lua
index 290b199e..b0127660 100644
--- a/testes/sort.lua
+++ b/testes/sort.lua
@@ -1,5 +1,5 @@
1-- $Id: testes/sort.lua $ 1-- $Id: testes/sort.lua $
2-- See Copyright Notice in file all.lua 2-- See Copyright Notice in file lua.h
3 3
4print "testing (parts of) table library" 4print "testing (parts of) table library"
5 5
diff --git a/testes/strings.lua b/testes/strings.lua
index 9bb52b35..ce28e4c5 100644
--- a/testes/strings.lua
+++ b/testes/strings.lua
@@ -1,5 +1,5 @@
1-- $Id: testes/strings.lua $ 1-- $Id: testes/strings.lua $
2-- See Copyright Notice in file all.lua 2-- See Copyright Notice in file lua.h
3 3
4-- ISO Latin encoding 4-- ISO Latin encoding
5 5
diff --git a/testes/tpack.lua b/testes/tpack.lua
index 4b32efb5..70386178 100644
--- a/testes/tpack.lua
+++ b/testes/tpack.lua
@@ -1,5 +1,5 @@
1-- $Id: testes/tpack.lua $ 1-- $Id: testes/tpack.lua $
2-- See Copyright Notice in file all.lua 2-- See Copyright Notice in file lua.h
3 3
4local pack = string.pack 4local pack = string.pack
5local packsize = string.packsize 5local packsize = string.packsize
diff --git a/testes/utf8.lua b/testes/utf8.lua
index dc0f2f09..0704782c 100644
--- a/testes/utf8.lua
+++ b/testes/utf8.lua
@@ -1,5 +1,5 @@
1-- $Id: testes/utf8.lua $ 1-- $Id: testes/utf8.lua $
2-- See Copyright Notice in file all.lua 2-- See Copyright Notice in file lua.h
3 3
4-- UTF-8 file 4-- UTF-8 file
5 5
diff --git a/testes/vararg.lua b/testes/vararg.lua
index 1b025102..10553de2 100644
--- a/testes/vararg.lua
+++ b/testes/vararg.lua
@@ -1,5 +1,5 @@
1-- $Id: testes/vararg.lua $ 1-- $Id: testes/vararg.lua $
2-- See Copyright Notice in file all.lua 2-- See Copyright Notice in file lua.h
3 3
4print('testing vararg') 4print('testing vararg')
5 5
diff --git a/testes/verybig.lua b/testes/verybig.lua
index 250ea795..8163802c 100644
--- a/testes/verybig.lua
+++ b/testes/verybig.lua
@@ -1,5 +1,5 @@
1-- $Id: testes/verybig.lua $ 1-- $Id: testes/verybig.lua $
2-- See Copyright Notice in file all.lua 2-- See Copyright Notice in file lua.h
3 3
4print "testing RK" 4print "testing RK"
5 5