diff options
author | Emil Renner Berthing <esmil@mailme.dk> | 2012-12-18 18:44:14 +0100 |
---|---|---|
committer | Emil Renner Berthing <esmil@mailme.dk> | 2012-12-18 18:44:14 +0100 |
commit | f208c209d86d7c5459488c96ba5d6c4d9aac3333 (patch) | |
tree | 5932992326c336ceae58cf0e2a886763bf8a63a5 | |
parent | 86ccbbee7d038bcd9dfa2eb56551a383d84b908a (diff) | |
download | lem-f208c209d86d7c5459488c96ba5d6c4d9aac3333.tar.gz lem-f208c209d86d7c5459488c96ba5d6c4d9aac3333.tar.xz lem-f208c209d86d7c5459488c96ba5d6c4d9aac3333.zip |
test: use the libraries we just compiled
-rwxr-xr-x | test/ctest.lua | 3 | ||||
-rwxr-xr-x | test/fread.lua | 3 | ||||
-rwxr-xr-x | test/fwrite.lua | 3 | ||||
-rwxr-xr-x | test/htest.lua | 3 | ||||
-rwxr-xr-x | test/httptest.lua | 3 | ||||
-rwxr-xr-x | test/lfs.lua | 3 | ||||
-rwxr-xr-x | test/multiplexing.lua | 3 | ||||
-rwxr-xr-x | test/sleep.lua | 3 | ||||
-rwxr-xr-x | test/stest.lua | 3 | ||||
-rwxr-xr-x | test/test.lua | 3 | ||||
-rwxr-xr-x | test/test2.lua | 5 |
11 files changed, 34 insertions, 1 deletions
diff --git a/test/ctest.lua b/test/ctest.lua index b7d87f5..adf117e 100755 --- a/test/ctest.lua +++ b/test/ctest.lua @@ -19,6 +19,9 @@ print('Entered ' .. arg[0]) +package.path = '?.lua' +package.cpath = '?.so' + local utils = require 'lem.utils' local io = require 'lem.io' diff --git a/test/fread.lua b/test/fread.lua index 7193532..162bb88 100755 --- a/test/fread.lua +++ b/test/fread.lua @@ -17,6 +17,9 @@ -- along with LEM. If not, see <http://www.gnu.org/licenses/>. -- +package.path = '?.lua' +package.cpath = '?.so' + local utils = require 'lem.utils' local io = require 'lem.io' diff --git a/test/fwrite.lua b/test/fwrite.lua index 5a2c9f1..d0be0bb 100755 --- a/test/fwrite.lua +++ b/test/fwrite.lua @@ -17,6 +17,9 @@ -- along with LEM. If not, see <http://www.gnu.org/licenses/>. -- +package.path = '?.lua' +package.cpath = '?.so' + local utils = require 'lem.utils' local io = require 'lem.io' diff --git a/test/htest.lua b/test/htest.lua index 4272118..898a5a4 100755 --- a/test/htest.lua +++ b/test/htest.lua @@ -17,6 +17,9 @@ -- along with LEM. If not, see <http://www.gnu.org/licenses/>. -- +package.path = '?.lua' +package.cpath = '?.so' + local utils = require 'lem.utils' local hathaway = require 'lem.hathaway' hathaway.import() diff --git a/test/httptest.lua b/test/httptest.lua index 0dea30c..5642c0b 100755 --- a/test/httptest.lua +++ b/test/httptest.lua @@ -17,6 +17,9 @@ -- along with LEM. If not, see <http://www.gnu.org/licenses/>. -- +package.path = '?.lua' +package.cpath = '?.so' + local utils = require 'lem.utils' local io = require 'lem.io' local http = require 'lem.http' diff --git a/test/lfs.lua b/test/lfs.lua index 0f084fa..312a739 100755 --- a/test/lfs.lua +++ b/test/lfs.lua @@ -17,6 +17,9 @@ -- along with LEM. If not, see <http://www.gnu.org/licenses/>. -- +package.path = '?.lua' +package.cpath = '?.so' + local utils = require 'lem.utils' local io = require 'lem.io' local lfs = require 'lem.lfs' diff --git a/test/multiplexing.lua b/test/multiplexing.lua index d66d710..5123e0b 100755 --- a/test/multiplexing.lua +++ b/test/multiplexing.lua @@ -17,6 +17,9 @@ -- along with LEM. If not, see <http://www.gnu.org/licenses/>. -- +package.path = '?.lua' +package.cpath = '?.so' + local utils = require 'lem.utils' local io = require 'lem.io' local queue = require 'lem.io.queue' diff --git a/test/sleep.lua b/test/sleep.lua index ae1ee49..a5c41b0 100755 --- a/test/sleep.lua +++ b/test/sleep.lua @@ -17,6 +17,9 @@ -- along with LEM. If not, see <http://www.gnu.org/licenses/>. -- +package.path = '?.lua' +package.cpath = '?.so' + local utils = require 'lem.utils' local sum, coros, n = 0, 0, 0 diff --git a/test/stest.lua b/test/stest.lua index e9499a1..78c3406 100755 --- a/test/stest.lua +++ b/test/stest.lua @@ -19,6 +19,9 @@ print('Entered ' .. arg[0]) +package.path = '?.lua' +package.cpath = '?.so' + local utils = require 'lem.utils' local io = require 'lem.io' diff --git a/test/test.lua b/test/test.lua index c2457e9..206e79c 100755 --- a/test/test.lua +++ b/test/test.lua @@ -17,6 +17,9 @@ -- along with LEM. If not, see <http://www.gnu.org/licenses/>. -- +package.path = '?.lua' +package.cpath = '?.so' + local utils = require 'lem.utils' local function sleep(n) diff --git a/test/test2.lua b/test/test2.lua index 29d30f5..3bac703 100755 --- a/test/test2.lua +++ b/test/test2.lua @@ -17,7 +17,10 @@ -- along with LEM. If not, see <http://www.gnu.org/licenses/>. -- -print 'Entered test.lua' +print('Entered ' .. arg[0]) + +package.path = '?.lua' +package.cpath = '?.so' local utils = require 'lem.utils' |