-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dibyendu Majumdar
committed
Aug 7, 2015
1 parent
418b274
commit c51a424
Showing
4 changed files
with
162 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
LUA=$1 | ||
if [ "$LUA" = "" ] | ||
then | ||
echo "Please pass path to Lua" | ||
exit 1 | ||
fi | ||
|
||
$LUA -e"_U=true" all.lua | ||
if [ $? != 0 ] | ||
then | ||
echo "all.lua interpreted failed" | ||
exit 1 | ||
fi | ||
|
||
$LUA -e"_U=true; ravi.auto(true,1)" all.lua | ||
if [ $? != 0 ] | ||
then | ||
echo "all.lua compiled failed" | ||
exit 1 | ||
fi | ||
|
||
$LUA -e"_U=true; ravi.auto(true)" all.lua | ||
if [ $? != 0 ] | ||
then | ||
echo "all.lua part compiled failed" | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
LUA=$1 | ||
if [ "$LUA" = "" ] | ||
then | ||
echo "Please pass path to Lua" | ||
exit 1 | ||
fi | ||
|
||
$LUA ravi_tests1.ravi | ||
if [ $? != 0 ] | ||
then | ||
echo "ravi_tests1 failed" | ||
exit 1 | ||
fi | ||
|
||
$LUA fornum_test1.lua | ||
if [ $? != 0 ] | ||
then | ||
echo "fornum_test1 failed" | ||
exit 1 | ||
fi | ||
|
||
$LUA fornum_test2.ravi | ||
if [ $? != 0 ] | ||
then | ||
echo "fornum_test2 failed" | ||
exit 1 | ||
fi | ||
|
||
$LUA fornum_test3.lua | ||
if [ $? != 0 ] | ||
then | ||
echo "fornum_test3 failed" | ||
exit 1 | ||
fi | ||
|
||
$LUA mandel1.ravi | ||
if [ $? != 0 ] | ||
then | ||
echo "mandel1 failed" | ||
exit 1 | ||
fi | ||
|
||
$LUA fannkuchen.ravi | ||
if [ $? != 0 ] | ||
then | ||
echo "fannkuchen failed" | ||
exit 1 | ||
fi | ||
|
||
$LUA matmul1.ravi | ||
if [ $? != 0 ] | ||
then | ||
echo "matmul1 failed" | ||
exit 1 | ||
fi | ||
|
||
$LUA basics.lua | ||
if [ $? != 0 ] | ||
then | ||
echo "basics failed" | ||
exit 1 | ||
fi | ||
|
||
$LUA bitwise_tests.lua | ||
if [ $? != 0 ] | ||
then | ||
echo "bitwise failed" | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters