summaryrefslogtreecommitdiffstats
path: root/modules/lua/docs/running-developer-tests.txt
blob: 59eb990fc2d3405b9b92fe1977f900ebfaaa9005 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
-*- mode:org -*-
* Building mod_lua
  The first step is to build mod_lua per the instructions in
  building-from-subversion.txt.

* Build and install LuaSocket
    http://www.cs.princeton.edu/~diego/professional/luasocket/
    FreeBSD: /usr/ports/net/luasocket

* Running Tests
  1. Replace apache's httpd.conf with test/test_httpd.conf
  2. Customize the new httpd.conf to match your directories
  3. Finally, to run the tests, start apache and run:
     $ cd test
     $ lua ./test.lua
     FreeBSD: lua-5.1 ./test.lua