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
|
||||
-- $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"
|
||||
@@ -283,30 +283,3 @@ end
|
||||
|
||||
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 $
|
||||
-- See Copyright Notice in file all.lua
|
||||
-- See Copyright Notice in file lua.h
|
||||
|
||||
if T==nil then
|
||||
(Message or print)('\n >>> testC not active: skipping API tests <<<\n')
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- $Id: testes/attrib.lua $
|
||||
-- See Copyright Notice in file all.lua
|
||||
-- See Copyright Notice in file lua.h
|
||||
|
||||
print "testing require"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- $Id: testes/big.lua $
|
||||
-- See Copyright Notice in file all.lua
|
||||
-- See Copyright Notice in file lua.h
|
||||
|
||||
if _soft then
|
||||
return 'a'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- $Id: testes/bitwise.lua $
|
||||
-- See Copyright Notice in file all.lua
|
||||
-- See Copyright Notice in file lua.h
|
||||
|
||||
print("testing bitwise operations")
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- $Id: testes/calls.lua $
|
||||
-- See Copyright Notice in file all.lua
|
||||
-- See Copyright Notice in file lua.h
|
||||
|
||||
print("testing functions and calls")
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- $Id: testes/closure.lua $
|
||||
-- See Copyright Notice in file all.lua
|
||||
-- See Copyright Notice in file lua.h
|
||||
|
||||
print "testing closures"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- $Id: testes/code.lua $
|
||||
-- See Copyright Notice in file all.lua
|
||||
-- See Copyright Notice in file lua.h
|
||||
|
||||
if T==nil then
|
||||
(Message or print)('\n >>> testC not active: skipping opcode tests <<<\n')
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- $Id: testes/constructs.lua $
|
||||
-- See Copyright Notice in file all.lua
|
||||
-- See Copyright Notice in file lua.h
|
||||
|
||||
;;print "testing syntax";;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- $Id: testes/coroutine.lua $
|
||||
-- See Copyright Notice in file all.lua
|
||||
-- See Copyright Notice in file lua.h
|
||||
|
||||
print "testing coroutines"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- $Id: testes/cstack.lua $
|
||||
-- See Copyright Notice in file all.lua
|
||||
-- See Copyright Notice in file lua.h
|
||||
|
||||
|
||||
local tracegc = require"tracegc"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- $Id: testes/db.lua $
|
||||
-- See Copyright Notice in file all.lua
|
||||
-- See Copyright Notice in file lua.h
|
||||
|
||||
-- testing debug library
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- $Id: testes/errors.lua $
|
||||
-- See Copyright Notice in file all.lua
|
||||
-- See Copyright Notice in file lua.h
|
||||
|
||||
print("testing errors")
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- $Id: testes/events.lua $
|
||||
-- See Copyright Notice in file all.lua
|
||||
-- See Copyright Notice in file lua.h
|
||||
|
||||
print('testing metatables')
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- $Id: testes/files.lua $
|
||||
-- See Copyright Notice in file all.lua
|
||||
-- See Copyright Notice in file lua.h
|
||||
|
||||
local debug = require "debug"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- $Id: testes/gc.lua $
|
||||
-- See Copyright Notice in file all.lua
|
||||
-- See Copyright Notice in file lua.h
|
||||
|
||||
print('testing incremental garbage collection')
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- $Id: testes/gengc.lua $
|
||||
-- See Copyright Notice in file all.lua
|
||||
-- See Copyright Notice in file lua.h
|
||||
|
||||
print('testing generational garbage collection')
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- $Id: testes/goto.lua $
|
||||
-- See Copyright Notice in file all.lua
|
||||
-- See Copyright Notice in file lua.h
|
||||
|
||||
collectgarbage()
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- $Id: heavy.lua,v 1.7 2017/12/29 15:42:15 roberto Exp $
|
||||
-- See Copyright Notice in file all.lua
|
||||
-- $Id: testes/heavy.lua,v $
|
||||
-- See Copyright Notice in file lua.h
|
||||
|
||||
local function teststring ()
|
||||
print("creating a string too long")
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- $Id: testes/literals.lua $
|
||||
-- See Copyright Notice in file all.lua
|
||||
-- See Copyright Notice in file lua.h
|
||||
|
||||
print('testing scanner')
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- $Id: testes/locals.lua $
|
||||
-- See Copyright Notice in file all.lua
|
||||
-- See Copyright Notice in file lua.h
|
||||
|
||||
print('testing local variables and environments')
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# testing special comment on first line
|
||||
-- $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
|
||||
if _port then return end
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- $Id: testes/math.lua $
|
||||
-- See Copyright Notice in file all.lua
|
||||
-- See Copyright Notice in file lua.h
|
||||
|
||||
print("testing numbers and math lib")
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- $Id: testes/memerr.lua $
|
||||
-- See Copyright Notice in file all.lua
|
||||
-- See Copyright Notice in file lua.h
|
||||
|
||||
|
||||
local function checkerr (msg, f, ...)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- $Id: testes/nextvar.lua $
|
||||
-- See Copyright Notice in file all.lua
|
||||
-- See Copyright Notice in file lua.h
|
||||
|
||||
print('testing tables, next, and for')
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- $Id: testes/pm.lua $
|
||||
-- See Copyright Notice in file all.lua
|
||||
-- See Copyright Notice in file lua.h
|
||||
|
||||
-- UTF-8 file
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- $Id: testes/sort.lua $
|
||||
-- See Copyright Notice in file all.lua
|
||||
-- See Copyright Notice in file lua.h
|
||||
|
||||
print "testing (parts of) table library"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- $Id: testes/strings.lua $
|
||||
-- See Copyright Notice in file all.lua
|
||||
-- See Copyright Notice in file lua.h
|
||||
|
||||
-- ISO Latin encoding
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- $Id: testes/tpack.lua $
|
||||
-- See Copyright Notice in file all.lua
|
||||
-- See Copyright Notice in file lua.h
|
||||
|
||||
local pack = string.pack
|
||||
local packsize = string.packsize
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- $Id: testes/utf8.lua $
|
||||
-- See Copyright Notice in file all.lua
|
||||
-- See Copyright Notice in file lua.h
|
||||
|
||||
-- UTF-8 file
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- $Id: testes/vararg.lua $
|
||||
-- See Copyright Notice in file all.lua
|
||||
-- See Copyright Notice in file lua.h
|
||||
|
||||
print('testing vararg')
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- $Id: testes/verybig.lua $
|
||||
-- See Copyright Notice in file all.lua
|
||||
-- See Copyright Notice in file lua.h
|
||||
|
||||
print "testing RK"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user