[asterisk-commits] mnicholson: testsuite/asterisk/trunk r446 - in /asterisk/trunk: asttest/ lib/sh/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jul 1 09:06:59 CDT 2010
Author: mnicholson
Date: Thu Jul 1 09:06:56 2010
New Revision: 446
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=446
Log:
Added lua.sh to set proper values for LUA_PATH and LUA_CPATH automatically and updated asttest/README to incorporate this new file. It should now be possible to use the same run-test script for every asttest based test.
Added:
asterisk/trunk/lib/sh/
asterisk/trunk/lib/sh/lua.sh (with props)
Modified:
asterisk/trunk/asttest/README
Modified: asterisk/trunk/asttest/README
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/asttest/README?view=diff&rev=446&r1=445&r2=446
==============================================================================
--- asterisk/trunk/asttest/README (original)
+++ asterisk/trunk/asttest/README Thu Jul 1 09:06:56 2010
@@ -61,8 +61,7 @@
used.
#!/bin/bash -e
-export LUA_PATH=../../lib/lua/?.lua\;\;
-export LUA_CPATH=../../lib/lua/?.so\;\;
+. lib/sh/lua.sh
asttest -a / -s `dirname $0` $@
The -a option indicates the location of the asterisk installation to use for
Added: asterisk/trunk/lib/sh/lua.sh
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/lib/sh/lua.sh?view=auto&rev=446
==============================================================================
--- asterisk/trunk/lib/sh/lua.sh (added)
+++ asterisk/trunk/lib/sh/lua.sh Thu Jul 1 09:06:56 2010
@@ -1,0 +1,2 @@
+export LUA_PATH="${PWD}/lib/lua/?.lua;;"
+export LUA_CPATH="${PWD}/lib/lua/?.so;;"
Propchange: asterisk/trunk/lib/sh/lua.sh
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: asterisk/trunk/lib/sh/lua.sh
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: asterisk/trunk/lib/sh/lua.sh
------------------------------------------------------------------------------
svn:mime-type = text/plain
More information about the asterisk-commits
mailing list