Removed copyright notice from 'testes/all.lua'
All test files refer to the main copyright notice in 'lua.h'.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!../lua
|
#!../lua
|
||||||
-- $Id: testes/all.lua $
|
-- $Id: testes/all.lua $
|
||||||
-- See Copyright Notice at the end of this file
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
|
|
||||||
local version = "Lua 5.5"
|
local version = "Lua 5.5"
|
||||||
@@ -283,30 +283,3 @@ end
|
|||||||
|
|
||||||
print("final OK !!!")
|
print("final OK !!!")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
--[[
|
|
||||||
*****************************************************************************
|
|
||||||
* Copyright (C) 1994-2016 Lua.org, PUC-Rio.
|
|
||||||
*
|
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining
|
|
||||||
* a copy of this software and associated documentation files (the
|
|
||||||
* "Software"), to deal in the Software without restriction, including
|
|
||||||
* without limitation the rights to use, copy, modify, merge, publish,
|
|
||||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
|
||||||
* permit persons to whom the Software is furnished to do so, subject to
|
|
||||||
* the following conditions:
|
|
||||||
*
|
|
||||||
* The above copyright notice and this permission notice shall be
|
|
||||||
* included in all copies or substantial portions of the Software.
|
|
||||||
*
|
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
*****************************************************************************
|
|
||||||
]]
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- $Id: testes/api.lua $
|
-- $Id: testes/api.lua $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
if T==nil then
|
if T==nil then
|
||||||
(Message or print)('\n >>> testC not active: skipping API tests <<<\n')
|
(Message or print)('\n >>> testC not active: skipping API tests <<<\n')
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- $Id: testes/attrib.lua $
|
-- $Id: testes/attrib.lua $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
print "testing require"
|
print "testing require"
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- $Id: testes/big.lua $
|
-- $Id: testes/big.lua $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
if _soft then
|
if _soft then
|
||||||
return 'a'
|
return 'a'
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- $Id: testes/bitwise.lua $
|
-- $Id: testes/bitwise.lua $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
print("testing bitwise operations")
|
print("testing bitwise operations")
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- $Id: testes/calls.lua $
|
-- $Id: testes/calls.lua $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
print("testing functions and calls")
|
print("testing functions and calls")
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- $Id: testes/closure.lua $
|
-- $Id: testes/closure.lua $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
print "testing closures"
|
print "testing closures"
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- $Id: testes/code.lua $
|
-- $Id: testes/code.lua $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
if T==nil then
|
if T==nil then
|
||||||
(Message or print)('\n >>> testC not active: skipping opcode tests <<<\n')
|
(Message or print)('\n >>> testC not active: skipping opcode tests <<<\n')
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- $Id: testes/constructs.lua $
|
-- $Id: testes/constructs.lua $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
;;print "testing syntax";;
|
;;print "testing syntax";;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- $Id: testes/coroutine.lua $
|
-- $Id: testes/coroutine.lua $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
print "testing coroutines"
|
print "testing coroutines"
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- $Id: testes/cstack.lua $
|
-- $Id: testes/cstack.lua $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
|
|
||||||
local tracegc = require"tracegc"
|
local tracegc = require"tracegc"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- $Id: testes/db.lua $
|
-- $Id: testes/db.lua $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
-- testing debug library
|
-- testing debug library
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- $Id: testes/errors.lua $
|
-- $Id: testes/errors.lua $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
print("testing errors")
|
print("testing errors")
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- $Id: testes/events.lua $
|
-- $Id: testes/events.lua $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
print('testing metatables')
|
print('testing metatables')
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- $Id: testes/files.lua $
|
-- $Id: testes/files.lua $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
local debug = require "debug"
|
local debug = require "debug"
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- $Id: testes/gc.lua $
|
-- $Id: testes/gc.lua $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
print('testing incremental garbage collection')
|
print('testing incremental garbage collection')
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- $Id: testes/gengc.lua $
|
-- $Id: testes/gengc.lua $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
print('testing generational garbage collection')
|
print('testing generational garbage collection')
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- $Id: testes/goto.lua $
|
-- $Id: testes/goto.lua $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
collectgarbage()
|
collectgarbage()
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- $Id: heavy.lua,v 1.7 2017/12/29 15:42:15 roberto Exp $
|
-- $Id: testes/heavy.lua,v $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
local function teststring ()
|
local function teststring ()
|
||||||
print("creating a string too long")
|
print("creating a string too long")
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- $Id: testes/literals.lua $
|
-- $Id: testes/literals.lua $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
print('testing scanner')
|
print('testing scanner')
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- $Id: testes/locals.lua $
|
-- $Id: testes/locals.lua $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
print('testing local variables and environments')
|
print('testing local variables and environments')
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# testing special comment on first line
|
# testing special comment on first line
|
||||||
-- $Id: testes/main.lua $
|
-- $Id: testes/main.lua $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
-- most (all?) tests here assume a reasonable "Unix-like" shell
|
-- most (all?) tests here assume a reasonable "Unix-like" shell
|
||||||
if _port then return end
|
if _port then return end
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- $Id: testes/math.lua $
|
-- $Id: testes/math.lua $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
print("testing numbers and math lib")
|
print("testing numbers and math lib")
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- $Id: testes/memerr.lua $
|
-- $Id: testes/memerr.lua $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
|
|
||||||
local function checkerr (msg, f, ...)
|
local function checkerr (msg, f, ...)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- $Id: testes/nextvar.lua $
|
-- $Id: testes/nextvar.lua $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
print('testing tables, next, and for')
|
print('testing tables, next, and for')
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- $Id: testes/pm.lua $
|
-- $Id: testes/pm.lua $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
-- UTF-8 file
|
-- UTF-8 file
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- $Id: testes/sort.lua $
|
-- $Id: testes/sort.lua $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
print "testing (parts of) table library"
|
print "testing (parts of) table library"
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- $Id: testes/strings.lua $
|
-- $Id: testes/strings.lua $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
-- ISO Latin encoding
|
-- ISO Latin encoding
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- $Id: testes/tpack.lua $
|
-- $Id: testes/tpack.lua $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
local pack = string.pack
|
local pack = string.pack
|
||||||
local packsize = string.packsize
|
local packsize = string.packsize
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- $Id: testes/utf8.lua $
|
-- $Id: testes/utf8.lua $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
-- UTF-8 file
|
-- UTF-8 file
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- $Id: testes/vararg.lua $
|
-- $Id: testes/vararg.lua $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
print('testing vararg')
|
print('testing vararg')
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- $Id: testes/verybig.lua $
|
-- $Id: testes/verybig.lua $
|
||||||
-- See Copyright Notice in file all.lua
|
-- See Copyright Notice in file lua.h
|
||||||
|
|
||||||
print "testing RK"
|
print "testing RK"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user