blob: acde92b4e9ff8ca6c4e62372781d0e696c805161 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
SUITE: luarocks CLI
================================================================================
TEST: warns but continues if given an invalid version
RUN: luarocks --lua-version 1.0
STDOUT:
--------------------------------------------------------------------------------
Version : 1.0
LUA : (interpreter not found)
--------------------------------------------------------------------------------
================================================================================
TEST: reports if lua.h header is not found
RUN: luarocks LUA_INCDIR=/bad/dir
STDOUT:
--------------------------------------------------------------------------------
LUA_INCDIR : /bad/dir (lua.h not found)
--------------------------------------------------------------------------------
================================================================================
TEST: reports if Lua library is not found
RUN: luarocks LUA_LIBDIR=/bad/dir
STDOUT:
--------------------------------------------------------------------------------
LUA_LIBDIR : /bad/dir (Lua library itself not found)
--------------------------------------------------------------------------------
|