diff options
Diffstat (limited to 'testes/all.lua')
-rwxr-xr-x[-rw-r--r--] | testes/all.lua | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testes/all.lua b/testes/all.lua index 5c7ebfa5..d3e2f123 100644..100755 --- a/testes/all.lua +++ b/testes/all.lua | |||
@@ -2,6 +2,10 @@ | |||
2 | -- $Id: testes/all.lua $ | 2 | -- $Id: testes/all.lua $ |
3 | -- See Copyright Notice in file lua.h | 3 | -- See Copyright Notice in file lua.h |
4 | 4 | ||
5 | global <const> * | ||
6 | |||
7 | global _soft, _port, _nomsg | ||
8 | global T | ||
5 | 9 | ||
6 | local version = "Lua 5.5" | 10 | local version = "Lua 5.5" |
7 | if _VERSION ~= version then | 11 | if _VERSION ~= version then |
@@ -34,7 +38,7 @@ if usertests then | |||
34 | end | 38 | end |
35 | 39 | ||
36 | -- tests should require debug when needed | 40 | -- tests should require debug when needed |
37 | debug = nil | 41 | global debug; debug = nil |
38 | 42 | ||
39 | 43 | ||
40 | if usertests then | 44 | if usertests then |
@@ -71,7 +75,7 @@ do -- ( | |||
71 | 75 | ||
72 | -- track messages for tests not performed | 76 | -- track messages for tests not performed |
73 | local msgs = {} | 77 | local msgs = {} |
74 | function Message (m) | 78 | global function Message (m) |
75 | if not _nomsg then | 79 | if not _nomsg then |
76 | print(m) | 80 | print(m) |
77 | msgs[#msgs+1] = string.sub(m, 3, -3) | 81 | msgs[#msgs+1] = string.sub(m, 3, -3) |