Commit e91405fa authored by Vinicius Jarina's avatar Vinicius Jarina
Browse files

Fixed tests on Linux/OSX.

parent 2271a771
#!/bin/sh
# If you have mono x86 installed on a amd64 linux.
#export CFLAGS=-m32
#export CXXFLAGS=-m32
#export LDFLAGS=-m32
#export LD_LIBRARY_PATH=$PWD/external/lua/linux/lib64
cd Core/KeraLua/
make -f Makefile.Linux
xbuild KeraLua.sln /p:Configuration=Release
cd ../../
xbuild LuaInterface.sln /p:Configuration=Release
export LD_LIBRARY_PATH=$PWD/Core/KeraLua/external/lua/linux/lib
cd tests/
nunit-console LuaInterfaceTest.dll
#!/bin/sh
cd Core/KeraLua
make -f Makefile.OSX
xbuild KeraLua.sln /p:Configuration=Release
cd ../../
cp Core/KeraLua/external/lua/osx/lib/liblua51.dylib tests/liblua51.dylib
cd tests/
nunit-console LuaInterfaceTest.dll
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment