diff options
-rw-r--r-- | testes/all.lua | 29 | ||||
-rw-r--r-- | testes/api.lua | 2 | ||||
-rw-r--r-- | testes/attrib.lua | 2 | ||||
-rw-r--r-- | testes/big.lua | 2 | ||||
-rw-r--r-- | testes/bitwise.lua | 2 | ||||
-rw-r--r-- | testes/calls.lua | 2 | ||||
-rw-r--r-- | testes/closure.lua | 2 | ||||
-rw-r--r-- | testes/code.lua | 2 | ||||
-rw-r--r-- | testes/constructs.lua | 2 | ||||
-rw-r--r-- | testes/coroutine.lua | 2 | ||||
-rw-r--r-- | testes/cstack.lua | 2 | ||||
-rw-r--r-- | testes/db.lua | 2 | ||||
-rw-r--r-- | testes/errors.lua | 2 | ||||
-rw-r--r-- | testes/events.lua | 2 | ||||
-rw-r--r-- | testes/files.lua | 2 | ||||
-rw-r--r-- | testes/gc.lua | 2 | ||||
-rw-r--r-- | testes/gengc.lua | 2 | ||||
-rw-r--r-- | testes/goto.lua | 2 | ||||
-rw-r--r-- | testes/heavy.lua | 4 | ||||
-rw-r--r-- | testes/literals.lua | 2 | ||||
-rw-r--r-- | testes/locals.lua | 2 | ||||
-rw-r--r-- | testes/main.lua | 2 | ||||
-rw-r--r-- | testes/math.lua | 2 | ||||
-rw-r--r-- | testes/memerr.lua | 2 | ||||
-rw-r--r-- | testes/nextvar.lua | 2 | ||||
-rw-r--r-- | testes/pm.lua | 2 | ||||
-rw-r--r-- | testes/sort.lua | 2 | ||||
-rw-r--r-- | testes/strings.lua | 2 | ||||
-rw-r--r-- | testes/tpack.lua | 2 | ||||
-rw-r--r-- | testes/utf8.lua | 2 | ||||
-rw-r--r-- | testes/vararg.lua | 2 | ||||
-rw-r--r-- | testes/verybig.lua | 2 |
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 | ||
6 | local version = "Lua 5.5" | 6 | local version = "Lua 5.5" |
@@ -283,30 +283,3 @@ end | |||
283 | 283 | ||
284 | print("final OK !!!") | 284 | print("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 | ||
4 | if T==nil then | 4 | if 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 | ||
4 | print "testing require" | 4 | print "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 | ||
4 | if _soft then | 4 | if _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 | ||
4 | print("testing bitwise operations") | 4 | print("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 | ||
4 | print("testing functions and calls") | 4 | print("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 | ||
4 | print "testing closures" | 4 | print "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 | ||
4 | if T==nil then | 4 | if 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 | ||
4 | print "testing coroutines" | 4 | print "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 | ||
5 | local tracegc = require"tracegc" | 5 | local 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 | ||
4 | print("testing errors") | 4 | print("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 | ||
4 | print('testing metatables') | 4 | print('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 | ||
4 | local debug = require "debug" | 4 | local 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 | ||
4 | print('testing incremental garbage collection') | 4 | print('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 | ||
4 | print('testing generational garbage collection') | 4 | print('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 | ||
4 | collectgarbage() | 4 | collectgarbage() |
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 | ||
4 | local function teststring () | 4 | local 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 | ||
4 | print('testing scanner') | 4 | print('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 | ||
4 | print('testing local variables and environments') | 4 | print('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 |
6 | if _port then return end | 6 | if _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 | ||
4 | print("testing numbers and math lib") | 4 | print("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 | ||
5 | local function checkerr (msg, f, ...) | 5 | local 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 | ||
4 | print('testing tables, next, and for') | 4 | print('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 | ||
4 | print "testing (parts of) table library" | 4 | print "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 | ||
4 | local pack = string.pack | 4 | local pack = string.pack |
5 | local packsize = string.packsize | 5 | local 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 | ||
4 | print('testing vararg') | 4 | print('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 | ||
4 | print "testing RK" | 4 | print "testing RK" |
5 | 5 | ||